Пример #1
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            ClassBerserker berserker = player.GetModPlayer <ClassBerserker>();

            berserker.BerserkerDamage += 0.10f;
            berserker.BerserkerCrit   += 10;
        }
Пример #2
0
 public override void GetWeaponCrit(Player player, ref int crit)
 {
     crit += ClassBerserker.ModPlayer(player).BerserkerCrit;
 }
Пример #3
0
 public override void GetWeaponKnockback(Player player, ref float knockback)
 {
     knockback += ClassBerserker.ModPlayer(player).BerserkerKnockback;
 }
Пример #4
0
 public override void ModifyWeaponDamage(Player player, ref float add, ref float mult, ref float flat)
 {
     add += ClassBerserker.ModPlayer(player).BerserkerDamage;
 }