| 490 | } |
| 491 | |
| 492 | void zNPCTiki::Damage(en_NPC_DAMAGE_TYPE damtype, xBase* who, const xVec3* vec_hit) |
| 493 | { |
| 494 | if (((this->SelfType() != NPC_TYPE_TIKI_STONE) || (damtype == DMGTYP_CRUISEBUBBLE) || |
| 495 | (damtype - DMGTYP_THUNDER_TIKI_EXPLOSION <= (U32)1) || |
| 496 | (damtype - DMGTYP_INSTAKILL <= (U32)1)) && |
| 497 | this->flg_vuln != 0) |
| 498 | { |
| 499 | this->psy_instinct->GoalSet(NPC_GOAL_TIKIDYING, 0); |
| 500 | this->flg_vuln = 0; |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | S32 zNPCTiki::SetCarryState(en_NPC_CARRY_STATE cs) |
| 505 | { |
no test coverage detected