updates
This commit is contained in:
+24
-24
@@ -201,40 +201,40 @@ function Details:CreateTestBars (alphabet, isArena)
|
||||
end
|
||||
|
||||
if (who[3]) then
|
||||
robot.spec = who[3]
|
||||
robot:SetSpecId(who[3])
|
||||
elseif (robot.classe == "DEATHKNIGHT") then
|
||||
local specs = {250, 251, 252}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "DRUID") then
|
||||
local specs = {102, 103, 104, 105}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "HUNTER") then
|
||||
local specs = {253, 254, 255}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "MAGE") then
|
||||
local specs = {62, 63, 64}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "MONK") then
|
||||
local specs = {268, 269, 270}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "PALADIN") then
|
||||
local specs = {65, 66, 70}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "PRIEST") then
|
||||
local specs = {256, 257, 258}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "ROGUE") then
|
||||
local specs = {259, 260, 261}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "SHAMAN") then
|
||||
local specs = {262, 263, 264}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "WARLOCK") then
|
||||
local specs = {265, 266, 267}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "WARRIOR") then
|
||||
local specs = {71, 72, 73}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
end
|
||||
|
||||
robot.total = math.random (10000000, 60000000)
|
||||
@@ -263,40 +263,40 @@ function Details:CreateTestBars (alphabet, isArena)
|
||||
robot.classe = who[2]
|
||||
|
||||
if (who[3]) then
|
||||
robot.spec = who[3]
|
||||
robot:SetSpecId(who[3])
|
||||
elseif (robot.classe == "DEATHKNIGHT") then
|
||||
local specs = {250, 251, 252}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "DRUID") then
|
||||
local specs = {102, 103, 104, 105}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "HUNTER") then
|
||||
local specs = {253, 254, 255}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "MAGE") then
|
||||
local specs = {62, 63, 64}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "MONK") then
|
||||
local specs = {268, 269, 270}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "PALADIN") then
|
||||
local specs = {65, 66, 70}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "PRIEST") then
|
||||
local specs = {256, 257, 258}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "ROGUE") then
|
||||
local specs = {259, 260, 261}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "SHAMAN") then
|
||||
local specs = {262, 263, 264}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "WARLOCK") then
|
||||
local specs = {265, 266, 267}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
elseif (robot.classe == "WARRIOR") then
|
||||
local specs = {71, 72, 73}
|
||||
robot.spec = specs [math.random (1, #specs)]
|
||||
robot:SetSpecId(specs [math.random (1, #specs)])
|
||||
end
|
||||
|
||||
robot.total = math.random (10000000, 60000000)
|
||||
|
||||
Reference in New Issue
Block a user