public override void UpdateEquip(Player player) { STAANOPlayer modPlayer = player.GetModPlayer <STAANOPlayer>(); modPlayer.IncAllDamage(0.05f); modPlayer.IncAllCrit(5); }
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; }