public override void GetWeaponCrit(Player player, ref int crit) { if (IsMagic() == false) { crit = crit + KnifeDamagePlayer.ModPlayer(player).KnifeCrit; } }
public override void GetWeaponKnockback(Player player, ref float knockback) { if (IsMagic() == false) { knockback = knockback + KnifeDamagePlayer.ModPlayer(player).KnifeKnockback; } }
public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat) { if (IsMagic() == false) { add += KnifeDamagePlayer.ModPlayer(player).knifeDamageAdd; mult *= KnifeDamagePlayer.ModPlayer(player).knifeDamageMult; } }
public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat) { add += (KnifeSupportDamagePlayer.KnifeDamagePlayer(player).knifeSupportDamageAdd *KnifeDamagePlayer.ModPlayer(player).knifeDamageAdd); mult *= (KnifeSupportDamagePlayer.KnifeDamagePlayer(player).knifeSupportDamageMult *(KnifeDamagePlayer.ModPlayer(player).knifeDamageMult)); }