C_SpellBook .IsSpellBookItemHarmful
Jump to navigation
Jump to search
![]() ![]() ![]() ![]() |
C_Spell.IsSpellHarmful |
![]() |
+ 11.0.2 |
![]() ![]() ![]() ![]() |
C_SpellBook.IsSpellBookItemHarmful |
![]() |
+ 11.0.2 |
![]() ![]() |
IsHarmfulSpell |
![]() ![]() ![]() |
+ 2.3.0, - 11.0.2 |
Returns true if the SpellBookIem can be cast on hostile targets
isHarmful = C_SpellBook.IsSpellBookItemHarmful(spellBookItemSlotIndex, spellBookItemSpellBank)
Arguments
- spellBookItemSlotIndex
- number
- spellBookItemSpellBank
- Enum.SpellBookSpellBank
Value | Field | Description |
---|---|---|
0 | Player | |
1 | Pet |
Returns
- isHarmful
- boolean