Twintop's Resource Bar

Twintop's Resource Bar

670k Downloads

Move GetIsSpellInRange to SpellBase class

Twintop opened this issue ยท 0 comments

commented

Range checking for a spell currently happens in a function in the TRB.Functions.Character namespace. This really belongs as a function on the TRB.Classes.SpellBase class instead.

  • Move TRB.Functions.Character:GetIsSpellInRange(spell) to TRB.Classes.SpellBase:IsSpellInRange()
  • Update usages, including cache