Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in Visitant.lua
- -----------------------------------
- -- onEffectLose Action
- -----------------------------------
- function onEffectLose(target,effect)
- if (target:getZoneID()==45) and not (target:getVar("ExtendedVisitant") == 1) then --extendedVisitant gained by killing NM sandworms
- target:setVar("Abyssea_Time",0); -- removes additional time so they can't get it again
- if (target:getVar("Stones_Time") >= 120) then
- target:setVar("Stones_Wait_Time",getMidnight()); --Time Set for 1 day real life time if player has used all stones
- end
- target:warp();
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement