ffbj wrote...
There are all sorts of ways to random loot drops from a boss. There are some on the vault.
What I do is give various % chance the boss will drop something from one or more of their equipment slots. In this way you will actually get something the boss had, not just some random loot from a table. This method can also be used on lesser creatures, where maybe you only check armor slot, left hand, right hand. Another thing I do for lesser creatures is:on spawn run through their equipment and have a % chance they drop something that is slotted. Mark it as droppable. Of course this assumes their stuff is not already so marked.
Wouldn't you have trouble getting people class related items from bosses if you did that though? If the boss is a level 40 fighter in full plate, wielding a massive sword and using melee damage based gear, how do you handle having drops happen for say a mage who may happen to be there killing the boss with the others?
I was thinking I'd put a name_boss script in the onDeath that does a random roll 1d5, get the integer result, use a case block, then put the appropriate function call to load the item that way. I had trouble with this a few nights ago though so I'm a bit leary attempting it, it wasn't the loot issue, it was trying to spawn a portal onDeath at a WP marker. But it just wouldn't spawn anything. I couldn't even get a debugging message I threw in there to work lol.