maple-v206/scripts/quest/q1411e.py

20 lines
612 B
Python

# 1411 - [Job Adv] (Lv.30) Way of the Fighter
darkMarble = 4031013
job = "Fighter"
sm.setSpeakerID(1022000)
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, thus 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(110) # Fighter
sm.sendNext("You are now a #b"+ job +"#k.")
sm.dispose()