public void GiveAp(int amount)
{
this.AbilityPoints += (short)Math2.Clamp(short.MinValue, short.MaxValue, amount);
Send.StatUpdate(this, StatUpdateType.Private, Stat.AbilityPoints);
}
public override void Reward(Creature creature, Quest quest) { creature.GiveAp(this.Amount); Send.AcquireInfo(creature, "ap", this.Amount); }