maple-v206/scripts/portal/davy_next3.py

6 lines
248 B
Python

# 925100300 - Fourth Map of the Lord Pirate PQ
if sm.getReactorQuantity() > 8 or sm.hasMobsInField(): # due to invisible reactor hidden on the map
sm.chat("The portal is not opened.")
else:
sm.warpInstanceIn(sm.getFieldID() + 100, 0, True)