Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fix the treasure hunt name plate id.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 19, 2023
1 parent 1429a01 commit bd514da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RotationSolver/Updaters/TargetUpdater_NamePlate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Dalamud.Game.ClientState.Objects.Types;
using RotationSolver.Commands;
using RotationSolver.Helpers;
using System;
using System.Collections.Generic;
Expand All @@ -14,8 +15,8 @@ internal static partial class TargetUpdater
private static void UpdateNamePlate(IEnumerable<BattleChara> allTargets)
{
List<uint> charas = new List<uint>(5);
//60701 - 60705 For treasure hunt.
for (int i = 60701; i <= 60705; i++)
//60687 - 60691 For treasure hunt.
for (int i = 60687; i <= 60691; i++)
{
var b = allTargets.FirstOrDefault(obj => obj.GetNamePlateIcon() == i);
if (b == null || b.CurrentHp == 0) continue;
Expand Down

0 comments on commit bd514da

Please sign in to comment.