MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / isKo

Method isKo

source/entities/Creature.cpp:2973–2980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2971}
2972
2973bool Creature::isKo() const
2974{
2975 if(getIsOnServerMap())
2976 return mKoTurnCounter != 0;
2977
2978 // On client side, we test mood overlay value
2979 return (mOverlayMoodValue & KoDeathOrTemp) != 0;
2980}
2981
2982bool Creature::isKoDeath() const
2983{

Callers 1

doUpkeepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected