Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. in Visitant.lua
  2.  
  3. -----------------------------------
  4. -- onEffectLose Action
  5. -----------------------------------
  6.  
  7. function onEffectLose(target,effect)
  8.  
  9. if (target:getZoneID()==45) and not (target:getVar("ExtendedVisitant") == 1) then --extendedVisitant gained by killing NM sandworms
  10. target:setVar("Abyssea_Time",0); -- removes additional time so they can't get it again
  11. if (target:getVar("Stones_Time") >= 120) then
  12. target:setVar("Stones_Wait_Time",getMidnight()); --Time Set for 1 day real life time if player has used all stones
  13. end
  14. target:warp();
  15. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement