Home
last modified time | relevance | path

Searched refs:towerStr (Results 1 – 2 of 2) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/
H A Dai_normal_battle.cpp386 double towerStr = getTowerStrength( Arena::GetTower( TWR_CENTER ) ); in analyzeBattleState() local
387 towerStr += getTowerStrength( Arena::GetTower( TWR_LEFT ) ); in analyzeBattleState()
388 towerStr += getTowerStrength( Arena::GetTower( TWR_RIGHT ) ); in analyzeBattleState()
389 DEBUG_LOG( DBG_BATTLE, DBG_TRACE, "- Castle strength: " << towerStr ); in analyzeBattleState()
393 _myShooterStr += towerStr; in analyzeBattleState()
399 _enemyShooterStr += towerStr; in analyzeBattleState()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/
H A Dcastle.cpp2216 const double towerStr = tower.GetStrengthWithBonus( tower.GetBonus(), 0 ); in GetGarrisonStrength() local
2218 totalStrength += towerStr; in GetGarrisonStrength()
2220 totalStrength += towerStr / 2; in GetGarrisonStrength()
2223 totalStrength += towerStr / 2; in GetGarrisonStrength()