コード例 #1
0
 public override void GetWeaponKnockback(Player player, ref float knockback)
 {
     // Adds knockback bonuses
     knockback += TheNinjaModPlayer.ModPlayer(player).AssassinKnockback;
 }
コード例 #2
0
 public override void GetWeaponCrit(Player player, ref int crit)
 {
     // Adds crit bonuses
     crit += TheNinjaModPlayer.ModPlayer(player).AssassinCrit;
 }
コード例 #3
0
 public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat)
 {
     add  += TheNinjaModPlayer.ModPlayer(player).AssassinDamageAdd;
     mult *= TheNinjaModPlayer.ModPlayer(player).AssassinDamageMult;
 }