MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / IsWounded

Method IsWounded

src/SB/Game/zNPCTypeRobot.cpp:777–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777S32 zNPCRobot::IsWounded()
778{
779 return IsDead() ? 0 : cfg_npc->pts_damage - hitpoints;
780}
781
782void zNPCRobot::InflictPain(S32 numHitPoints, S32 giveCreditToPlayer)
783{

Callers

nothing calls this directly

Calls 1

IsDeadFunction · 0.85

Tested by

no test coverage detected