Mercurial > mm7
diff CastSpellInfo.cpp @ 1950:8509a59af88f
pActorBuffs[4] to pActorBuffs[ACTOR_BUFF_AFRAID]
author | Grumpy7 |
---|---|
date | Fri, 25 Oct 2013 11:12:18 -0700 |
parents | 33f3103b062b |
children | 524fe0810f32 |
line wrap: on
line diff
--- a/CastSpellInfo.cpp Fri Oct 25 11:11:31 2013 -0700 +++ b/CastSpellInfo.cpp Fri Oct 25 11:12:18 2013 -0700 @@ -2419,7 +2419,7 @@ pSpellSprite.spell_target_pid = PID(OBJECT_Actor, dword_50BF30[a2]); pSpellSprite.Create(0, 0, 0, 0); - v369->pActorBuffs[4].Apply( + v369->pActorBuffs[ACTOR_BUFF_AFRAID].Apply( pParty->uTimePlayed + (signed __int64)((double)(signed int)((int)v733 << 7) * 0.033333335), v731, 0, 0, 0); } @@ -2891,7 +2891,7 @@ pSpellSprite.Create(0, 0, 0, 0); if ( stru_50C198.GetMagicalResistance(v433, 7u) ) { - v433->pActorBuffs[4].Apply(pParty->uTimePlayed + (signed __int64)((double)(amount << 7) * 0.033333335), + v433->pActorBuffs[ACTOR_BUFF_AFRAID].Apply(pParty->uTimePlayed + (signed __int64)((double)(amount << 7) * 0.033333335), v731, 0, 0, 0); } }