Added xp gain to music performance.

This commit is contained in:
wallaceg09
2014-11-07 14:31:57 -06:00
parent d808fdd48e
commit d3bd0220dc
+4
View File
@@ -94,6 +94,10 @@ def startMusic(core, actor, performance, entSvc):
actor.setPosture(0x09)
#Turn on XP gain
playerObject = actor.getSlottedObject('ghost')
if playerObject and playerObject.getProfession() == "entertainer_1a" and actor.getLevel() != 90:
entSvc.startPerformanceExperience(actor)
entSvc.startPerformance(actor, performance.getLineNumber(), -842249156, "dance_0", 0)#TODO: Figure out what exactly goes in parameter slots 2 and 3
pass