Merge pull request #1087 from voronius/master

Fix for 139 - bug of inspiration buff stacking
This commit is contained in:
Waverunner
2014-08-07 10:29:57 -04:00
3 changed files with 67 additions and 19 deletions
+1 -2
View File
@@ -10,13 +10,12 @@ def run(core, actor, target, commandString):
if not playerObject or playerObject.getProfession() != "entertainer_1a":
return
if target is None or actor.getObjectId() == target.getObjectId():
openBuffWindow = BuffBuilderStartMessage(actor.getObjectId(), actor.getObjectId(), actor.getObjectId())
objController = ObjControllerMessage(11, openBuffWindow)
actor.getClient().getSession().write(objController.serialize())
return
if target is None and commandString is not None:
target = core.chatService.getObjectByFirstName(commandString)
if target is None: