17 return Card.category.skill != 0;
44 TryLearn(6011, 281, 0);
45 TryLearn(6018, 226, 0);
46 TryLearn(6019, 227, 0);
47 TryLearn(6700, 1649, 0);
48 TryLearn(6720, 1657, 0);
49 TryLearn(6450, 132, 5);
51 void TryLearn(
int eleAction,
int reqEle,
int lqlv)
75 if (threshMsg == 0 || Mathf.Abs(v) >= threshMsg)
77 string lang = ((v > 0) ?
"potentialInc" :
"potentialDec");
97 EClass.player.flags.canComupWithFoodRecipe =
true;
110 string text = e.
source.GetText(
"textInc", returnNull:
true);
154 string text = e.
source.GetText(
"textDec", returnNull:
true);
179 num += element.
Value;
184 if (
id == 70 || (uint)(
id - 72) <= 1u)
189 if (member.
Evalue(1419) > 0)
191 num2 += member.
Evalue(1419);
206 num += Mathf.Max(1, (e.
ValueWithoutLink + e.
vLink) * (
int)Mathf.Clamp(4f + Mathf.Sqrt(num3) * (
float)num2 * 2f, 5f, 30f) / 100);
216 num = num * 2 + (e.ValueWithoutLink + e.
vLink);
228 num += (e.ValueWithoutLink + e.
vLink) * num4 / 2 / 100;
231 num += (e.ValueWithoutLink + e.
vLink) * num4 / 100;
237 if (!e.
source.aliasMtp.IsEmpty())
242 num += (e.ValueWithoutLink + e.
vLink) * num5 / 100;
Dictionary< int, int > elementMap
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
virtual CardRow sourceCard
SourceCategory.Row category
void Say(string lang, string ref1=null, string ref2=null)
override bool IsPCFaction
void CalculateMaxStamina()
static SourceManager sources
void SetOwner(Card c, bool applyFeat)
override void OnLearn(int ele)
override bool IsMeleeWeapon
override int ValueBonus(Element e)
override void OnLevelDown(Element e, int lastValue)
override void OnTrain(int ele)
override void OnModTempPotential(Element e, int v, int threshMsg)
override void OnLevelUp(Element e, int lastValue)
int ValueWithoutLink(int ele)
void ApplyElementMap(int uid, SourceValueType type, Dictionary< int, int > map, int lv, bool invert=false, bool applyFeat=false)
Element SetBase(string alias, int v, int potential=0)
Element GetElement(string alias)
virtual bool ShowMsgOnValueChanged
string Log(string idLang, string ref1=null, string ref2=null, string ref3=null, string ref4=null)
ElementContainerFaction charaElements
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
int CountKeyItem(string alias)
void TalkWitnesses(Chara criminal, string idTalk, int radius=4, WitnessType type=WitnessType.everyone, Func< Chara, bool > talkIf=null, int chance=3)
static void Say(string text, FontColor fontColor=FontColor.Default, Sprite sprite=null)