Skip to content

Commit

Permalink
Add version check for RAP (Fixes #56)
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Nov 25, 2021
1 parent bcba930 commit 99018c5
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions libs/StatLogic-1.0/StatLogic-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3318,16 +3318,15 @@ end
-----------------------------------]]

local RAPPerAgi = {
1, 0, 1, 1, 0, 0, 0, 0, 0,
--["WARRIOR"] = 1,
--["PALADIN"] = 0,
--["HUNTER"] = 1,
--["ROGUE"] = 1,
--["PRIEST"] = 0,
--["SHAMAN"] = 0,
--["MAGE"] = 0,
--["WARLOCK"] = 0,
--["DRUID"] = 0,
[ClassNameToID["WARRIOR"]] = 1,
[ClassNameToID["PALADIN"]] = 0,
[ClassNameToID["HUNTER"]] = tocversion >= 20100 and 1 or 2,
[ClassNameToID["ROGUE"]] = 1,
[ClassNameToID["PRIEST"]] = 0,
[ClassNameToID["SHAMAN"]] = 0,
[ClassNameToID["MAGE"]] = 0,
[ClassNameToID["WARLOCK"]] = 0,
[ClassNameToID["DRUID"]] = 0,
}

function StatLogic:GetRAPPerAgi(class)
Expand Down

0 comments on commit 99018c5

Please sign in to comment.