Removed an additional sound effect on RLS drop. Particle file already contains it

Changed RLS items to treasure map items (no function atm)
Adjusted dynamic spawn for Endor - some DWB NPCs can spawn in the outback
Adjusted some creature and NPC spawns near NPC towns
This commit is contained in:
Undercova
2021-03-07 21:29:04 +01:00
parent 0b0fe705ae
commit a3e79c9d9b
7 changed files with 359 additions and 360 deletions

View File

@@ -151,10 +151,9 @@ class LootGenerationService : Service() {
private fun sendRareLootPackets(chest: SWGObject, corpse: CreatureObject, killer: CreatureObject) {
val effect = PlayClientEffectObjectMessage("appearance/pt_rare_chest.prt", "", corpse.objectId, "")
val sound = PlayMusicMessage(0, "sound/rare_loot_chest.snd", 1, false)
val box = ShowLootBox(killer.objectId, longArrayOf(chest.objectId))
killer.owner?.sendPacket(effect, sound, box)
killer.owner?.sendPacket(effect, box)
}
private class NPCLoot(val isDropCredits: Boolean, val npcTables: MutableList<NPCLootTable> = ArrayList())