EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=596)
-   -   NPC Weapons (https://www.eqemulator.org/forums/showthread.php?t=24981)

jdam7459 04-13-2008 09:39 PM

NPC Weapons
 
Just changed thread realquick to make it searchable...

Here's my NPC weapon code...newest build of EQEmu

loottable_entries
Code:

loottable_id: 90000 / lootdrop_id: 90000 / multiplier: 1 / probability: 100
loottable
Code:

id: 90000 / name: Guard / mincash: 0 / maxcash: 0 / avgcoin: 0
lootdrop
Code:

id: 90000/ name: Guard
lootdrop_entries
Code:

lootdrop_id: 90000 / item_id: 86956 / item_charges: 1 / equip_item: 1 / probability: 100
npc_types
Code:

loottable_id: 90000
If you see why the weapon is not showing on my guards lemme know, I'm either stumped or to too tired to see it lol...Thanks again

ChaosSlayer 04-13-2008 10:10 PM

the data seem OK.
does the guard drop the weapon when killed?
oh yeah, if you just set up the loot tables - good thing is to restart the server

moydock 04-13-2008 10:32 PM

Did you set the loottable_id in npc_types on the guard?

jdam7459 04-13-2008 10:55 PM

1. Yes, I have restarted the server.

2. Yes, they do drop them.

3. Yes, npc_type loottable_id is 90000

Would anything else affect it, race, bodytype, etc.?

moydock 04-13-2008 11:06 PM

Only thing I can think of is the d_mele_texture1 and 2 should be set to 0. If not that... Try it on a different npc, or it could be that it's just broken in the latest release.

jdam7459 04-13-2008 11:35 PM

Must be busted everything is in order...


All times are GMT -4. The time now is 05:14 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.