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

Method IsGreenSP

src/New/Entity/ShieldClass.cpp:865–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865bool ShieldClass::IsGreenSP()
866{
867 return this->Type->GetConditionYellow() * this->Type->Strength.Get() < this->HP;
868}
869
870bool ShieldClass::IsYellowSP()
871{

Callers

nothing calls this directly

Calls 2

GetConditionYellowMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected