I need help creating a simple to use class restriction system. The variables I've got so far:
I don't want all of the items to be class specific, only the ones specified in those arrays. I've tried every possible thing that I know of, without succeeding. The class restriction I tried earlier on was the one posted by Ghan some time ago, I got it to work only if there were one class.
I hope that's enough information for you guys to use. My head is all out of ideas. :banghead:
~1337Elite
Code:
Item Init
Events
Map initialization
Conditions
Actions
-------- Weapons --------
Set ItemWeaponID[1] = Dagger
Set ItemWeaponID[2] = |cFF004080Dagger of Estle|r
Set ItemWeaponID[3] = |cFF00FF00Enchanted Hatchet|r
Set ItemWeaponID[4] = |cFF00FF00Recruit Rogue's Axe|r
-------- Potions --------
Set ItemPotionsID[1] = Greater Health Potion
Set ItemPotionsID[2] = Greater Mana Potion
Set ItemPotionsID[3] = Major Health Potion
Set ItemPotionsID[4] = Major Mana Potion
Set ItemPotionsID[5] = Minor Health Potion
Set ItemPotionsID[6] = Minor Mana Potion
-------- Armour --------
Set ItemtArmourID[1] = Cloth Cape
Set ItemtArmourID[2] = Leather Armor
Code:
Class Items Init
Events
Map initialization
Conditions
Actions
-------- Rogue Items --------
Set RogueClass[1] = ItemWeaponID[1]
Set RogueClass[2] = ItemWeaponID[2]
Set RogueClassCur = 2
-------- Brawler Items --------
Set BrawlerClass[1] = ItemWeaponID[3]
Set RogueClass[2] = ItemWeaponID[4]
Set BrawlerClassCur = 2
I don't want all of the items to be class specific, only the ones specified in those arrays. I've tried every possible thing that I know of, without succeeding. The class restriction I tried earlier on was the one posted by Ghan some time ago, I got it to work only if there were one class.
I hope that's enough information for you guys to use. My head is all out of ideas. :banghead:
~1337Elite