分享烈焰私服中主宰和王者分解装备脚本
function ontalk1905(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
#&talk_line#&
<font color="#FF0000">高级装备拆解
#&talk_line#&
<a href='event:M2402,101'>【主宰装备拆解】</a> <a href='event:M2402,201'>【王者装备拆解】</a>
#&talk_line#&
]]);
end
function ontalk1905_101(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备无法拆解,请转移、拆解!</font>
<font color="#FFFF00"> 主宰武器 </font> <u><a href='event:M2402,1011'>拆解</a></u>
<font color="#FFFF00"> 主宰衣服 </font> <u><a href='event:M2402,1021'>拆解</a></u>
<font color="#FFFF00"> 主宰头巾 </font> <u><a href='event:M2402,1012'>拆解</a></u>
<font color="#FFFF00"> 主宰吊坠 </font> <u><a href='event:M2402,1022'>拆解</a></u>
<font color="#FFFF00"> 主宰护肩 </font> <u><a href='event:M2402,1013'>拆解</a></u>
<font color="#FFFF00"> 主宰护膝 </font> <u><a href='event:M2402,1023'>拆解</a></u>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_1011(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10111'>【主宰武器拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10111(npc,event,player)
if player:num_item(20902,1) >= 1 then
player:remove_item(20902,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·神剑</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰烈焰私服神剑");
end
ontalk1905_1011(npc,0,player,0);
end
function ontalk1905_1021(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10211'>【主宰神甲(男)拆解】</a>
#&talk_line#&
<a href='event:M2402,10212'>【主宰神甲(女)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10211(npc,event,player)
if player:num_item(30905,1) >= 1 then
player:remove_item(30905,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·神甲(男)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰神甲(男)");
end
ontalk1905_1021(npc,0,player,0);
end
function ontalk1905_10212(npc,event,player)
if player:num_item(30906,1) >= 1 then
player:remove_item(30906,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·神甲(女)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰神甲(女)");
end
ontalk1905_1021(npc,0,player,0);
end
function ontalk1905_1012(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10121'>【主宰头巾(战)拆解】</a>
#&talk_line#&
<a href='event:M2402,10122'>【主宰头巾(法)拆解】</a>
#&talk_line#&
<a href='event:M2402,10123'>【主宰头巾(道)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10121(npc,event,player)
if player:num_item(150005,1) >= 1 then
player:remove_item(150005,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·头巾(战)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰头巾(战)");
end
ontalk1905_1012(npc,0,player,0);
end
function ontalk1905_10122(npc,event,player)
if player:num_item(150006,1) >= 1 then
player:remove_item(150006,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·头巾(法)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰头巾(法)");
end
ontalk1905_1012(npc,0,player,0);
end
function ontalk1905_10123(npc,event,player)
if player:num_item(150007,1) >= 1 then
player:remove_item(150007,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·头巾(道)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰头巾(道)");
end
ontalk1905_1012(npc,0,player,0);
end
function ontalk1905_1022(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10221'>【主宰吊坠(战)拆解】</a>
#&talk_line#&
<a href='event:M2402,10222'>【主宰吊坠(法)拆解】</a>
#&talk_line#&
<a href='event:M2402,10223'>【主宰吊坠(道)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10221(npc,event,player)
if player:num_item(160005,1) >= 1 then
player:remove_item(160005,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·吊坠(战)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰吊坠(战)");
end
ontalk1905_1022(npc,0,player,0);
end
function ontalk1905_10222(npc,event,player)
if player:num_item(160006,1) >= 1 then
player:remove_item(160006,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·吊坠(法)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰吊坠(法)");
end
ontalk1905_1022(npc,0,player,0);
end
function ontalk1905_10223(npc,event,player)
if player:num_item(160007,1) >= 1 then
player:remove_item(160007,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·吊坠(道)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰吊坠(道)");
end
ontalk1905_1022(npc,0,player,0);
end
function ontalk1905_1013(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10131'>【主宰护肩(战)拆解】</a>
#&talk_line#&
<a href='event:M2402,10132'>【主宰护肩(法)拆解】</a>
#&talk_line#&
<a href='event:M2402,10133'>【主宰护肩(道)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10131(npc,event,player)
if player:num_item(170005,1) >= 1 then
player:remove_item(170005,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护肩(战)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护肩(战)");
end
ontalk1905_1013(npc,0,player,0);
end
function ontalk1905_10132(npc,event,player)
if player:num_item(170006,1) >= 1 then
player:remove_item(170006,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护肩(法)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护肩(法)");
end
ontalk1905_1013(npc,0,player,0);
end
function ontalk1905_10133(npc,event,player)
if player:num_item(170007,1) >= 1 then
player:remove_item(170007,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护肩(道)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护肩(道)");
end
ontalk1905_1013(npc,0,player,0);
end
function ontalk1905_1023(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件主宰装备拆解2块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,10231'>【主宰护膝(战)拆解】</a>
#&talk_line#&
<a href='event:M2402,10232'>【主宰护膝(法)拆解】</a>
#&talk_line#&
<a href='event:M2402,10233'>【主宰护膝(道)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_10231(npc,event,player)
if player:num_item(180005,1) >= 1 then
player:remove_item(180005,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护膝(战)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护膝(战)");
end
ontalk1905_1023(npc,0,player,0);
end
function ontalk1905_10232(npc,event,player)
if player:num_item(180006,1) >= 1 then
player:remove_item(180006,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护膝(法)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护膝(法)");
end
ontalk1905_1023(npc,0,player,0);
end
function ontalk1905_10233(npc,event,player)
if player:num_item(180007,1) >= 1 then
player:remove_item(180007,1);
player:add_item(18100,2,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【主宰】烈焰私服·护膝(道)</font></font><font color='#FFFF00'>获得烈焰私服锻造石2块",2,1000,0,1);
else
player:alert(10,0,0,"您没有主宰护膝(道)");
end
ontalk1905_1023(npc,0,player,0);
end
function ontalk1905_201(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件王者装备拆解4块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,2011'>【王者武器拆解】</a> <a href='event:M2402,2021'>【王者衣服拆解】</a>
#&talk_line#&
<a href='event:M2402,2012'>【王者头巾拆解】</a> <a href='event:M2402,2022'>【王者吊坠拆解】</a>
#&talk_line#&
<a href='event:M2402,2013'>【王者护肩拆解】</a> <a href='event:M2402,2023'>【王者护膝拆解】</a>
#&talk_line#&
<a href='event:M2402,2014'>【王者头盔拆解】</a> <a href='event:M2402,2024'>【王者项链拆解】</a>
#&talk_line#&
<a href='event:M2402,2015'>【王者手镯拆解】</a> <a href='event:M2402,2025'>【王者戒子拆解】</a>
#&talk_line#&
<a href='event:M2402,2016'>【王者腰带拆解】</a> <a href='event:M2402,2026'>【王者鞋子拆解】</a>
#&talk_line#&
<a href='event:M2402,2017'>【王者时装拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_2011(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件王者装备拆解4块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,20111'>【王者武器拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_20111(npc,event,player)
if player:num_item(20903,1) >= 1 then
player:remove_item(20903,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【王者】冰霜·神剑</font></font><font color='#FFFF00'>获得烈焰私服锻造石4块",2,1000,0,1);
else
player:alert(10,0,0,"您没有王者冰霜神剑");
end
ontalk1905_2011(npc,0,player,0);
end
function ontalk1905_2021(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件王者装备拆解4块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,20211'>【王者冰霜神甲(男)拆解】</a>
#&talk_line#&
<a href='event:M2402,20212'>【王者冰霜神甲(女)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_20211(npc,event,player)
if player:num_item(30907,1) >= 1 then
player:remove_item(30907,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【王者】冰霜·神甲(男)</font></font><font color='#FFFF00'>获得烈焰私服锻造石4块",2,1000,0,1);
else
player:alert(10,0,0,"您没有王者冰霜神甲(男)");
end
ontalk1905_2021(npc,0,player,0);
end
function ontalk1905_20212(npc,event,player)
if player:num_item(30908,1) >= 1 then
player:remove_item(30908,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【王者】冰霜·神甲(女)</font></font><font color='#FFFF00'>获得烈焰私服锻造石4块",2,1000,0,1);
else
player:alert(10,0,0,"您没有王者冰霜神甲(女)");
end
ontalk1905_2021(npc,0,player,0);
end
function ontalk1905_2012(npc,event,player)
player:echo(0,npc:GetLowGUID(),[[
<font color="#FF0000">注:强化、注灵的装备,请转移、拆解!每件王者装备拆解4块锻造石(请留好空位)</font>
#&talk_line#&
<a href='event:M2402,20121'>【王者头巾(战)拆解】</a>
#&talk_line#&
<a href='event:M2402,20122'>【王者头巾(法)拆解】</a>
#&talk_line#&
<a href='event:M2402,20123'>【王者头巾(道)拆解】</a>
<u><a href='event:M2402,14'>返回上页</a></u>
]]);
end
function ontalk1905_20121(npc,event,player)
if player:num_item(150101,1) >= 1 then
player:remove_item(150101,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【王者】烈焰私服·头巾(战)</font></font><font color='#FFFF00'>获得烈焰私服锻造石4块",2,1000,0,1);
else
player:alert(10,0,0,"您没有王者头巾");
end
ontalk1905_2012(npc,0,player,0);
end
function ontalk1905_20122(npc,event,player)
if player:num_item(150102,1) >= 1 then
player:remove_item(150102,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font color='#FFFF00'>玩家</font><font color='#00FF33'>["..player:GetName().."]</font><font color='#FFFF00'>在烈焰私服城高级装备拆解处拆解了:</font><font color='#FF0033'>【王者】烈焰私服·头巾(法)</font></font><font color='#FFFF00'>获得烈焰私服锻造石4块",2,1000,0,1);
else
player:alert(10,0,0,"您没有王者头巾");
end
ontalk1905_2012(npc,0,player,0);
end
function ontalk1905_20123(npc,event,player)
if player:num_item(150103,1) >= 1 then
player:remove_item(150103,1);
player:add_item(18100,4,0);
player:alert(110,0,0,"拆解成功");
g_alert("<font
- 上一篇:浅谈页游烈焰变态版服的运行和持久性
- 下一篇:关于雷霆之怒新增第4大职业的探讨