Exemplo n.º 1
0
 public override void GetWeaponKnockback(Player player, ref float knockback)
 {
     knockback = knockback + ExampleDamagePlayer.ModPlayer(player).chemicalKnockback;
 }
Exemplo n.º 2
0
 public override void GetWeaponCrit(Player player, ref int crit)
 {
     crit = crit + ExampleDamagePlayer.ModPlayer(player).chemicalCrit;
 }
Exemplo n.º 3
0
 public override void GetWeaponDamage(Player player, ref int damage)
 {
     damage = (int)(damage * ExampleDamagePlayer.ModPlayer(player).chemicalDamage + 5E-06f);
 }