maple-v206/scripts/portal/davy_next2.py

6 lines
247 B
Python

# 925100200 - Third 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)