Home
last modified time | relevance | path

Searched refs:battleStats (Results 1 – 4 of 4) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/monster/
H A Dmonster_info.cpp640 os << "Attack: " << monster.battleStats.attack << std::endl; in getMonsterDescription()
641 os << "Defense: " << monster.battleStats.defense << std::endl; in getMonsterDescription()
642 os << "Min damage: " << monster.battleStats.damageMin << std::endl; in getMonsterDescription()
643 os << "Max damage: " << monster.battleStats.damageMax << std::endl; in getMonsterDescription()
644 os << "Hit Points: " << monster.battleStats.hp << std::endl; in getMonsterDescription()
646 os << "Number of shots: " << monster.battleStats.shots << std::endl; in getMonsterDescription()
647 if ( !monster.battleStats.abilities.empty() ) { in getMonsterDescription()
655 if ( !monster.battleStats.weaknesses.empty() ) { in getMonsterDescription()
670 const MonsterBattleStats & battleStats = getMonsterData( monsterId ).battleStats; in getMonsterPropertiesDescription() local
672 const std::vector<MonsterAbility> & abilities = battleStats.abilities; in getMonsterPropertiesDescription()
[all …]
H A Dmonster.cpp155 return fheroes2::getMonsterData( id ).battleStats.attack; in GetAttack()
160 return fheroes2::getMonsterData( id ).battleStats.defense; in GetDefense()
185 return fheroes2::getMonsterData( id ).battleStats.damageMin; in GetDamageMin()
195 return fheroes2::getMonsterData( id ).battleStats.shots; in GetShots()
200 return fheroes2::getMonsterData( id ).battleStats.hp; in GetHitPoints()
205 return fheroes2::getMonsterData( id ).battleStats.speed; in GetSpeed()
217 const fheroes2::MonsterBattleStats & battleStats = fheroes2::getMonsterData( id ).battleStats; in GetMonsterStrength() local
222 attack = battleStats.attack; in GetMonsterStrength()
225 defense = battleStats.defense; in GetMonsterStrength()
230 double damagePotential = ( battleStats.damageMin + battleStats.damageMax ) / 2.0; in GetMonsterStrength()
[all …]
H A Dmonster_info.h169 , battleStats( battleStats_ ) in MonsterData()
179 MonsterBattleStats battleStats; member
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/
H A Dbattle_troop.cpp1578 …<fheroes2::MonsterAbility> & abilities = fheroes2::getMonsterData( GetID() ).battleStats.abilities; in GetSpellMagic()