public override void Update(Player player, ref int buffIndex)
        {
            player.buffTime[buffIndex] = 18000;
            TruePlayer tru = player.GetModPlayer <TruePlayer>(mod);

            tru.asteroidBelt = true;
        }
Esempio n. 2
0
        public override void Update(Player player, ref int buffIndex)
        {
            player.buffTime[buffIndex] = 18000;
            TruePlayer tru = player.GetModPlayer <TruePlayer>(mod);

            tru.cometBlast = true;

            if (tru.updateTime % 30 == 0)
            {
                Description.SetDefault("Damage multiplier - x" + (tru.poisonLevel * 100.0f) + "%");
            }
        }
Esempio n. 3
0
        public override void Update(Player player, ref int buffIndex)
        {
            TruePlayer modPlayer = player.GetModPlayer <TruePlayer>(mod);

            if (player.ownedProjectileCounts[mod.ProjectileType("AntyMinion")] > 0)
            {
                modPlayer.antyMinion = true;
            }
            if (!modPlayer.antyMinion)
            {
                player.DelBuff(buffIndex);
                buffIndex--;
            }
            else
            {
                player.buffTime[buffIndex] = 18000;
            }
        }