Skip to content

Commit

Permalink
Merge pull request #618 from FFXIV-CombatReborn/raisetarget
Browse files Browse the repository at this point in the history
Correct Alliance member raising logic
  • Loading branch information
LTS-FFXIV authored Feb 24, 2025
2 parents bccdc11 + 35c5e36 commit 671a962
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RotationSolver/Updaters/TargetUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ private static List<IBattleChara> GetAllHostileTargets()
var deathAll = DataCenter.AllTargets?.GetDeath().ToList() ?? new List<IBattleChara>();
var deathNPC = DataCenter.FriendlyNPCMembers?.GetDeath().ToList() ?? new List<IBattleChara>();
var deathAllianceMembers = DataCenter.AllianceMembers?.GetDeath().ToList() ?? new List<IBattleChara>();
var deathAllianceHealers = new List<IBattleChara>();
var deathAllianceSupports = new List<IBattleChara>();
var deathAllianceHealers = new List<IBattleChara>(deathParty);
var deathAllianceSupports = new List<IBattleChara>(deathParty);

if (DataCenter.AllianceMembers != null)
{
Expand Down Expand Up @@ -255,6 +255,7 @@ private static List<IBattleChara> GetAllHostileTargets()
return null;
}


private static IBattleChara? GetPriorityDeathTarget(List<IBattleChara> validRaiseTargets, RaiseType raiseType = RaiseType.PartyOnly)
{
if (validRaiseTargets.Count == 0) return null;
Expand Down

0 comments on commit 671a962

Please sign in to comment.