Esempio n. 1
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            KnifeDamagePlayer modPlayer = KnifeDamagePlayer.ModPlayer(player);

            modPlayer.knifeDamageMult += 0.2f;
            crafted = true;
        }
Esempio n. 2
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            KnifeDamagePlayer modPlayer = KnifeDamagePlayer.ModPlayer(player);

            modPlayer.KnifeCrit += 8;
            player.magicCrit    += 8;
            player.meleeCrit    += 8;
            player.thrownCrit   += 8;
            player.rangedCrit   += 8;
        }
Esempio n. 3
0
        public override void Update(Player player, ref int buffIndex)
        {
            KnifeDamagePlayer p = KnifeDamagePlayer.ModPlayer(player);

            if (Main.rand.Next(50) == 5)
            {
                p.KnifeDamage = p.KnifeDamage * 10;
            }
            p.KnifeCrit = (int)(p.KnifeCrit * .01);
        }
Esempio n. 4
0
        public override void Update(Player player, ref int buffIndex)
        {
            KnifeDamagePlayer p = KnifeDamagePlayer.ModPlayer(player);

            if (Main.rand.Next(50) == 5)
            {
                p.KnifeDamage = p.KnifeDamage * Main.rand.Next(1, 4);
            }
            p.KnifeCrit = (int)(p.KnifeCrit * .01);
            player.GetModPlayer <VampPlayer>().ShroomiteBuff = true;
        }
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            KnifeDamagePlayer modPlayer = KnifeDamagePlayer.ModPlayer(player);

            modPlayer.KnifeCrit += 15;
        }