1using System.Collections.Generic;
6 public override string Name => (
IsDebuff ?
"debuff" :
"buff").lang();
30 return base.MaxDuration;
42 return base.IsOverrideConditionMet(c, turn);
49 if (base.refVal2 == 268)
53 return base.EvaluateTurn(p) * ((base.refVal == 79) ? 50 : 100) / 100;
91 return base.GetPhaseStr();
108 return conBuffStats.refVal == base.refVal;
115 base.SetOwner(_owner);
122 if (base.refVal2 == 268)
124 return 100 + (int)Mathf.Sqrt(base.power) * 2;
126 if (base.refVal == 79)
128 return (
int)Mathf.Max(5f, Mathf.Sqrt(base.power) * 1.5f + 20f);
130 return (
int)Mathf.Max(5f, Mathf.Sqrt(base.power) * 2f - 15f);
135 list.Add((
IsDebuff ?
"hintDebuffStats" :
"hintBuffStats").lang(base.sourceElement.GetName(),
CalcValue().
ToString() ??
""));
ElementContainer elements
override string ToString()
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Effect PlayEffect(string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3))
void Say(string lang, string ref1=null, string ref2=null)
override void PlayEffect()
override int EvaluateTurn(int p)
override bool IsOverrideConditionMet(Condition c, int turn)
override bool ShouldOverride(Condition c)
override bool UseElements
override bool CanStack(Condition c)
override ConditionType Type
override string GetPhaseStr()
override void SetOwner(Chara _owner, bool onDeserialize=false)
override Color GetColor(SkinColorProfile c)
override string GetText()
override bool AllowMultipleInstance
override void OnWriteNote(List< string > list)
static SourceManager sources
Element SetBase(string alias, int v, int potential=0)
static string[] GetList(string id)