View Single Post
12-13-05, 02:29 PM   #7
dereg
A Defias Bandit
Join Date: Dec 2005
Posts: 2
I'm looking for a way to swap weapons if I run out of mana, taking the skinning mode example, i was wondering if the following would work?

Event: ManaWeaponChange
Trigger: UNIT_MANA
Delay: 0
Script:
if UnitMana("player") <= 40 then
if OOM then
SaveSet()
EquipSet()
OOM=1
end
elseif OOM then
LoadSet()
OOM=nil
end
  Reply With Quote