用于战神引擎装备互换Npc脚本,脚本全自动运行,不需要GM介入,玩家自助在NPC上完成同等装备的交换,换一次要支付10个元宝作为手续费,脚本是明文版的,可以根据自己版本的情况,任意修改脚本里面的装备互换名单和更换扣除元宝的数量。
部分脚本
procedure _leitingshou1; begin if (This_Player.GetBagItemCount ('强化烈焰护腕') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('强化烈焰护腕',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆护腕',1); end else if (This_Player.GetBagItemCount ('强化光芒护腕') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('强化光芒护腕',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆护腕',1); end else This_NPC.NpcDialog(This_Player, '你的材料不够,需要其他职业同部位首饰一个+800个元宝!'); end; procedure _leitinglian1; begin if (This_Player.GetBagItemCount ('强化烈焰项链') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('强化烈焰项链',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆项链',1); end else if (This_Player.GetBagItemCount ('强化光芒项链') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('强化光芒项链',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆项链',1); end else This_NPC.NpcDialog(This_Player, '你的材料不够,需要其他职业同部位首饰一个+800个元宝!'); end; procedure _leitingkui1; begin if (This_Player.GetBagItemCount ('黄金头盔') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('黄金头盔',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆战盔',1); end else if (This_Player.GetBagItemCount ('强化光芒道盔') >= 1) and (This_Player.YBNum >= 800) then begin This_Player.Take('强化光芒道盔',1); This_Player.PsYBConsum(This_NPC,'Gaoji0LB',20154,800,1); This_Player.Give('强化雷霆战盔',1); end else This_NPC.NpcDialog(This_Player, '你的材料不够,需要其他职业同部位首饰一个+800个元宝!'); end; begin if This_Player.level >= 45 then begin This_Npc.NpcDialog(This_Player, '| \'+ '|<介绍:/c=red><我这里提供装备互换/c=147>'+ '|< /c=245>\'+ '|{cmd}<【祖玛系列互换】/@zuma> \'+ '|{cmd}<【赤月系列互换】/@chiyue> \'+ '|{cmd}<【魔龙系列互换】/@mlong>\'+ '|{cmd}<【强化魔龙系列互换】/@mlong1>\'+ '|{cmd}<【战神系列互换】/@zhanshen>\'+ '|{cmd}<【武器互换】/@wuqi>\' ); end else This_Npc.NpcDialog(This_Player, '| \'+ '|<介绍:/c=red><我这里提供装备互换/c=147>'+ '|< /c=245>\'+ '|{cmd}<【祖玛系列互换】/@zuma> \'+ '|{cmd}<【赤月系列互换】/@chiyue> \' ); end.