I wanted to do this quest, but the first "???" it does not give me keyitem
(FIGURE OF TITAN ==> ID 483). I review the scripts but I have not found where the problem was coming. but tries to add me an item instead of a keyitem.
Do you know where it's from?
qm2.lua (it was qm1.lua but it did not fit)
Code: Select all
function onTrigger(player,npc)
if(player:getCurrentMission(SANDORIA) == BREAKING_BARRIERS and player:getVar("MissionStatus") == 1) then
player:addKeyItem(FIGURE_OF_TITAN);
player:messageSpecial(KEYITEM_OBTAINED,FIGURE_OF_TITAN);
player:setVar("MissionStatus",2);
else
player:messageSpecial(NOTHING_OUT_OF_ORDINARY);
end
end;
Code: Select all
FIGURE_OF_TITAN = 483;