#W# Added Bandage BuffIcon.
This commit is contained in:
parent
72562f1970
commit
9415670556
2 changed files with 11 additions and 2 deletions
|
|
@ -198,6 +198,7 @@ namespace Server.Items
|
|||
m_Timer.Stop();
|
||||
|
||||
m_Timer = null;
|
||||
BuffInfo.RemoveBuff(m_Healer, BuffIcon.GiftOfRenewal);
|
||||
}
|
||||
|
||||
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.
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue