乾乾与行 发表于 2022-6-10 17:42:41

[战神脚本]装备改装/男女剑甲和各职业装备互换



这个脚本之所以有意思的地方是可以互换各职业同等级的装备,当然,一般多数看到的类似脚本都是只能互换下剑甲,本脚本需要消耗游戏元宝进行互换。大家可以修改成自己喜欢的,当然装备还是要自己根据自己游戏进行修改喔!

部分脚本:
procedure _65yifu1;
begin
if This_Player.YBNum >= 3000 then
begin
if This_Player.GetBagItemCount('不灭V紫神铠(道)')   >= 1 then    //检测物品
begin
This_Player.ScriptRequestSubYBNum(3000);
This_Player.Take('不灭V紫神铠(道)' , 1);
This_Player.Give('不灭V紫神甲(道)' , 1);
This_Npc.NpcDialog(This_Player,
'兑换成功!!!');
end else
This_Npc.NpcDialog(This_Player,
'你没有兑换的装备?!!!');
end else
This_Npc.NpcDialog(This_Player,
'没有3000元宝!!!');
end;


procedure _65yifu2;
begin
if This_Player.YBNum >= 3000 then
begin
if This_Player.GetBagItemCount('不灭V紫神甲(道)')   >= 1 then    //检测物品
begin
This_Player.ScriptRequestSubYBNum(3000);
This_Player.Take('不灭V紫神甲(道)' , 1);
This_Player.Give('不灭V紫神铠(道)' , 1);
This_Npc.NpcDialog(This_Player,
'兑换成功!!!');
end else
This_Npc.NpcDialog(This_Player,
'你没有兑换的装备?!!!');
end else
This_Npc.NpcDialog(This_Player,
'没有3000元宝!!!');
end;


页: [1]
查看完整版本: [战神脚本]装备改装/男女剑甲和各职业装备互换