Hi, i wanted to know if the Trial to make the Empyreal Armor nq to Empyreal Armor +1 (Magician Moogle Blue) is actually working.
The Magician Moogle Blue is just asking for the Paralyze Potion but with that seems not working.
I don't remember how that was working on retail server and i do not know if there are differences on darkstar.
Thank you
Empyreal Armor +1
Re: Empyreal Armor +1
OK i'm thinking to do it in a simple way like this:
function onTrade(player,npc,trade)
if (trade:hasItemQty(<item>,1) == true and trade:getItemCount() == 1) then
player:tradeComplete();
player:addItem(<item obtained>)
player:messageSpecial(ITEM_OBTAINED,<item obtained>);
function onTrade(player,npc,trade)
if (trade:hasItemQty(<item>,1) == true and trade:getItemCount() == 1) then
player:tradeComplete();
player:addItem(<item obtained>)
player:messageSpecial(ITEM_OBTAINED,<item obtained>);
Re: Empyreal Armor +1
i tried this but seems not working... i don't know how to check 2 items in trade so i improvised
I tried too:
and this:
can someone help me on this please?
Code: Select all
function onTrade(player,npc,trade)
if (trade:hasItemQty(12013,1) == true and trade:hasItemQty(3115,1) == 8) then --- THF head
player:tradeComplete();
player:addItem(11169)
player:messageSpecial(ITEM_OBTAINED,11169);
end
Code: Select all
if (trade:hasItemQty(12013,1) == true and trade:hasItemQty(3115,8) == true) then --- THF head
Code: Select all
function onTrade(player,npc,trade)
local tradeCount = trade:getItemCount();
if (trade:hasItemQty(12013,1) and trade:hasItemQty(3115,8) and tradeCount == 2) then
player:tradeComplete();
player:addItem(11169)
player:messageSpecial(ITEM_OBTAINED,11169);
end
end;
Re: Empyreal Armor +1
FIXED:
Code: Select all
function onTrade(player,npc,trade)
local tradeCount = trade:getItemCount();
if (trade:hasItemQty(12013,1) and trade:hasItemQty(3115,8) and tradeCount == 9) then
player:tradeComplete();
player:addItem(11169)
player:messageSpecial(ITEM_OBTAINED,11169);
end
end;