Mercurial > mm7
comparison CastSpellInfo.cpp @ 1951:524fe0810f32
pActorBuffs[7] to pActorBuffs[ACTOR_BUFF_SLOWED]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:13:15 -0700 |
parents | 8509a59af88f |
children | 23cb27a497a0 |
comparison
equal
deleted
inserted
replaced
1950:8509a59af88f | 1951:524fe0810f32 |
---|---|
880 break; | 880 break; |
881 } | 881 } |
882 v58 = (signed __int64)((double)(23040 * v2) * 0.033333335); | 882 v58 = (signed __int64)((double)(23040 * v2) * 0.033333335); |
883 //v59 = v721; | 883 //v59 = v721; |
884 pActor = &pActors[PID_ID(a2)]; | 884 pActor = &pActors[PID_ID(a2)]; |
885 //((SpellBuff *)((char *)&pActors[0].pActorBuffs[7] + v721))->Apply( | 885 //((SpellBuff *)((char *)&pActors[0].pActorBuffs[ACTOR_BUFF_SLOWED] + v721))->Apply( |
886 pActor->pActorBuffs[7].Apply(pParty->uTimePlayed + (signed int)v58, v731, amount, 0, 0); | 886 pActor->pActorBuffs[ACTOR_BUFF_SLOWED].Apply(pParty->uTimePlayed + (signed int)v58, v731, amount, 0, 0); |
887 //*((char *)&pActors[0].uAttributes + v59 + 2) |= 8u; | 887 //*((char *)&pActors[0].uAttributes + v59 + 2) |= 8u; |
888 BYTE2(pActor->uAttributes) |= 8u; | 888 BYTE2(pActor->uAttributes) |= 8u; |
889 //v672 = 0; | 889 //v672 = 0; |
890 v661 = (Actor *)LODWORD(v718); | 890 v661 = (Actor *)LODWORD(v718); |
891 pGame->GetStru6()->_4A7E89_sparkles_on_actor_after_it_casts_buff(v661, 0); | 891 pGame->GetStru6()->_4A7E89_sparkles_on_actor_after_it_casts_buff(v661, 0); |