Exemplo n.º 1
0
 public override void GetWeaponKnockback(Player player, ref float knockback)
 {
     // Adds knockback bonuses
     knockback += TraperPlayer.ModPlayer(player).TraperKnockback;
 }
Exemplo n.º 2
0
 public override void GetWeaponCrit(Player player, ref int crit)
 {
     // Adds crit bonuses
     crit += TraperPlayer.ModPlayer(player).TraperCrit;
 }
Exemplo n.º 3
0
 public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat)
 {
     add  += TraperPlayer.ModPlayer(player).TraperDamageAdd;
     mult *= TraperPlayer.ModPlayer(player).TraperDamageMult;
 }