HalfMercy
Member
I was playing with adding a new level of poison into the game. I did it and tested it - it was a success except for the fact that the new level of poison shows the overhead messages for level 3 poison. In Mobile.cs, I tracked down this code:
public virtual void OnPoisoned(Mobile from, Poison poison, Poison oldPoison)
{
if (poison != null)
{
#region Mondain's Legacy
LocalOverheadMessage(MessageType.Regular, 0x21, 1042857 + (poison.RealLevel * 2));
NonlocalOverheadMessage(MessageType.Regular, 0x21, 1042858 + (poison.RealLevel * 2), Name);
#endregion
}
}
Which shows me the message numbers but that didn't help me track them down. Where can I locate these messages so that I can modify them or add new entries?
public virtual void OnPoisoned(Mobile from, Poison poison, Poison oldPoison)
{
if (poison != null)
{
#region Mondain's Legacy
LocalOverheadMessage(MessageType.Regular, 0x21, 1042857 + (poison.RealLevel * 2));
NonlocalOverheadMessage(MessageType.Regular, 0x21, 1042858 + (poison.RealLevel * 2), Name);
#endregion
}
}
Which shows me the message numbers but that didn't help me track them down. Where can I locate these messages so that I can modify them or add new entries?