- Joined
- Jun 4, 2007
- Messages
- 206
Hello, I've been trying to make ways of creating an item drop table with % chances, I searched the Spells Section for a system but the only ones I found didn't match what i needed or were in vJass (wich i have little to no clue to implement on my map).
So what I wanted to ask is if anyone can please link me to a system or teach me how to do a item drop without repeating "if" actions (a real system), here are some of the details:
- Every creep may drop different items but according to its level (my map will use level req items), ex: a lvl 5 troll may drop lvl 1-5 items, but a lvl 40 ogre will only drop lvl 30-40 items(no low level items on high level monsters)
-There must be a chance for the item type to drop, like 11% for a normal item type, 3% for a magic item type and 1% for a unique item type, for a total chance of 15% drop per kill
It's much like the diablo 2 way of dropping items, there is a chance and part of this chance is a magic/rare item, and the items become stronger depending on the monsters.
Thankss
So what I wanted to ask is if anyone can please link me to a system or teach me how to do a item drop without repeating "if" actions (a real system), here are some of the details:
- Every creep may drop different items but according to its level (my map will use level req items), ex: a lvl 5 troll may drop lvl 1-5 items, but a lvl 40 ogre will only drop lvl 30-40 items(no low level items on high level monsters)
-There must be a chance for the item type to drop, like 11% for a normal item type, 3% for a magic item type and 1% for a unique item type, for a total chance of 15% drop per kill
It's much like the diablo 2 way of dropping items, there is a chance and part of this chance is a magic/rare item, and the items become stronger depending on the monsters.
Thankss