📄 神将融天.lua
字号:
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==2) then
if API:DelSelItem(client,73000,2,3) then
API:SetEquipItemAttribute(client,5,3,3);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==3) then
if API:DelSelItem(client,73000,2,4) then
API:SetEquipItemAttribute(client,5,3,4);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==4) then
if API:DelSelItem(client,73000,2,5) then
API:SetEquipItemAttribute(client,5,3,5);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==5) then
if API:DelSelItem(client,73000,2,6) then
API:SetEquipItemAttribute(client,5,3,6);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==6) then
if API:DelSelItem(client,73000,2,7) then
API:SetEquipItemAttribute(client,5,3,7);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==7) then
if API:DelSelItem(client,73000,2,8) then
API:SetEquipItemAttribute(client,5,3,8);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==8) then
if API:DelSelItem(client,73000,2,9) then
API:SetEquipItemAttribute(client,5,3,9);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
else
CmdNPC:Face(72);
CmdNPC:Say("你的装备已经达到最等级!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你的哪个部位没有装备!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
end;
if NPCcon==14 then
if API:GetEquipItem(client,3) then
level=API:GetEquipItemAttribute(client,3,3);
if(level==0) then
if API:DelSelItem(client,73000,2,1) then
API:SetEquipItemAttribute(client,3,3,1);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==1) then
if API:DelSelItem(client,73000,2,2) then
API:SetEquipItemAttribute(client,3,3,2);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==2) then
if API:DelSelItem(client,73000,2,3) then
API:SetEquipItemAttribute(client,3,3,3);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==3) then
if API:DelSelItem(client,73000,2,4) then
API:SetEquipItemAttribute(client,3,3,4);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==4) then
if API:DelSelItem(client,73000,2,5) then
API:SetEquipItemAttribute(client,3,3,5);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==5) then
if API:DelSelItem(client,73000,2,6) then
API:SetEquipItemAttribute(client,3,3,6);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==6) then
if API:DelSelItem(client,73000,2,7) then
API:SetEquipItemAttribute(client,3,3,7);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==7) then
if API:DelSelItem(client,73000,2,8) then
API:SetEquipItemAttribute(client,3,3,8);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==8) then
if API:DelSelItem(client,73000,2,9) then
API:SetEquipItemAttribute(client,3,3,9);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
else
CmdNPC:Face(72);
CmdNPC:Say("你的装备已经达到最等级!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你的哪个部位没有装备!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
end;
if NPCcon==15 then
if API:GetEquipItem(client,2) then
level=API:GetEquipItemAttribute(client,2,3);
if(level==0) then
if API:DelSelItem(client,73000,2,1) then
API:SetEquipItemAttribute(client,2,3,1);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==1) then
if API:DelSelItem(client,73000,2,2) then
API:SetEquipItemAttribute(client,2,3,2);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==2) then
if API:DelSelItem(client,73000,2,3) then
API:SetEquipItemAttribute(client,2,3,3);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==3) then
if API:DelSelItem(client,73000,2,4) then
API:SetEquipItemAttribute(client,2,3,4);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==4) then
if API:DelSelItem(client,73000,2,5) then
API:SetEquipItemAttribute(client,2,3,5);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
end;
elseif(level==5) then
if API:DelSelItem(client,73000,2,6) then
API:SetEquipItemAttribute(client,2,3,6);
API:CharSpawn(client);
API:SendMess(client,"成功了恭喜你");
else
CmdNPC:Face(72);
CmdNPC:Say("不好意识你没符合要求的赤练石!")
CmdNPC:Link("哦,我看看",255);
CmdNPC:Finish();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -