Question: Custom Flag bouquet for spell range
Hello,
The issue I am trying to solve is I want the range scanner to trigger by spell (Heal which is 40yds), but I want an additional indicator to show if the target is in dispel magic range (30 yds). I tried creating a bouquet with Flag: Distance < yards and setting 31, but it appears that flag does not trigger in instances (battlegrounds or dungeons/raids). I tried a custom flag:
return IsSpellInRange("Dispel Magic", VUHDO_unitInfo["unit"])
as well as return IsSpellInRange(528, VUHDO_unitInfo["unit"])
(528 is the dispel magic spell ID in vuhdo it looks like), but none of these seem to work. Any guidance on a custom flag that might work for this?