Skip to content

Commit

Permalink
fixed raid mode removing custom timers
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Dec 19, 2024
1 parent 5fac27a commit f5004f7
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions EQTool/ViewModels/SpellWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,20 @@ public void UpdateSpells(double dt_ms)
foreach (var item in SpellList.Where(a => timerTypes.Contains(a.SpellViewModelType)).Cast<TimerViewModel>().ToList())
{
var hidespell = false;
if (item.GetType() != typeof(RollViewModel))
if (item.GroupName != CustomTimer.CustomerTime)
{
if (!MasterNPCList.NPCs.Contains(item.GroupName.Trim()))
if (item.SpellViewModelType == SpellViewModelType.Timer)
{
if (settings.YouOnlySpells)
if (!MasterNPCList.NPCs.Contains(item.GroupName.Trim()))
{
hidespell = !(item.GroupName == CustomTimer.CustomerTime || item.GroupName == EQSpells.SpaceYou);
}
else if (RaidModeEnabled && item.GroupName != EQSpells.SpaceYou)
{
hidespell = true;
if (settings.YouOnlySpells)
{
hidespell = !(item.GroupName == CustomTimer.CustomerTime || item.GroupName == EQSpells.SpaceYou);
}
else if (RaidModeEnabled && item.GroupName != EQSpells.SpaceYou)
{
hidespell = true;
}
}
}
}
Expand Down

0 comments on commit f5004f7

Please sign in to comment.