Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #34  
Old 04-03-2004, 06:33 PM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

there is 3 things :
loot table
loot drop
items

each npc have 1 loot table
a loot table have one or several loot drops
a loot table have also platinums and other coins
each loot drop can have one or several items in it
loot drops can be shared between npcs but not loot tables whom are unique to each npc

loot drops are what i called "sets" in looteditor

sets have 2 attributes :
- chance :
it's the chance that something drops from this set
- multiplier :
it's the maximum number of items that the set can drop

example : 100% chance, 2 multiplier
the set have 100 % chance to drop 2 items from the set
which items depends of the chance associated with each item

example 2 : 50% chance, 3 multiplier
the set have 50% chance to drop 3 items from the set
it means it can drop 0, 1, 2, or 3 items, but the most often you will have 1 or 2 items

items have 1 attribute :
- chance :
it's the chance that this specific item drops compared to other items of the same set
total cumulated chance of all the items of a set must be equal to 100% else some items won't never drop

example :
here is a set where there are 3 items :
bone chips 30%
cloth veil 50%
blade of carnage 20%
total 100 %
cloth veil will drop the most often
bone chips in second
and blade of carnage will be rarer

example 2 :
here is a set with 2 items :
bone chips 100%
cloth veil 50%
total 150%
here's bone chips will always drop because they are the 1rst in the list and have 100% chance to drop
cloth veil won't never drop

so you should always do the total
if the total is >100% something won't never drop =)
if it is <100% it might works but the result is uncertain

so if you are in the case you want that your npc drops always 2 bone chips, sometimes he drops a cloth veil and always a blade of carnage or a fine steel long sword, blade of carnage rare drop, but you want that it's possible that the npcs drops 2 bone chips the cloth veil and the blade of carnage at the same time :
you should make 3 sets :
one for the bone chips :
bone chips set : chance 100% multiplier 2
1 item :
bone chips : chance 100

one for the cloth veil :
cloth veil set : chance 30% mutliplier 1
1 item :
cloth veil : chance 100

1 for the blade of carnage and fine steel long sword :
weapons set : chance 100% multiplier 1
2 items :
blade of carnage : 20%
fine steel long sword : 80%

well =) you see it's easy =)
good luck =)
__________________
Sandy
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:21 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3