Skip to content

pet_aura

Contains aura information that is loaded when a pet is loaded, so the auras that were on the pet when it logged out are still kept when it logs back in. A spell can have up to three auras, one in each of its effects.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guidintunsignedPRINO0Global Unique Identifier
casterGuidbigintunsignedPRINO0Full Global Unique Identifier
spellmediumintunsignedPRINO0
effectMasktinyintunsignedPRINO0
recalculateMasktinyintunsignedNO0
stackCounttinyintunsignedNO1
amount0mediumintsignedNO
amount1mediumintsignedNO
amount2mediumintsignedNO
base_amount0mediumintsignedNO
base_amount1mediumintsignedNO
base_amount2mediumintsignedNO
maxDurationintsignedNO0
remainTimeintsignedNO0
remainChargestinyintunsignedNO0
critChancefloatNO0
applyResiliencetinyintsignedNO0

 

Description of fields ​

guid ​

The pet id of the pet affected by the aura.
 

casterGuid ​

Depending on the caster who applied the aura:

spell ​

The Spell ID which applied the aura.
 

effectMask ​

The effect index of the spell from which the aura came from. A spell has up to three effects, with the index being 0, 1, or 2.
 

recalculateMask ​

Bitmask of effect indizes that can be recalculated.
enum SpellEffIndex

ValueFlagName
10x1EFFECT_0
20x2EFFECT_1
40x4EFFECT_2

 

stackCount ​

Determines how many stacks of the spell the character has.
 

amount[0-2] ​

The base_amount + modifier value associated with the aura.
 

base_amount[0-2] ​

The base_amount value associated with the aura.
 

maxDuration ​

The maximum duration of the aura in ms.
 

remainTime ​

The time remaining in ms on the aura. -1 means that the aura is indefinite.
 

remainCharges ​

The number of charges remaining on the aura.
 

critChance ​

Crit chance of the caster at the moment of aura application.
 

applyResilience ​

Boolean if this aura is subject to resilience

  • 0: full amount
  • 1: reduced by resilience