Home
last modified time | relevance | path

Searched refs:isAbilityPresent (Results 1 – 6 of 6) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/monster/
H A Dmonster.cpp236 if ( isAbilityPresent( fheroes2::MonsterAbilityType::DOUBLE_DAMAGE_TO_UNDEAD ) ) in GetMonsterStrength()
240 if ( isAbilityPresent( fheroes2::MonsterAbilityType::ALWAYS_RETALIATE ) ) in GetMonsterStrength()
242 …if ( isAbilityPresent( fheroes2::MonsterAbilityType::ALL_ADJACENT_CELL_MELEE_ATTACK ) || isAbility… in GetMonsterStrength()
373 return isAbilityPresent( fheroes2::MonsterAbilityType::ELEMENTAL ); in isElemental()
378 return isAbilityPresent( fheroes2::MonsterAbilityType::UNDEAD ); in isUndead()
390 return isAbilityPresent( fheroes2::MonsterAbilityType::FLYING ); in isFlying()
395 return isAbilityPresent( fheroes2::MonsterAbilityType::DOUBLE_HEX_SIZE ); in isWide()
410 return isAbilityPresent( fheroes2::MonsterAbilityType::NO_ENEMY_RETALIATION ); in ignoreRetaliation()
415 return isAbilityPresent( fheroes2::MonsterAbilityType::DRAGON ); in isDragons()
420 …return isAbilityPresent( fheroes2::MonsterAbilityType::DOUBLE_MELEE_ATTACK ) || isAbilityPresent( … in isTwiceAttack()
[all …]
H A Dmonster.h186 bool isAbilityPresent( const fheroes2::MonsterAbilityType abilityType ) const;
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/
H A Dbattle_action.cpp587 …else if ( attacker.isAbilityPresent( fheroes2::MonsterAbilityType::ALL_ADJACENT_CELL_MELEE_ATTACK … in GetTargetsForDamage()
599 …else if ( attacker.isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) && !attacker.isHand… in GetTargetsForDamage()
H A Dbattle_troop.cpp544 else if ( !isAbilityPresent( fheroes2::MonsterAbilityType::NO_MELEE_PENALTY ) ) { in CalculateDamageUnit()
991 …&& ( isAbilityPresent( fheroes2::MonsterAbilityType::ALWAYS_RETALIATE ) || !Modes( TR_RESPONSED ) … in AllowResponse()
H A Dbattle_interface.cpp1629 else if ( _currentUnit->isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) in RedrawCover()
2917 if ( attacker.isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) && archer ) { in RedrawActionAttackPart1()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/
H A Dai_normal_battle.cpp499 if ( currentUnit.isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) ) { in archerDecision()