Skip to content

Commit f3509ba

Browse files
committed
Sirran the Lunatic Timers added when POS boss mobs die
1 parent a9e143b commit f3509ba

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

EQTool/Services/Handlers/SlainHandler.cs

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ public class SlainHandler : BaseHandler
1515
private readonly PlayerTrackerService playerTrackerService;
1616
private readonly EQSpells spells;
1717
private readonly FightHistory fightHistory;
18+
private readonly List<string> POSBoss = new List<string>()
19+
{
20+
"Thunder Spirit Princess",
21+
"Gorgalosk",
22+
"Keeper of Souls",
23+
"The Spiroc Lord",
24+
"Bazzt Zzzt",
25+
"Sister of the Spire"
26+
};
27+
1828

1929
private string Victim = string.Empty;
2030
private string Killer = string.Empty;
@@ -190,6 +200,7 @@ public void DoEvent(ConfirmedDeathEvent e, bool guess)
190200
GroupName = CustomTimer.CustomerTime,
191201
ProgressBarColor = Brushes.LightSalmon
192202
};
203+
193204
appDispatcher.DispatchUI(() =>
194205
{
195206
var grpname = e.Victim;
@@ -215,6 +226,21 @@ public void DoEvent(ConfirmedDeathEvent e, bool guess)
215226
}
216227

217228
spellWindowViewModel.TryAdd(add);
229+
if (POSBoss.Contains(e.Victim))
230+
{
231+
add = new TimerViewModel
232+
{
233+
Name = "--Sirran the Lunatic-- ",
234+
TotalDuration = TimeSpan.FromMinutes(15),
235+
TotalRemainingDuration = TimeSpan.FromMinutes(15),
236+
Icon = spell.SpellIcon,
237+
Rect = spell.Rect,
238+
PercentLeft = 100,
239+
GroupName = CustomTimer.CustomerTime,
240+
ProgressBarColor = Brushes.Coral
241+
};
242+
spellWindowViewModel.TryAdd(add, true);
243+
}
218244
});
219245
}
220246
}

0 commit comments

Comments
 (0)