maple-v206/scripts/portal/davy_next1.py

7 lines
260 B
Python

from net.swordie.ms.constants import GameConstants
# 925100100 - Second Map of the Lord Pirate PQ
if int(sm.getQRValue(GameConstants.LORD_PIRATE_QUEST)) < 3:
sm.chat("The portal is not opened.")
else:
sm.warpInstanceIn(sm.getFieldID() + 100, 0, True)