Beispiel #1
0
 public override void GetWeaponCrit(Player player, ref int crit)
 {
     if (IsMagic() == false)
     {
         crit = crit + KnifeDamagePlayer.ModPlayer(player).KnifeCrit;
     }
 }
Beispiel #2
0
 public override void GetWeaponKnockback(Player player, ref float knockback)
 {
     if (IsMagic() == false)
     {
         knockback = knockback + KnifeDamagePlayer.ModPlayer(player).KnifeKnockback;
     }
 }
Beispiel #3
0
 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));
 }