WoW:API IsPassiveSpell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API IsPassiveSpell to API IsPassiveSpell without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Returns whether the icon in your spellbook is a Passive ability (not necessarily a spell). (And actually noted as so in spellbook) | Returns whether the icon in your spellbook is a Passive ability (not necessarily a spell). (And actually noted as so in spellbook) | ||
isPassive = IsPassiveSpell(spellID, bookType); | |||
==Arguments== | |||
; | ;spellID : Number: spellbook slot index, ascending from 1. | ||
;bookType : Either '''BOOKTYPE_SPELL''' ("spell") or '''BOOKTYPE_PET''' ("pet"). "spell" is linked to your General Spellbook tab. | |||
: | |||
==Returns== | |||
;isPassive : Flag : 1 if the spell is passive, nil otherwise. | |||
: | |||
: | |||
==Details== | |||
: With my Human Paladin, here are the "spells" I found to be Passive: | : With my Human Paladin, here are the "spells" I found to be Passive: | ||
:: Block (Passive) | :: Block (Passive) | ||
Line 55: | Line 20: | ||
:: Sword Specialization (Passive) | :: Sword Specialization (Passive) | ||
:: The Human Spirit (Racial Passive) | :: The Human Spirit (Racial Passive) | ||
Latest revision as of 04:46, 15 August 2023
Returns whether the icon in your spellbook is a Passive ability (not necessarily a spell). (And actually noted as so in spellbook)
isPassive = IsPassiveSpell(spellID, bookType);
Arguments[edit]
- spellID
- Number: spellbook slot index, ascending from 1.
- bookType
- Either BOOKTYPE_SPELL ("spell") or BOOKTYPE_PET ("pet"). "spell" is linked to your General Spellbook tab.
Returns[edit]
- isPassive
- Flag : 1 if the spell is passive, nil otherwise.
Details[edit]
- With my Human Paladin, here are the "spells" I found to be Passive:
- Block (Passive)
- Diplomacy (Racial Passive)
- Dodge (Passive)
- Mace Specialization (Passive)
- Parry (Passive)
- Sword Specialization (Passive)
- The Human Spirit (Racial Passive)