Garry's Mod

Garry's Mod

415 个评价
Critical Hits
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐
文件大小
发表于
1.218 KB
2016 年 1 月 16 日 上午 10:37
1 项改动说明 ( 查看 )

订阅以下载
Critical Hits

描述
Random critical hits somewhat akin to TF2.

ConVars:
crits: (0/1) Enables or disables critical hits
crits_rate: (0-1) How often players should randomly crit
crits_desperation: (0-1) How much higher a chance a player should have to crit at low health
crits_multiplier: (0<) How much more damage to deal when a player crits
crits_weaponcolor: (0/1) Whether or not to use the player's weapon color as the effect color

Hooks (for developers):
ModifyCriticalRate( attacker, inflictor, default_rate ), returns a number between 0 and 1