Method Creature:AddThreat [-] [+]
Adds threat to the Creature from the victim.
SpellSchoolMask | ID |
---|---|
SPELL_SCHOOL_MASK_NONE | 0 |
SPELL_SCHOOL_MASK_NORMAL | 1 |
SPELL_SCHOOL_MASK_HOLY | 2 |
SPELL_SCHOOL_MASK_FIRE | 4 |
SPELL_SCHOOL_MASK_NATURE | 8 |
SPELL_SCHOOL_MASK_FROST | 16 |
SPELL_SCHOOL_MASK_SHADOW | 32 |
SPELL_SCHOOL_MASK_ARCANE | 64 |
Synopsis
Creature:AddThreat( victim, threat )
Creature:AddThreat( victim, threat, schoolMask )
Creature:AddThreat( victim, threat, schoolMask, spell )
Arguments
number threat
Threat amount.
Valid numbers: all decimal numbers.
SpellSchoolMask schoolMask (0)
[SpellSchoolMask] of the threat causer.
number spell (0)
Spell entry used for threat.
Valid numbers: integers from 0 to 4,294,967,295.
Returns
Nothing.