# HG changeset patch # User Grumpy7 # Date 1382725090 25200 # Node ID 3d0c57c4fa83336bc220d7f0e01d5f013a5c81fd # Parent 542c13cd72e27f47ddcc75c4b33a5af6f1326cf8 pActorBuffs[13] to pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION] diff -r 542c13cd72e2 -r 3d0c57c4fa83 Actor.cpp --- a/Actor.cpp Fri Oct 25 11:17:25 2013 -0700 +++ b/Actor.cpp Fri Oct 25 11:18:10 2013 -0700 @@ -617,7 +617,7 @@ LOWORD(realPoints) = uSkillLevel; v96 = 0; } - actorPtr->pActorBuffs[13].Apply( + actorPtr->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].Apply( pParty->uTimePlayed + (signed int)(signed __int64)((double)(v96 << 7) * 0.033333335), masteryLevel, realPoints, diff -r 542c13cd72e2 -r 3d0c57c4fa83 mm7_6.cpp --- a/mm7_6.cpp Fri Oct 25 11:17:25 2013 -0700 +++ b/mm7_6.cpp Fri Oct 25 11:18:10 2013 -0700 @@ -276,12 +276,12 @@ } case 85: { - if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) < 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) < 0 ) return 1; - if ( SHIDWORD(pActor->pActorBuffs[13].uExpireTime) > 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) > 0 ) return 0; v3 = 0; - v4 = LODWORD(pActor->pActorBuffs[13].uExpireTime) == 0; + v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_DAY_OF_PROTECTION].uExpireTime) == 0; break; } case 86: