1using System.Collections.Generic;
77 turn = Mathf.Max(100 -
lv * 10, 10);
80 public override void Tick()
125 if (condition ==
null || condition.
lv < 2)
140 list.Add(
"hintStrife".lang(
lv.ToString() ??
"",
exp +
"/" +
ExpToNext));
141 list.Add(
"hintStrife2".lang((
lv * 10).
ToString() ??
"", (
lv * 5).
ToString() ??
"").TagColorGoodBad(() =>
true));
150 list.Add(e.
Name.TagColorGoodBad(() => e.
Value >= 0));
158 list.Add(
"modValue".lang(e.
Name, ((e.
Value < 0) ?
"" :
"+") + e.
Value + (e.
source.tag.Contains(
"ratio") ?
"%" :
"")).TagColorGoodBad(() => e.
Value >= 0));
163 list.Add(
"hintStrife3".lang().TagColorGoodBad(() =>
true));
169 base.SetOwner(_owner);
ElementContainer elements
override string ToString()
Condition AddCondition(string id, int p=100, bool force=false)
bool HasCondition(string alias)
override ElementContainer GetElementContainer()
override void SetOwner(Chara _owner, bool onDeserialize=false)
override bool CanStack(Condition c)
override void OnRemoved()
override bool ShouldOverride(Condition c)
override void OnWriteNote(List< string > list)
override string TextDuration
void Kill(bool silent=false)
Dictionary< int, Element > dict
Element SetBase(string alias, int v, int potential=0)
Element GetOrCreateElement(Element ele)