DataType:spell
From MacroQuest Wiki
Contents |
[edit]
Description
This is the type used for spell information.
[edit]
Members
| Type | Member | Description |
| float | AERange | AE range (group spells use this for their range) |
| string | CastOnAnother | Message when cast on others |
| string | CastOnYou | Message when cast on yourself |
| float | CastTime | Cast time (unadjusted) |
| string | CounterType | The resist counter. Will be one of "Disease", "Poison", "Curse" or "Corruption" |
| int | CounterNumber | The number of counters that the spell adds |
| ticks | Duration | Duration of the spell (if any) |
| float | FizzleTime | Time to recover after fizzle |
| int | ID | Spell ID |
| int | Level | Level |
| int | Mana | Mana cost (unadjusted) |
| float | MyCastTime | Adjusted cast time |
| ticks | MyDuration | Adjusted Duration (if any) |
| float | MyRange | Adjusted spell range, including focus effects, etc. |
| string | Name | Spell Name |
| float | PushBack | Push back amount |
| float | Range | Maximum range to target (use AERange for AE and group spells) |
| float | RecastTime | Time to recast after successful cast |
| float | RecoveryTime | Same as FizzleTime |
| int | ResistAdj | Resist adjustment |
| string | ResistType | See below for Resist Types |
| string | SpellType | "Beneficial(Group)", "Beneficial", "Detrimental" or "Unknown" |
| bool | Stacks[duration] | Does the selected spell stack with your current buffs (duration is in ticks) |
| bool | StacksPet | Does the selected spell stack with your pet's current buffs |
| string | TargetType | See below for Target Types |
| string | Skill | See below for Skill Types |
| string | WearOff | The "wear off" message |
| bool | WillStack[name] | Does the selected spell stack with the specific buff name |
| string | To String | Same as Name |
[edit]
Resist Types
ResistType will be one of the following:
- Chromatic
- Corruption
- Cold
- Disease
- Fire
- Magic
- Poison
- Unknown
- Unresistable
- Prismatic
[edit]
Target Types
TargetType will be one of the following:
- AE PC v1
- AE PC v2
- AE Summoned
- AE Undead
- Animal
- Corpse
- Group v1
- Group v2
- LifeTap
- Line of Sight
- PB AE
- Pet
- Plant
- Self
- Single
- Summoned
- Targeted AE
- Targeted AE Tap
- Uber Dragons
- Uber Giants
- Undead
- Unknown
[edit]
Skill Types
Skill will be one of the following:
- Abjuration
- Alteration
- Conjuration
- Divination
- Evocation
[edit]
