?? drug.lua
字號:
Itemsid=EqAip.ItemsID;
if Itemsid>= 720010 and Itemsid<=720017 then
if Api:CheckItemLimit(client,2) then
Api:RemoveItem_Cout(client,EqAip._InvItemCount);
local id=0;
local max=3;
if Itemsid==720010 then
id=1000030;
elseif Itemsid==720011 then
id=1002000;
elseif Itemsid==720012 then
id=1002010;
elseif Itemsid==720013 then
id=1002020;
elseif Itemsid==720014 then
id=1001030;
elseif Itemsid==720015 then
id=1001040;
elseif Itemsid== 720016 then
id=1002030;
elseif Itemsid== 720017 then
id=1002040;
end;
Api:Additems(client,id,max);
return;
else
Api:SendMess(client,'你的包包以滿');
return;
end;
else
Api:RemoveItem_Cout(client,EqAip._InvItemCount);
Api:AddHP(client,ItemsDatails._HpAdd);
Api:AddMP(client,ItemsDatails._MpAdd);
return;
end;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -