Skip to content

Commit 671a962

Browse files
authored
Merge pull request #618 from FFXIV-CombatReborn/raisetarget
Correct Alliance member raising logic
2 parents bccdc11 + 35c5e36 commit 671a962

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

RotationSolver/Updaters/TargetUpdater.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ private static List<IBattleChara> GetAllHostileTargets()
191191
var deathAll = DataCenter.AllTargets?.GetDeath().ToList() ?? new List<IBattleChara>();
192192
var deathNPC = DataCenter.FriendlyNPCMembers?.GetDeath().ToList() ?? new List<IBattleChara>();
193193
var deathAllianceMembers = DataCenter.AllianceMembers?.GetDeath().ToList() ?? new List<IBattleChara>();
194-
var deathAllianceHealers = new List<IBattleChara>();
195-
var deathAllianceSupports = new List<IBattleChara>();
194+
var deathAllianceHealers = new List<IBattleChara>(deathParty);
195+
var deathAllianceSupports = new List<IBattleChara>(deathParty);
196196

197197
if (DataCenter.AllianceMembers != null)
198198
{
@@ -255,6 +255,7 @@ private static List<IBattleChara> GetAllHostileTargets()
255255
return null;
256256
}
257257

258+
258259
private static IBattleChara? GetPriorityDeathTarget(List<IBattleChara> validRaiseTargets, RaiseType raiseType = RaiseType.PartyOnly)
259260
{
260261
if (validRaiseTargets.Count == 0) return null;

0 commit comments

Comments
 (0)