Mercurial > mm7
changeset 1964:2b6c6ff66823
pActorBuffs[20] to pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:22:27 -0700 |
parents | 223143ef1289 |
children | 182d49f28170 |
files | Actor.cpp mm7_6.cpp |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Actor.cpp Fri Oct 25 11:22:01 2013 -0700 +++ b/Actor.cpp Fri Oct 25 11:22:27 2013 -0700 @@ -710,7 +710,7 @@ v68 = 300 * realPoints + 3840; else v68 = 900 * realPoints + 3840; - actorPtr->pActorBuffs[20].Apply( + actorPtr->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].Apply( pParty->uTimePlayed + (signed int)(signed __int64)((double)(v68 << 7) * 0.033333335), masteryLevel, 0,
--- a/mm7_6.cpp Fri Oct 25 11:22:01 2013 -0700 +++ b/mm7_6.cpp Fri Oct 25 11:22:27 2013 -0700 @@ -296,12 +296,12 @@ } case 95: { - if ( SHIDWORD(pActor->pActorBuffs[20].uExpireTime) < 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) < 0 ) return 1; - if ( SHIDWORD(pActor->pActorBuffs[20].uExpireTime) > 0 ) + if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) > 0 ) return 0; v3 = 0; - v4 = LODWORD(pActor->pActorBuffs[20].uExpireTime) == 0; + v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) == 0; break; } case 73: