namespace ODMO.Commons.Models.Config
{
public sealed partial class MobDebuffModel: Buff
{
///
/// Creates a new digimon buff.
///
/// Buff id (client reference).
/// Skill id (client reference).
/// Buff duration (in seconds).
public static MobDebuffModel Create(int buffId, int skillId, int TypeN = 0, int duration = 0, int Cooldown = 0)
{
var buff = new MobDebuffModel();
buff.SetSkillId(skillId);
buff.SetBuffId(buffId);
buff.SetTypeN(TypeN);
buff.SetCooldown(Cooldown);
buff.IncreaseDuration(duration);
return buff;
}
}
}