To anyone using AnaronsWoWMod
 Posted: Wed Jan 06, 2016 11:40 pm
Posted: Wed Jan 06, 2016 11:40 pmIf you're calling a CastSpellByName function through macros (such as /cast Fireball) while using the AnaronsWoWMod addon, you will notice that specific spells will not be cast depending on debuffs applied on the target. Casting spells will however work if you are directly calling them from safe blizzard code (not using macros)
Removing the following function solves this, you can find it in the main LUA at the very beginning
			Removing the following function solves this, you can find it in the main LUA at the very beginning
- Code: Select all
- DRUID_STUFF_CastSpellByName = CastSpellByName
 function CastSpellByName(spell,target)
 if (AWMUnitHasBuff('target',spell) or AWMUnitHasDebuff('target',spell))==false then
 DRUID_STUFF_CastSpellByName(spell,target)
 end
 end