Log in

View Full Version : SQL Query to add a loot table to every npc in a specific zone.


caved
11-27-2024, 06:39 PM
Hallos title realy says it already. I goto add an existing loot table to all npc's in a specific zone. Would also help if i could set the percentage chance on the LT. Would be greatly appreciated if someone could help with the sql code.

Caved

fryguy
11-27-2024, 06:43 PM
Hallos title realy says it already. I goto add an existing loot table to all npc's in a specific zone. Would also help if i could set the percentage chance on the LT. Would be greatly appreciated if someone could help with the sql code.

Caved

This is already supported. Use a global loot table and limit it to the zone you want.

Edit: Add docs global loot schema doc - https://docs.eqemu.io/schema/loot/global_loot/

caved
11-27-2024, 07:15 PM
Thanks i will look into that.