From f44400b8ede2a830fe2dd106614b67424c556bf6 Mon Sep 17 00:00:00 2001 From: Jeann Sebold Date: Thu, 14 Mar 2024 21:41:10 -0300 Subject: [PATCH] add arch protection --- src/ClassicUO.Client/Dust765/External/OnCastingGump.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClassicUO.Client/Dust765/External/OnCastingGump.cs b/src/ClassicUO.Client/Dust765/External/OnCastingGump.cs index 182780eae..b45eed350 100644 --- a/src/ClassicUO.Client/Dust765/External/OnCastingGump.cs +++ b/src/ClassicUO.Client/Dust765/External/OnCastingGump.cs @@ -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; } @@ -74,7 +74,7 @@ public void Start(uint _spell_id, uint _re = 0) } catch { - // cant discover the spell + Stop(); }