2using System.Collections.Generic;
41 if (c._affinity <
item.value)
46 return list.LastItem();
116 num = Mathf.Clamp(t.
GetPrice() / (flag2 ? 10 : (flag ? 20 : 200)), 0, 50) + (flag2 ? 20 : (flag ? 5 : 0));
117 num = num * (100 + (t.
HasElement(757) ? 50 : 0)) / (100 + CC.LV * 10);
124 else if (flag2 || num > 20)
128 else if (flag || num > 10)
170 for (
int i = 0; i < a; i++)
static Affinity Get(Chara c)
static List< Affinity > list
bool CanForceTradeEquip()
bool HasElement(int ele, int req=1)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
virtual int GetPrice(CurrencyType currency=CurrencyType.Money, bool sell=false, PriceType priceType=PriceType.Default, Chara c=null)
Thing AddThing(string id, int lv=-1)
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
void ModExp(string alias, int a)
SourceCategory.Row category
void Say(string lang, string ref1=null, string ref2=null)
SourceCategory.Row GetFavCat()
void ModAffinity(Chara c, int a, bool show=true, bool showOnlyEmo=false)
SourceThing.Row GetFavFood()
List< Affinity > affinities
static string[] GetList(string id)