Advertisement
Guest User

Untitled

a guest
Apr 6th, 2021
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.59 KB | None | 0 0
  1.  public override void PostUpdateEquips()
  2.         {
  3.            
  4.                 if (player.armor[0].type == ItemID.GoldHelmet && player.armor[1].type == ItemID.GoldChainmail && player.armor[2].type == ItemID.GoldGreaves)
  5.                 {
  6.                     player.statDefense -= 3; // cancel out the vanilla bonus
  7.                     player.meleeCrit += 6;
  8.                     player.rangedCrit += 6;
  9.                     player.magicCrit += 6;
  10.                     player.thrownCrit += 6;
  11.                     player.setBonus = "6% increased critical strike chance";
  12.                 }
  13.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement