public virtual void Register(TakeBuff a) { Notification.NoticeBelow(Languages.getString(codeThongBao)); host = a; for (int i = 0; i < buffs.Count; i++) { a.Register(this, buffs[i].typeBuff, buffs[i].value); } }
public static void BuffToTake(TakeBuff take, int type, float value) { take.Register(null, type, value); }