This commit is contained in:
Light2
2014-06-05 21:35:00 +02:00
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -128,6 +128,10 @@ def run(core, actor, target, commandString):
if inventory:
inventory.add(object)
elif command == 'spawnobj':
pos = actor.getPosition()
core.staticService.spawnObject(arg1, actor.getPlanet().getName(), 0, pos.x, pos.y, pos.z, 0, 0)
elif command == 'unknownAbilityPacket' and arg1:
packet = UnknownAbilityPacket(arg1)
+1 -1
View File
@@ -226,7 +226,7 @@ public class LootService implements INetworkDispatch {
// RLS chest effect
if (droppedItem.getAttachment("LootItemName").toString().contains("Loot Chest")){
requester.playEffectObject("appearance/pt_rare_chest.prt", "");
lootedObject.playEffectObject("appearance/pt_rare_chest.prt", "");
requester.playMusic("sound/rare_loot_chest.snd");
}
}