TDestroyer
New Member
- Reaction score
- 0
Hello, I'm trying to make an RPG, I have a class system in my game.
How do you make it so that 1 hero can only use certain items ex:
Archer can use bow and leather armor.
Mage can use staff and robe.
Fighter can use short sword and leather armor.
etc.
As you can see, in some cases, 2 of the heroes can use the same items, and other items are solely for 1 class.
I'm already using item level and custom value for items. I tried dealing with Tech Tree stuff but i couldn't get it to work anyone have any ideas?
I would like to avoid, if i can, making arrays for every hero of the weapons they can use if possible. if i have like 100 items and 20 classes that would be so many arrays it would be ridiculous.
How do you make it so that 1 hero can only use certain items ex:
Archer can use bow and leather armor.
Mage can use staff and robe.
Fighter can use short sword and leather armor.
etc.
As you can see, in some cases, 2 of the heroes can use the same items, and other items are solely for 1 class.
I'm already using item level and custom value for items. I tried dealing with Tech Tree stuff but i couldn't get it to work anyone have any ideas?
I would like to avoid, if i can, making arrays for every hero of the weapons they can use if possible. if i have like 100 items and 20 classes that would be so many arrays it would be ridiculous.