Found it in battlefight.php, so you can only define specific classes of items for a class?
Because I have all my armor grouped up but then use the itemtype to determine which class can access them but it's not catching that or the weapons but they are grouped the same.
It looks like you have the code right in battlefight for what I'm thinking..
I've got all my weapons grouped up in a group of one-handed weapons.
Classes are spread out over various class types, then I use the "item type" to link which class types can use which individual weapon. However right now a mage type that can't buy a broadsword, can switch to a warrior type, buy it, switch back to a mage, and then attack with it...
|