private static void ActivateHealMp(Player player, int amount, List<Packet> pkts)
{
var maxMp = player.Stats[1] + player.Boost[1];
var newMp = Math.Min(maxMp, player.MP + amount);
if (newMp != player.MP)
{
pkts.Add(new ShowEffectPacket
{
EffectType = EffectType.Potion,
TargetId = player.Id,
Color = new ARGB(0xffffffff)
});
pkts.Add(new NotificationPacket
{
Color = new ARGB(0x6084e0), // changed from ff9000ff to 0xDE825F (prod color)
ObjectId = player.Id,
Text = "+" + (newMp - player.MP)
});
player.MP = newMp;
player.UpdateCount++;
}
}