From 941567055625ecae9d083490c9d69ffdc29bbb86 Mon Sep 17 00:00:00 2001 From: WarrentyExpired Date: Tue, 25 Aug 2026 11:42:02 -0400 Subject: [PATCH] #W# Added Bandage BuffIcon. --- Scripts/Items/Skill Items/Misc/Bandage.cs | 11 ++++++++++- Scripts/Misc/BuffIcons.cs | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Scripts/Items/Skill Items/Misc/Bandage.cs b/Scripts/Items/Skill Items/Misc/Bandage.cs index fc05623..3dfbd8c 100644 --- a/Scripts/Items/Skill Items/Misc/Bandage.cs +++ b/Scripts/Items/Skill Items/Misc/Bandage.cs @@ -198,6 +198,7 @@ namespace Server.Items m_Timer.Stop(); m_Timer = null; + BuffInfo.RemoveBuff(m_Healer, BuffIcon.GiftOfRenewal); } private static Dictionary m_Table = new Dictionary(); @@ -547,10 +548,18 @@ namespace Server.Items patient.SendLocalizedMessage( 1008078, false, healer.Name ); // : Attempting to heal you. healer.SendLocalizedMessage( 500956 ); // You begin applying the bandages. + BuffInfo.AddBuff(healer, new BuffInfo( + BuffIcon.GiftOfRenewal, + 1002082, // Cliloc Title + 1002082, // Cliloc Description + TimeSpan.FromMilliseconds(seconds), + healer, + patient.Name + )); return context; } return null; } } -} \ No newline at end of file +} diff --git a/Scripts/Misc/BuffIcons.cs b/Scripts/Misc/BuffIcons.cs index 6da8057..998c13f 100644 --- a/Scripts/Misc/BuffIcons.cs +++ b/Scripts/Misc/BuffIcons.cs @@ -8,7 +8,7 @@ namespace Server { public class BuffInfo { - public static bool Enabled { get { return Core.ML; } } + public static bool Enabled { get { return true; } } public static void Initialize() {