MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / IsRedSP

Method IsRedSP

src/New/Entity/ShieldClass.cpp:875–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873}
874
875bool ShieldClass::IsRedSP()
876{
877 return this->HP <= this->Type->GetConditionYellow() * this->Type->Strength.Get();
878}
879
880void ShieldClass::DrawShieldBar_Building(const int length, RectangleStruct* pBound)
881{

Callers

nothing calls this directly

Calls 2

GetConditionYellowMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected