Swapping equipment for class swap, generic style
Posted: Mon Mar 18, 2013 7:18 pm
I am trying to implement a function (possibly user function?) that allows for swapping class for dailies pick up on a higher class, turn in on a lower, for example Butterflies, running through the zone with a level 42 character in wrong gear might mean a lot of death.
What I would like to do is have a generic way to swap the equpipment (SwapEquipmentItem(x);) where x is conveniently matched to the class/gear. So if I had a level 70 set on 1, and level 44 on 2, I could run through Xaviera without being "naked" in 72 gear while on the level 44 class. I'd like this to be generic so that I can use it with any character, with any equipment setup (for example, next character might have lvl70 gear on 3, and 44 on 1)
The current idea is to have variables in the profile such as LVL70 = 0, LVL44 = 1, but I was wondering if anyone solved this problem already?
(Side note, I've gotten my level 70 character killed in goblins because it was wearing the level 10 gear of the third class, so this function/feature could have all kinds of safety impacts)
What I would like to do is have a generic way to swap the equpipment (SwapEquipmentItem(x);) where x is conveniently matched to the class/gear. So if I had a level 70 set on 1, and level 44 on 2, I could run through Xaviera without being "naked" in 72 gear while on the level 44 class. I'd like this to be generic so that I can use it with any character, with any equipment setup (for example, next character might have lvl70 gear on 3, and 44 on 1)
The current idea is to have variables in the profile such as LVL70 = 0, LVL44 = 1, but I was wondering if anyone solved this problem already?
(Side note, I've gotten my level 70 character killed in goblins because it was wearing the level 10 gear of the third class, so this function/feature could have all kinds of safety impacts)