comparison mm7_6.cpp @ 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
comparison
equal deleted inserted replaced
1963:223143ef1289 1964:2b6c6ff66823
294 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_HOUR_OF_POWER].uExpireTime) == 0; 294 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_HOUR_OF_POWER].uExpireTime) == 0;
295 break; 295 break;
296 } 296 }
297 case 95: 297 case 95:
298 { 298 {
299 if ( SHIDWORD(pActor->pActorBuffs[20].uExpireTime) < 0 ) 299 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) < 0 )
300 return 1; 300 return 1;
301 if ( SHIDWORD(pActor->pActorBuffs[20].uExpireTime) > 0 ) 301 if ( SHIDWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) > 0 )
302 return 0; 302 return 0;
303 v3 = 0; 303 v3 = 0;
304 v4 = LODWORD(pActor->pActorBuffs[20].uExpireTime) == 0; 304 v4 = LODWORD(pActor->pActorBuffs[ACTOR_BUFF_PAIN_REFLECTION].uExpireTime) == 0;
305 break; 305 break;
306 } 306 }
307 case 73: 307 case 73:
308 { 308 {
309 if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) < 0 ) 309 if ( SHIDWORD(pActor->pActorBuffs[21].uExpireTime) < 0 )