This commit is contained in:
Seefo
2014-03-27 16:29:57 -04:00
parent 2af59e2212
commit 2dd4e986ca
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ def run(core, actor, target, commandString):
return
effectObj = 'clienteffect/holoemote_' + commandString + '.cef'
actor.playEffectObject(effectObj, 'head')
actor.playEffectObject(effectObj, 'Head')
player.setHoloEmoteUses(player.getHoloEmoteUses() - 1)
# TODO: Cooldowns for the holo-emote's
return
@@ -36,7 +36,6 @@ public class PlayClientEffectObjectMessage extends SWGMessage {
this.effectFile = effectFile;
this.objectId = objectId;
this.commandString = commandString;
}
@Override
@@ -47,8 +46,10 @@ public class PlayClientEffectObjectMessage extends SWGMessage {
result.putShort((short) 5);
result.putInt(0x8855434A);
result.put(getAsciiString(effectFile));
result.put(getAsciiString(commandString));
result.putShort((short) 0);
result.putLong(objectId);
result.put(getAsciiString(commandString));
return result.flip();
}