Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
777
S32 zNPCRobot::IsWounded()
778
{
779
return IsDead() ? 0 : cfg_npc->pts_damage - hitpoints;
780
}
781
782
void zNPCRobot::InflictPain(S32 numHitPoints, S32 giveCreditToPlayer)
783
{
Callers
nothing calls this directly
Calls
1
IsDead
Function · 0.85
Tested by
no test coverage detected