17 return Card.category.skill != 0;
52 TryLearn(6608, 1274, 0);
53 TryLearn(6011, 281, 0);
54 TryLearn(6018, 226, 0);
55 TryLearn(6019, 227, 0);
56 TryLearn(6700, 1649, 0);
57 TryLearn(6720, 1657, 0);
58 TryLearn(6450, 132, 5);
59 TryLearn(6603, 6020, 20);
62 TryLearn(6750, 241, 3);
63 TryLearn(6752, 241, 8);
64 TryLearn(6754, 241, 25);
65 TryLearn(6753, 241, 36);
68 void TryLearn(
int eleAction,
int reqEle,
int lqlv)
99 if ((threshMsg == 0 || Mathf.Abs(v) >= threshMsg) && v != 0)
101 string lang = ((v > 0) ?
"potentialInc" :
"potentialDec");
121 EClass.player.flags.canComupWithFoodRecipe =
true;
134 string text = e.
source.GetText(
"textInc", returnNull:
true);
178 string text = e.
source.GetText(
"textDec", returnNull:
true);
203 num += element.
Value;
213 if (member.
Evalue(1419) > 0)
215 num2 += member.
Evalue(1419);
230 num += Mathf.Max(1, (e.
ValueWithoutLink + e.
vLink) * (
int)Mathf.Clamp(4f + Mathf.Sqrt(num3) * (
float)num2 * 2f, 5f, 30f) / 100);
240 num = num * 2 + (e.ValueWithoutLink + e.
vLink);
252 num += (e.ValueWithoutLink + e.
vLink) * num4 / 2 / 100;
255 num += (e.ValueWithoutLink + e.
vLink) * num4 / 100;
261 if (!e.
source.aliasMtp.IsEmpty())
266 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 AddExp(int a, bool applyMod=true)
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)
bool ContainsTag(string _tag)
static void Say(string text, FontColor fontColor=FontColor.Default, Sprite sprite=null)