public QuestObjectiveCollect(int itemId, int amount) : base(amount) { this.ItemId = itemId; this.Amount = amount; this.MetaData.SetInt("TARGETITEM", itemId); this.MetaData.SetInt("TARGETCOUNT", amount); this.MetaData.SetInt("QO_FLAG", 1); } }