public static void IncreaseBattleLust(Mobile m, int damage)
{
if (damage < 30)
{
return;
}
else if (AosWeaponAttributes.GetValue(m, AosWeaponAttribute.BattleLust) == 0)
{
return;
}
else if (m_Table.ContainsKey(m))
{
if (m_Table[m].CanGain)
{
if (m_Table[m].Bonus < 16)
{
m_Table[m].Bonus++;
}
m_Table[m].CanGain = false;
}
}
else
{
BattleLustTimer blt = new BattleLustTimer(m, 1);
blt.Start();
m_Table.Add(m, blt);
m.SendLocalizedMessage(1113748); // The damage you received fuels your battle fury.
}
}