-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround for unlearned spellbook spells in TWW (#30)
* Switching to `C_Spell.IsSpellInRange` for TWW This replaces `C_SpellBook.IsSpellBookItemInRange` with `C_Spell.IsSpellInRange` in the TWW fallback, to ensure even unlearned spells can be used for range check. `IsSpellBookItemInRange` does not check unlearned spells. To make this work, the spell index used and returned from `findSpellIdx` is now the `spellID` in retail, but still the spellbook index for classic/era.
- Loading branch information
1 parent
0531c8a
commit 7c73357
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters