public override TaskState Process() { var source = Source as IPlayable; if (source == null || Number == 0) { return(TaskState.STOP); } var buff = new BuffTask(Buffs.Attack(Number), Type, null); buff.Copy(this); return(buff.Process()); }