Searched refs:isAbilityPresent (Results 1 – 6 of 6) sorted by relevance
236 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 …]
186 bool isAbilityPresent( const fheroes2::MonsterAbilityType abilityType ) const;
587 …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()
544 else if ( !isAbilityPresent( fheroes2::MonsterAbilityType::NO_MELEE_PENALTY ) ) { in CalculateDamageUnit()991 …&& ( isAbilityPresent( fheroes2::MonsterAbilityType::ALWAYS_RETALIATE ) || !Modes( TR_RESPONSED ) … in AllowResponse()
1629 else if ( _currentUnit->isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) in RedrawCover()2917 if ( attacker.isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) && archer ) { in RedrawActionAttackPart1()
499 if ( currentUnit.isAbilityPresent( fheroes2::MonsterAbilityType::AREA_SHOT ) ) { in archerDecision()