From 7e343bb6645e5d3c3c2dd79e226427f86d8792c1 Mon Sep 17 00:00:00 2001 From: Cekis Date: Fri, 27 May 2016 15:16:58 +0100 Subject: [PATCH] Fixed issue on Recovery space missions where ship aggro immunity time was incorrectly set on the player and not the ship. --- .../compiled/game/script/space/quest_logic/recovery.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sku.0/sys.server/compiled/game/script/space/quest_logic/recovery.java b/sku.0/sys.server/compiled/game/script/space/quest_logic/recovery.java index cac5bf1b5..364829301 100755 --- a/sku.0/sys.server/compiled/game/script/space/quest_logic/recovery.java +++ b/sku.0/sys.server/compiled/game/script/space/quest_logic/recovery.java @@ -774,7 +774,8 @@ public class recovery extends script.base_script space_quest._addMissionCriticalShip(player, self, newship); setObjVar(newship, "objMissionOwner", player); ship_ai.unitAddExclusiveAggro(newship, player); - ship_ai.unitSetAutoAggroImmuneTime(player, 3.0f); + ship_ai.unitSetAutoAggroImmuneTime(newship, 3.0f); + //ship_ai.unitSetAutoAggroImmuneTime(player, 3.0f); setObjVar(newship, "wave", wavenum); j++; if (j >= shipList.length)