Esempio n. 1
0
        public override void UpdateEquip(Player player)
        {
            HunterDamagePlayer.ModPlayer(player).hunterDamageMult += 0.30f;
            MPlayer mp = player.GetModPlayer <MPlayer>();

            mp.visorGlow       = true;
            player.nightVision = true;
            player.gills       = true;
        }
        public override void UpdateEquip(Player player)
        {
            HunterDamagePlayer.ModPlayer(player).hunterDamageMult += 0.10f;
            player.nightVision = true;
            MPlayer mp = player.GetModPlayer <MPlayer>();

            mp.breathMult = 1.3f;
            mp.visorGlow  = true;
        }
Esempio n. 3
0
        public override void ModifyHitPvp(Player target, ref int damage, ref bool crit)
        {
            Player player = Main.player[projectile.owner];

            if (hunter && Main.rand.Next(1, 101) <= HunterDamagePlayer.ModPlayer(player).hunterCrit + player.inventory[player.selectedItem].crit)
            {
                crit = true;
            }
        }