Files
source/Tactical
Sevenfm 0e0d329b95 New option DEFEAT_MODE:
- 0: default, any lost battle is considered defeat
- 1: if enemy team was alerted
- 2: if at least one of retreating mercs is not covert
- 3: if at least one merc was killed in battle
- 4: if all mercs were killed in battle

MORALE_RAN_AWAY:
- apply penalty when retreating from sector only if enemy team was alerted
- improved check for mercs in sector
- no MORALE_HEARD_BATTLE_LOST penalty
- no reputation loss when retreating from battle

CheckForEndOfBattle:
- only apply morale and loyalty penalty if player was defeated
- only play death music if player is defeated
- log defeat only when player was defeated
- clear aware status for enemy team, clear enemy kill counter

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8945 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2021-02-21 13:18:04 +00:00
..
2020-03-08 22:39:21 +00:00
2020-06-17 22:27:20 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2014-01-01 12:02:23 +00:00
2014-01-01 12:02:23 +00:00
2020-03-08 22:39:21 +00:00
2020-06-25 22:42:44 +00:00
2020-06-25 22:42:44 +00:00
2017-09-13 20:01:48 +00:00
2020-11-01 05:01:11 +00:00
2020-07-24 19:27:34 +00:00
2019-01-02 13:22:24 +00:00
2014-04-24 18:35:30 +00:00
2016-04-24 19:59:25 +00:00
2017-01-23 19:28:19 +00:00
2017-08-26 21:58:47 +00:00
2021-02-21 13:18:04 +00:00
2021-02-21 13:18:04 +00:00
2014-06-03 18:13:23 +00:00
2020-07-24 19:27:34 +00:00
2020-07-24 19:27:34 +00:00
2017-04-12 08:09:12 +00:00
2020-07-02 22:11:11 +00:00
2020-07-24 19:25:47 +00:00
2020-07-17 11:22:29 +00:00
2020-06-25 22:42:44 +00:00
2016-04-24 19:59:25 +00:00
2020-06-25 22:42:44 +00:00
2020-08-07 12:12:31 +00:00
2020-06-25 22:42:44 +00:00
2012-11-15 00:03:39 +00:00
2014-04-24 18:35:30 +00:00
2012-04-10 23:45:46 +00:00
2008-11-06 00:46:54 +00:00
2010-02-20 15:49:46 +00:00
2014-02-18 07:21:55 +00:00