maple-v206/scripts/item/consume_2431658.py

9 lines
318 B
Python

# Rex Soul Soul
souls = [2591110, 2591111, 2591112, 2591113, 2591114, 2591115, 2591116]
rand = sm.getRandomIntBelow(len(souls))
if not sm.hasItem(2431658, 10):
sm.sendSayOkay("You need at least 10 soul fragments to create a soul.")
else:
soul = souls[rand]
sm.consumeItem(2431658, 10)
sm.giveItem(soul)