Fix Lua error in Har8 when Merc HFac is captured after Palace is killed.

This commit is contained in:
Mustafa Alperen Seki
2021-04-13 14:28:42 +03:00
committed by abcdefg30
parent 2d05e10819
commit a9661a233a
2 changed files with 4 additions and 1 deletions

View File

@@ -281,7 +281,7 @@ WorldLoaded = function()
Trigger.OnCapture(MHeavyFactory, function()
player.MarkCompletedObjective(AllyWithMercenaries)
Media.DisplayMessage("Leader Captured. Mercenaries have been persuaded to fight with House Harkonnen.", "Mentat")
MercenaryAttackLocation = OPalace.Location
MercenaryAttackLocation = MercenaryAttackPoint.Location
ChangeOwner(mercenary_enemy, mercenary_ally)
SendStarportReinforcements(mercenary_ally)

View File

@@ -649,5 +649,8 @@ Actors:
SaboteurWaypoint6: waypoint
Owner: Neutral
Location: 64,91
MercenaryAttackPoint: waypoint
Owner: Neutral
Location: 53,38
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml