1using System.Collections.Generic;
6 public override string Name => (
isDebuff ?
"debuff" :
"buff").lang();
30 return base.IsOverrideConditionMet(c, turn);
37 if (base.refVal2 == 268)
41 return base.EvaluateTurn(p) * ((base.refVal == 79) ? 50 : 100) / 100;
79 return base.GetText();
96 return conBuffStats.refVal == base.refVal;
103 base.SetOwner(_owner);
110 if (base.refVal2 == 268)
112 return 100 + (int)Mathf.Sqrt(base.power) * 2;
114 if (base.refVal == 79)
116 return (
int)Mathf.Max(5f, Mathf.Sqrt(base.power) * 1.5f + 20f);
118 return (
int)Mathf.Max(5f, Mathf.Sqrt(base.power) * 2f - 15f);
123 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)