#W# Added Bandage BuffIcon.

This commit is contained in:
WarrentyExpired 2026-08-25 11:42:02 -04:00
parent 72562f1970
commit 9415670556
2 changed files with 11 additions and 2 deletions

View file

@ -198,6 +198,7 @@ namespace Server.Items
m_Timer.Stop(); m_Timer.Stop();
m_Timer = null; m_Timer = null;
BuffInfo.RemoveBuff(m_Healer, BuffIcon.GiftOfRenewal);
} }
private static Dictionary<Mobile, BandageContext> m_Table = new Dictionary<Mobile, BandageContext>(); private static Dictionary<Mobile, BandageContext> m_Table = new Dictionary<Mobile, BandageContext>();
@ -547,10 +548,18 @@ namespace Server.Items
patient.SendLocalizedMessage( 1008078, false, healer.Name ); // : Attempting to heal you. patient.SendLocalizedMessage( 1008078, false, healer.Name ); // : Attempting to heal you.
healer.SendLocalizedMessage( 500956 ); // You begin applying the bandages. 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 context;
} }
return null; return null;
} }
} }
} }

View file

@ -8,7 +8,7 @@ namespace Server
{ {
public class BuffInfo public class BuffInfo
{ {
public static bool Enabled { get { return Core.ML; } } public static bool Enabled { get { return true; } }
public static void Initialize() public static void Initialize()
{ {