--110级神装宝盒
if(gContext == 500271)then
if(Hero:ActFun(508,"47 1",0) == true)then
if(Hero:ActFun(1001,"Profession == 1",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
elseif(Hero:ActFun(1001,"Profession == 2",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
elseif(Hero:ActFun(1001,"Profession == 4",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
elseif(Hero:ActFun(1001,"Profession == 8",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
elseif(Hero:ActFun(1001,"Profession == 16",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
elseif(Hero:ActFun(1001,"Profession == 32",0) == true)then
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
else
local x = math.random(10)
local y = {110016,120016,130017,150016,160016,170016,180016,190016,210016,220016}
Hero:ActFun(519,"1",y[x])
end
result=true;
else
Hero:ActFun(127,"打开宝盒需要1个道具栏空位,请先清理背包",0)
result=false;