2 questions
Is the ability to itemize NPCs currently in and I'm just missing where to add them? Or is this a feature that's just not implemented yet? I see that they can drop coin, and how to add that in the database, but don't see anything about them dropping items. I see that mobs will equipt what you give them perfectly, but what I'm looking for is a way to have them spawn that way all of the time from the database on server up.
The other question is about the NPC spell lists. I see default lists for all the classes. Are these hard coded, or is there another table somewhere that I need to add to that I overlooked? Adding a spell list for a mob that I want to have a "special" set of spells only generates error messages from the server about an unknown spell list. |
Quote:
#npcloot add <itemnumber> Then when you are completely finished adding loot (Items, coins etc) type in: #npcspawn create #npcspawn add This will add it to your database as a permanent spawn. Now if you go into EQAdmin and onto the loot tab, scroll right down to the bottom where your custom spawn is and edit the probability of the items dropping. You change it from (1) to (100), where 100=1% and 1=1% chance of dropping (I think :P ) Quote:
|
Sorry double post :(
|
Thanks a ton. This helped out a lot.
|
NP, that's what these forums are for :D
|
Quote:
Example: You have 3 items on lootdropid 1111: item 1001 at a chance of 80 item 1002 at a chance of 20 item 1003 at a chance of 100 the code would take all three chances and add them together for a total of 200 it would then generate a number percent of 200 and if its lower than the chance of the item its on, then the item drops. If not it goes on until it gets to the bottom of the list or it finds and item to drop. |
Quote:
So if there is just 1 item with chance of 20, so only if it rolls 100% will it NOT drop? What if I want something to always drop, and another item to also drop 50% of the time? |
Just set the loottable probability to less than 100 for the item you don't want to always drop - leave the one you want to always drop at 100.
Loot drop seems to be the chance that an item will drop over other items in the same drop id. EDIT: You'd have to set them to seperate lootdrop IDs, of course, for that to work. |
All times are GMT -4. The time now is 02:11 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.