maple-v206/scripts/quest/q1428e.py

20 lines
600 B
Python

# [Job Adv] (Lv.30) Cannoneer
darkMarble = 4031013
job = "Cannoneer"
sm.setSpeakerID(1072008)
if sm.hasItem(darkMarble, 30):
sm.sendNext("I am impressed, you surpassed the test. Only few are talented enough.\r\n"
"You have proven yourself to be worthy, I shall mold your body into a #b"+ job +"#k.")
else:
sm.sendSayOkay("You have not retrieved the #t"+ darkMarble+"#s yet, I will be waiting.")
sm.dispose()
sm.consumeItem(darkMarble, 30)
sm.completeQuestNoRewards(parentID)
sm.jobAdvance(530) # Gunslinger
sm.sendNext("You are now a #b"+ job +"#k.")
sm.dispose()