Mercurial > mm7
comparison Actor.cpp @ 2490:0a0c6d75aabe
two_handed_left_fist
author | Ritor1 |
---|---|
date | Fri, 12 Sep 2014 18:05:26 +0600 |
parents | b054ea5daf45 |
children | 85a12b497698 |
comparison
equal
deleted
inserted
replaced
2489:ceda74e07201 | 2490:0a0c6d75aabe |
---|---|
2609 { | 2609 { |
2610 if ( !pActors[actor_id].IsNotAlive() ) | 2610 if ( !pActors[actor_id].IsNotAlive() ) |
2611 { | 2611 { |
2612 pActors[actor_id].uLastCharacterIDToHit = attacker_id; | 2612 pActors[actor_id].uLastCharacterIDToHit = attacker_id; |
2613 if ( pActors[actor_id].uAIState == Fleeing ) | 2613 if ( pActors[actor_id].uAIState == Fleeing ) |
2614 pActors[actor_id].uAttributes |= FACE_UNKNOW7; | 2614 pActors[actor_id].uAttributes |= 0x20000; |
2615 if ( pActors[PID_ID(attacker_id)]._4273BB_DoesHitOtherActor(&pActors[actor_id], v4, 0) ) | 2615 if ( pActors[PID_ID(attacker_id)]._4273BB_DoesHitOtherActor(&pActors[actor_id], v4, 0) ) |
2616 { | 2616 { |
2617 dmgToRecv = pActors[PID_ID(attacker_id)]._43B3E0_CalcDamage(a4); | 2617 dmgToRecv = pActors[PID_ID(attacker_id)]._43B3E0_CalcDamage(a4); |
2618 if ( pActors[PID_ID(attacker_id)].pActorBuffs[ACTOR_BUFF_SHRINK].uExpireTime > 0 ) | 2618 if ( pActors[PID_ID(attacker_id)].pActorBuffs[ACTOR_BUFF_SHRINK].uExpireTime > 0 ) |
2619 { | 2619 { |