Fix Lua error in Har8 when Merc HFac is captured after Palace is killed.
This commit is contained in:
committed by
abcdefg30
parent
2d05e10819
commit
a9661a233a
@@ -281,7 +281,7 @@ WorldLoaded = function()
|
|||||||
Trigger.OnCapture(MHeavyFactory, function()
|
Trigger.OnCapture(MHeavyFactory, function()
|
||||||
player.MarkCompletedObjective(AllyWithMercenaries)
|
player.MarkCompletedObjective(AllyWithMercenaries)
|
||||||
Media.DisplayMessage("Leader Captured. Mercenaries have been persuaded to fight with House Harkonnen.", "Mentat")
|
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)
|
ChangeOwner(mercenary_enemy, mercenary_ally)
|
||||||
SendStarportReinforcements(mercenary_ally)
|
SendStarportReinforcements(mercenary_ally)
|
||||||
|
|||||||
@@ -649,5 +649,8 @@ Actors:
|
|||||||
SaboteurWaypoint6: waypoint
|
SaboteurWaypoint6: waypoint
|
||||||
Owner: Neutral
|
Owner: Neutral
|
||||||
Location: 64,91
|
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
|
Rules: d2k|rules/campaign-rules.yaml, d2k|rules/campaign-tooltips.yaml, d2k|rules/campaign-palettes.yaml, rules.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user