示例#1
0
        public override void Update(Player player, ref int buffIndex)
        {
            player.thrownDamage -= 0.15f;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().ancientAleBuff = true;
        }
示例#2
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            player.statDefense += 8;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            modPlayer.sunkenCrownEffect = true;
        }
        public override void UpdateArmorSet(Player player)
        {
            player.setBonus = "Upon striking an enemy, you are granted the Sovereign's Power buff."
                              + "\nThis buff provides a variety of melee, magic and defense bonuses for a short time."
                              + "\nThis buff has a cooldown of 30 seconds.";
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().fallenRoyaltySetBonus = true;
        }
示例#4
0
        public override void Update(Player player, ref int buffIndex)
        {
            int DustID2 = Dust.NewDust(player.position, player.width, player.height + 2, mod.DustType("CosmicDust"), player.velocity.X * 0.1f, player.velocity.Y * 0.1f, 20, default(Color), 1.5f);

            Main.dust[DustID2].noGravity = true;
            Main.dust[DustID2].scale     = 0.8f;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().cosmicRevivalCooldown = true;
        }
示例#5
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            player.meleeDamage  += .08f;
            player.thrownDamage += .08f;
            player.rangedDamage += .08f;
            player.magicDamage  += .08f;
            player.minionDamage += .08f;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            modPlayer.cosmicRevival = true;
        }
示例#6
0
        public override void UpdateArmorSet(Player player)
        {
            player.setBonus = "12% increased magic damage"
                              + "\n7% increased magic crit chance"
                              + "\nYou will gain Mana when you are struck.";
            player.magicDamage += 0.12f;
            player.magicCrit   += 7;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().cosmicManaRegen = true;
        }
示例#7
0
        public override void UpdateArmorSet(Player player)
        {
            player.setBonus = "Increases minion damage by 15%"
                              + "\nIncreases your max number of minions by 2"
                              + "\nYou will gain the 'Cosmic Escapee' buff when you are struck.";
            player.minionDamage += 0.15f;
            player.maxMinions++;
            player.maxMinions++;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().cosmicEscapeeEffect = true;
        }
示例#8
0
 public override void UpdateArmorSet(Player player)
 {
     player.setBonus = "Movement speed increased by 15%"
                       + "\nUpon reaching 25% Health, you burst into flames with great stat boosts"
                       + "\nand cause all attacks by you to inflict Dracarnium Flames. However you lose 10 defense.";
     player.moveSpeed += 0.15f;
     if (player.statLife <= player.statLifeMax * 0.25f)
     {
         player.AddBuff(mod.BuffType("DracarniumInfusion"), 60);
         SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");
         player.GetModPlayer <SModPlayer>().dracarniumInfusion = true;
     }
 }
示例#9
0
        public override void UpdateArmorSet(Player player)
        {
            player.statLifeMax2 += 50;
            player.setBonus      = "You have embraced darkness. All attacks inflict 'Horror Hemorrhage', Powerful Thorns effect, All damage boosted by 25%.";
            player.thorns        = 1f;
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().behemothEffect = true;
            player.meleeDamage  += 0.25f;
            player.thrownDamage += 0.25f;
            player.rangedDamage += 0.25f;
            player.magicDamage  += 0.25f;
            player.minionDamage += 0.25f;
        }
示例#10
0
        public override void Update(Player player, ref int buffIndex)
        {
            player.meleeCrit    += 5;
            player.meleeDamage  += 0.05f;
            player.magicCrit    += 5;
            player.magicDamage  += 0.05f;
            player.rangedCrit   += 5;
            player.rangedDamage += 0.05f;
            player.minionDamage += 0.15f;

            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            modPlayer.ire  = true;
            player.thorns += 0.28f;
        }
        public override void Update(Player player, ref int buffIndex)
        {
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().ancientAleBuffCoolDown = true;
        }
示例#12
0
        public override void UpdateAccessory(Player player, bool hideVisual)
        {
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().harasserHeal = true;
        }
        public override void Update(Player player, ref int buffIndex)
        {
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().kingPowerCooldown = true;
        }
        public override void Update(Player player, ref int buffIndex)
        {
            SModPlayer modPlayer = (SModPlayer)player.GetModPlayer(mod, "SModPlayer");

            player.GetModPlayer <SModPlayer>().freakyCritCoolDown = true;
        }