mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-01-15 23:05:45 -05:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user