Mercurial > mm7
diff Actor.cpp @ 1965:182d49f28170
pActorBuffs[21] to pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:23:34 -0700 |
parents | 2b6c6ff66823 |
children | 7840fe323f67 |
line wrap: on
line diff
--- a/Actor.cpp Fri Oct 25 11:22:27 2013 -0700 +++ b/Actor.cpp Fri Oct 25 11:23:34 2013 -0700 @@ -553,7 +553,7 @@ v51 = 0; else v51 = 3600 * realPoints; - actorPtr->pActorBuffs[21].Apply( + actorPtr->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].Apply( pParty->uTimePlayed + (signed int)(signed __int64)((double)(v51 << 7) * 0.033333335), masteryLevel, realPoints, @@ -1431,8 +1431,8 @@ v2 = this->pActorBuffs[ACTOR_BUFF_HOUR_OF_POWER].uPower; if ( this->pActorBuffs[ACTOR_BUFF_HEROISM].uExpireTime > 0 && this->pActorBuffs[ACTOR_BUFF_HEROISM].uPower > v2 ) v2 = this->pActorBuffs[ACTOR_BUFF_HEROISM].uPower; - if ( this->pActorBuffs[21].uExpireTime > 0 ) - v2 += this->pActorBuffs[21].uPower; + if ( this->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime > 0 ) + v2 += this->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uPower; v3 = this->pMonsterInfo.uAttack1DamageDiceRolls; v4 = this->pMonsterInfo.uAttack1DamageDiceSides; v5 = this->pMonsterInfo.uAttack1DamageBonus;