8 public override BaseHomeResource.ResourceGroup Group
18 public override float ExpRatio
22 return (
float)this.exp / (float)this.next;
27 public override void Refresh()
29 this.lastValue = this.value;
32 while (this.exp >= this.next)
34 this.exp -= this.next;
38 int value = this.value;
39 int num = this.lastValue;
43 public int ApplyModifier(
int a)
49 int num = 100 + this.value * 50;
55 public override void WriteNote(UINote n)
58 n.AddHeader(base.Name,
null);
59 n.AddText(
"vCurrent".lang() + this.value.ToString(), FontColor.DontChange);
60 n.AddText(
"vExp".lang() + this.exp.ToString() +
"/" +
this.next.ToString(), FontColor.DontChange);
71 public new int lastValue;