if ( localPlayer.Point >= 1000000.0 ) { detected(); }

if ( localPlayer.SpecialPoint >= 1000.0 ) { detected(); }

 

if ( GameConfig::GetAttackDamageUpgradeNeedCost(0) <= 0.0 ) { detected(); }

if ( GameConfig::GetAttackDamageUpgradeNeedCost(1) <= 0.0 ) { detected(); }

if ( GameConfig::GetAttackDamageUpgradeNeedCost(2) <= 0.0 ) { detected(); }

 

auto rareSpawn = GameConfig::GetSpecialSpawn(EUnitGradeType.Rare);

if ( rareSpawn && rareSpawn.Cost < 1 ) { detected(); }

 

auto epicSpawn = GameConfig::GetSpecialSpawn(EUnitGradeType.Epic);

if ( epicSpawn && epicSpawn.Cost < 1 ) { detected(); }

 

auto legendSpawn = GameConfig::GetSpecialSpawn(EUnitGradeType.Legend);

if ( legendSpawn && legendSpawn.Cost < 1 ) { detected(); }