mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11894] Implement spell 21056
This commit is contained in:
parent
c9ead52e68
commit
9dbd54ea19
2 changed files with 23 additions and 11 deletions
|
|
@ -7454,6 +7454,18 @@ void Aura::PeriodicTick()
|
||||||
|
|
||||||
target->AddThreat(pCaster, float(gain) * 0.5f, pInfo.critical, GetSpellSchoolMask(spellProto), spellProto);
|
target->AddThreat(pCaster, float(gain) * 0.5f, pInfo.critical, GetSpellSchoolMask(spellProto), spellProto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Some special cases
|
||||||
|
switch (GetId())
|
||||||
|
{
|
||||||
|
case 21056: // Mark of Kazzak
|
||||||
|
if (target->GetTypeId() == TYPEID_PLAYER && target->GetPower(power) == 0)
|
||||||
|
{
|
||||||
|
target->CastSpell(target, 21058, true, NULL, this);
|
||||||
|
target->RemoveAurasDueToSpell(GetId());
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELL_AURA_PERIODIC_ENERGIZE:
|
case SPELL_AURA_PERIODIC_ENERGIZE:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11893"
|
#define REVISION_NR "11894"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue