Skip to content

Commit

Permalink
[12566] Allow aura 62038 to stack at every 3 seconds
Browse files Browse the repository at this point in the history
Thanks @rsa for providing the info
  • Loading branch information
xfurry committed Oct 2, 2013
1 parent 897ed82 commit 69ef0c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/game/SpellAuras.cpp
Expand Up @@ -8202,12 +8202,14 @@ void Aura::PeriodicDummyTick()
}
case 62038: // Biting Cold
{
if (target->GetTypeId() != TYPEID_PLAYER || target->HasAura(62821))
if (target->GetTypeId() != TYPEID_PLAYER)
return;

// if player is moving remove one aura stack
if (((Player*)target)->isMoving())
target->RemoveAuraHolderFromStack(62039);
else
// otherwise add one aura stack each 3 seconds
else if (GetAuraTicks() % 3 && !target->HasAura(62821))
target->CastSpell(target, 62039, true, NULL, this);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12565"
#define REVISION_NR "12566"
#endif // __REVISION_NR_H__

0 comments on commit 69ef0c1

Please sign in to comment.