comparison SpriteObject.cpp @ 2300:4c3f91554be8

stru319::GetMagicalResistance renamed to stru319::DoesDmgTypeDoDamage
author Grumpy7
date Sun, 16 Mar 2014 19:58:02 +0100
parents aff7a7b072b7
children df24d11208df
comparison
equal deleted inserted replaced
2294:815d9ecf9881 2300:4c3f91554be8
1030 //.text:0046BF83 fstp st 1030 //.text:0046BF83 fstp st
1031 //.text:0046BF85 jnz short loc_46BFDD 1031 //.text:0046BF85 jnz short loc_46BFDD
1032 1032
1033 if ( v11 >= v7 * v7 + v9 * v9 + v10 * v10 ) 1033 if ( v11 >= v7 * v7 + v9 * v9 + v10 * v10 )
1034 { 1034 {
1035 if ( stru_50C198.GetMagicalResistance(&pActors[i], 0xAu) ) 1035 if ( stru_50C198.DoesDmgTypeDoDamage(&pActors[i], 0xAu) )
1036 { 1036 {
1037 pActors[i].pActorBuffs[this->spell_id].Apply(pParty->uTimePlayed + (signed int)(signed __int64)((double)(this->spell_level << 7) * 0.033333335), 1037 pActors[i].pActorBuffs[this->spell_id].Apply(pParty->uTimePlayed + (signed int)(signed __int64)((double)(this->spell_level << 7) * 0.033333335),
1038 this->spell_skill, 4, 0, 0); 1038 this->spell_skill, 4, 0, 0);
1039 HIWORD(pActors[i].uAttributes) |= 8; 1039 HIWORD(pActors[i].uAttributes) |= 8;
1040 } 1040 }