예제 #1
0
        public override void UpdateEquip(Player player)
        {
            STAANOPlayer modPlayer = player.GetModPlayer <STAANOPlayer>();

            modPlayer.IncAllDamage(0.05f);
            modPlayer.IncAllCrit(5);
        }
예제 #2
0
        public override void UpdateArmorSet(Player player)
        {
            STAANOPlayer modPlayer = player.GetModPlayer <STAANOPlayer>();

            player.setBonus = "Immune to Peril Corrosion\n5% increased damage\nYour attacks have a chance to inflict Peril Acid";
            modPlayer.IncAllDamage(0.05f);
            modPlayer.perilSet = true;
            player.buffImmune[mod.BuffType("PerilCorrosion")] = true;
        }