# HG changeset patch # User Grumpy7 # Date 1382725414 25200 # Node ID 182d49f281701aca1ca607e4ee795ef7bf7dc564 # Parent 2b6c6ff66823e34cfa1d9ab74707bc79e532290d pActorBuffs[21] to pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS] diff -r 2b6c6ff66823 -r 182d49f28170 Actor.cpp --- 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; diff -r 2b6c6ff66823 -r 182d49f28170 mm7_6.cpp --- a/mm7_6.cpp Fri Oct 25 11:22:27 2013 -0700 +++ b/mm7_6.cpp Fri Oct 25 11:23:34 2013 -0700 @@ -306,12 +306,12 @@ } case 73: { - if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) < 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) < 0 ) return 1; - if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) > 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) > 0 ) return 0; v3 = 0; - v4 = LODWORD(pActor->pActorBuffs[21].uExpireTime) == 0; + v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_HAMMERHANDS].uExpireTime) == 0; break; } case 5: