Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 11-26-2002, 04:02 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

If thats the case, then your multiplier should be 1, and you
have the chance set at 70 and 30 in the lootdrop table.

Or, you have it set for 7 and 3, and use a multiplier of 10.

Then, if rand%100 < (chance)*mult, you'll have the item added to the npc.

But, this isnt exclusive, it will roll once for every item on the loottable , rather than rolling for an item from a group, then rolling a rand to determine which item from the group you will get. The way it is now, theres a chance you end up with both of them, 1 , or nothing.

The better way would be..

30 % chance of getting a crown
Roll a 20.
Get a crown, now determine which one.
Roll a 80
80 corresponds to the 70-100 range for getting the Fire crown, so thats added to the npc.


Its working ok on my server, though i dont like the implementation as it works right now.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
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 07:49 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