MCPcopy Create free account
hub / github.com/TurningWheel/Barony / getCON

Method getCON

src/entity.cpp:9085–9094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9083-------------------------------------------------------------------------------*/
9084
9085Sint32 Entity::getCON()
9086{
9087 Stat* entitystats;
9088
9089 if ( (entitystats = this->getStats()) == nullptr )
9090 {
9091 return 0;
9092 }
9093 return statGetCON(entitystats, this);
9094}
9095
9096Sint32 statGetCON(Stat* entitystats, Entity* my)
9097{

Callers 10

actArrowFunction · 0.80
item_PotionBoozeFunction · 0.80
item_PotionJuiceFunction · 0.80
item_PotionConfusionFunction · 0.80
item_PotionBlindnessFunction · 0.80
item_PotionStrengthFunction · 0.80
item_PotionParalysisFunction · 0.80
actThrownFunction · 0.80
attackMethod · 0.80
spellEffectPoisonFunction · 0.80

Calls 2

getStatsMethod · 0.95
statGetCONFunction · 0.85

Tested by

no test coverage detected