Mercurial > mm7
comparison Actor.cpp @ 1955:0c5326e2044a
pActorBuffs[11] to pActorBuffs[ACTOR_BUFF_FATE]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:16:52 -0700 |
parents | 524fe0810f32 |
children | 542c13cd72e2 |
comparison
equal
deleted
inserted
replaced
1954:730166317ed0 | 1955:0c5326e2044a |
---|---|
522 v48 = 3 * realPoints + 60; | 522 v48 = 3 * realPoints + 60; |
523 else if (masteryLevel == 4 ) | 523 else if (masteryLevel == 4 ) |
524 v48 = 2 * (3 * realPoints + 60); | 524 v48 = 2 * (3 * realPoints + 60); |
525 else | 525 else |
526 v48 = 0; | 526 v48 = 0; |
527 actorPtr->pActorBuffs[11].Apply(pParty->uTimePlayed + 1280, masteryLevel, v48, 0, 0); | 527 actorPtr->pActorBuffs[ACTOR_BUFF_FATE].Apply(pParty->uTimePlayed + 1280, masteryLevel, v48, 0, 0); |
528 pGame->pStru6Instance->_4A7E89_sparkles_on_actor_after_it_casts_buff(actorPtr,0xC8C805u); | 528 pGame->pStru6Instance->_4A7E89_sparkles_on_actor_after_it_casts_buff(actorPtr,0xC8C805u); |
529 pAudioPlayer->PlaySound((SoundID)14020, PID(OBJECT_Actor, uActorID), 0, -1, 0, 0, 0, 0); | 529 pAudioPlayer->PlaySound((SoundID)14020, PID(OBJECT_Actor, uActorID), 0, -1, 0, 0, 0, 0); |
530 return; | 530 return; |
531 | 531 |
532 case SPELL_SPIRIT_HEROISM: | 532 case SPELL_SPIRIT_HEROISM: |