mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
7f9df2ef6f
- method now uses early returns to avoid deeply nested if's - assume that retaliation damage is zero if target will die from attack - account for BLOCKS_RETALIATION bonus when computing whether target will retaliate |
||
---|---|---|
.. | ||
AccessibilityInfo.cpp | ||
AccessibilityInfo.h | ||
AutocombatPreferences.h | ||
BattleAction.cpp | ||
BattleAction.h | ||
BattleAttackInfo.cpp | ||
BattleAttackInfo.h | ||
BattleHex.cpp | ||
BattleHex.h | ||
BattleInfo.cpp | ||
BattleInfo.h | ||
BattleProxy.cpp | ||
BattleProxy.h | ||
BattleStateInfoForRetreat.cpp | ||
BattleStateInfoForRetreat.h | ||
CBattleInfoCallback.cpp | ||
CBattleInfoCallback.h | ||
CBattleInfoEssentials.cpp | ||
CBattleInfoEssentials.h | ||
CObstacleInstance.cpp | ||
CObstacleInstance.h | ||
CPlayerBattleCallback.cpp | ||
CPlayerBattleCallback.h | ||
CUnitState.cpp | ||
CUnitState.h | ||
DamageCalculator.cpp | ||
DamageCalculator.h | ||
Destination.cpp | ||
Destination.h | ||
IBattleInfoCallback.h | ||
IBattleState.cpp | ||
IBattleState.h | ||
IUnitInfo.h | ||
PossiblePlayerBattleAction.h | ||
ReachabilityInfo.cpp | ||
ReachabilityInfo.h | ||
SideInBattle.cpp | ||
SideInBattle.h | ||
SiegeInfo.cpp | ||
SiegeInfo.h | ||
Unit.cpp | ||
Unit.h |