Skip to content

Commit

Permalink
add arch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannsebold6666 committed Mar 15, 2024
1 parent cc98484 commit f44400b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ClassicUO.Client/Dust765/External/OnCastingGump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void Start(uint _spell_id, uint _re = 0)
SpellAction spell = (SpellAction)_spell_id;
circle = (uint)SpellManager.GetCircle(spell);
uint protection_delay = 0;
if (World.Player.IsBuffIconExists(BuffIconType.Protection))
if (World.Player.IsBuffIconExists(BuffIconType.Protection) || World.Player.IsBuffIconExists(BuffIconType.ArchProtection))
{
protection_delay = protection_delay + 4;
}
Expand All @@ -74,7 +74,7 @@ public void Start(uint _spell_id, uint _re = 0)
}
catch
{
// cant discover the spell

Stop();

}
Expand Down

0 comments on commit f44400b

Please sign in to comment.