Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. function()
  2.  
  3.  
  4. adda = 0
  5. addb = 0
  6.  
  7. gm = AuraUtil.FindAuraByName("Grand Melee", "player")
  8. rp = AuraUtil.FindAuraByName("Ruthless Precision", "player")
  9. sc = AuraUtil.FindAuraByName("Skull and Crossbones", "player")
  10. tb = AuraUtil.FindAuraByName("True Bearing", "player")
  11. bt = AuraUtil.FindAuraByName("Buried Treasure", "player")
  12. bs = AuraUtil.FindAuraByName("Broadside", "player")
  13.  
  14. if sc ~= nil then sc = 1 else sc = 0
  15. end
  16. if tb ~= nil then tb = 1 else tb = 0
  17. end
  18. if bt ~= nil then bt = 1 else bt = 0
  19. end
  20. if bs ~= nil then bs = 1 else bs = 0
  21. end
  22. if gm ~= nil then gm = 2 else gm = 0
  23. end
  24. if rp ~= nil then rp = 2 else rp = 0
  25. end
  26.  
  27. if gm+rp+sc+tb+bt+bs > 1 then return "keep" else return "reroll"
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement