Example #1
0
		/// <summary>
		/// Delve for this RA
		/// </summary>
		/// <param name="w"></param>
		public virtual void AddDelve(DetailDisplayHandler.DelveWriter w)
		{
			w.Value("Name", Name);
			w.Value("icon", Icon, Icon > 0);

			for (int i = 0; i <= MaxLevel - 1; i++)
			{
				if (CostForUpgrade(i) > 0)
					w.Value("TrainingCost_" + (i + 1), CostForUpgrade(i));
			}
		}
Example #2
0
		public override void AddDelve(DetailDisplayHandler.DelveWriter w)
		{
			base.AddDelve(w);

			for (int i = 1; i <= MaxLevel; i++)
			{
				w.Value("ReuseTimer_" + i, GetReUseDelay(i));
			}
		}