EA 23.196 Nightly
September 7, 2025
24 files modified. 1 new file created.
Important Changes
Possible breaking changes. Click the filename to view the chunk.
NotificationBuff (1)
public override LayoutGroup GetLayoutGroup() ABILITY
public class ABILITY
{
public const int AI_Drink = 5045;
public const int ActChat = 5044;
public const int ActPick = 5047;
public const int ActTouchSleep = 6612;
public const int ActChat = 5044;
public const int AI_Drink = 5045;
public const int ActKick = 5042;
public static readonly int[] IDS = new int[125]
{
5045, 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5055,
5044, 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5055,
6001, 6003, 6011, 6012, 6013, 5046, 6015, 6019, 6020, 6050,
6400, 6410, 6420, 6450, 6500, 6601, 6602, 6603, 6604, 6610,
6611, 6018, 6612, 5044, 5042, 5012, 5013, 5014, 5015, 5016,
6611, 6018, 6612, 5045, 5042, 5012, 5013, 5014, 5015, 5016,
5017, 5018, 5019, 5020, 5021, 5022, 5023, 5024, 5025, 5043,
5026, 5028, 5029, 5030, 5031, 5032, 5033, 5034, 5035, 5036,
5037, 5038, 5039, 5040, 5041, 5027, 6613, 6600, 6621, 50203,AI_PlayMusic
public override IEnumerable<Status> Run()
}
if (!reacted.Contains(item2) && EClass.rnd(5) == 0)
{
if (tool != null)
{
foreach (Element value in tool.elements.dict.Values)
{
if (value.id == 489 && EClass.rnd(8) == 0)
{
item2.AddCondition<ConDrunk>();
}
if (value.source.categorySub == "eleAttack")
{
item2.ApplyElementEffect(value, value.Value * 10, owner);
}
}
}
if (owner.IsPCParty)
{
if (item2.interest <= 0 || (EClass._zone is Zone_Music && (item2.IsPCFaction || item2.IsPCFactionMinion)))
{
continue;
}
item2.interest -= EClass.rnd(10);
if (item2.interest < 0)
if (!item2.isDrunk)
{
item2.Talk("musicBored");
continue;
item2.interest -= EClass.rnd(10);
if (item2.interest < 0)
{
item2.Talk("musicBored");
continue;
}
}
}
if (EClass.rnd(num2 * num2) <= 30 && item2.pos.FirstChara == item2)public void ThrowReward(Chara c, bool punish)
Thing thing = null;
string text = "";
int num = 1;
bool flag = true;
if (punish)
{
text = ((EClass.rnd(5) == 0) ? "rock" : "pebble");public void ThrowReward(Chara c, bool punish)
{
text = "piano_killkill";
punish = true;
flag = false;
EClass.player.flags.reward_killkill++;
}
if (c.LV >= 40 && EClass.rnd(10 * (int)Mathf.Pow(2f, EClass.player.flags.reward_gould + 1)) == 0)
else if (c.LV >= 40 && EClass.rnd(10 * (int)Mathf.Pow(2f, EClass.player.flags.reward_gould + 1)) == 0)
{
text = "piano_gould";
punish = true;
flag = false;
EClass.player.flags.reward_gould++;
}
}public void ThrowReward(Chara c, bool punish)
{
return;
}
owner.Pick(thing);
if (flag)
{
owner.Pick(thing);
}
if (thing.id == "money" && !owner.IsPC)
{
int num2 = (owner.Evalue(241) * 10 + 100) / ((owner.IsPCFaction && owner.memberType == FactionMemberType.Default) ? 1 : 10);ActThrow
public static EffectIRenderer Throw(Card c, Point p, Thing t, ThrowMethod method
public static EffectIRenderer Throw(Card c, Point p, Card target, Thing t, ThrowMethod method = ThrowMethod.Default)
{
if (t.parent != EClass._zone && !t.HasElement(410))
if (t.parent != EClass._zone && (!t.HasElement(410) || method == ThrowMethod.Punish))
{
EClass._zone.AddCard(t, c.pos).KillAnime();
}BaseNotification
public virtual LayoutGroup GetLayoutGroup()
return null;
}
public virtual int GetSortVal()
{
return 0;
}
public void Refresh()
{
OnRefresh();BaseStats
return 0;
}
public virtual int GetSortVal()
{
return source.id;
}
public virtual Sprite GetSprite()
{
return SpriteSheet.Get("Media/Graphics/Icon/Element/icon_elements", idSprite) ?? EClass.core.refs.spriteDefaultCondition;BaseWidgetNotice
dirty = true;
});
}
Sort();
if (dirty)
{
layout.RebuildLayout(); }
}
public void Sort()
{
list.Sort((BaseNotification a, BaseNotification b) => b.GetSortVal() - a.GetSortVal());
for (int i = 0; i < list.Count; i++)
{
list[i].item.transform.SetSiblingIndex(4 + i);
}
}
public virtual void OnRefresh()
{
}public ItemNotice Add(BaseNotification n, Transform parent = null)
if (!activating)
{
layoutGroup.RebuildLayout(recursive: true);
Sort();
}
return itemNotice;
}Card
public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
}
if (Guild.Fighter.HasBounty(Chara))
{
int a2 = EClass.rndHalf(200 + LV * 20);
Msg.Say("bounty", Chara, a2.ToString() ?? "");
EClass.pc.ModCurrency(a2);
int a = EClass.rndHalf(200 + LV * 20);
Msg.Say("bounty", Chara, a.ToString() ?? "");
EClass.pc.ModCurrency(a);
SE.Pay();
}
}public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
}
if (dmg > 0)
{
int a3 = (int)(100L * (long)(dmg * 100 / MaxHP) / 100) + 1;
a3 = Mathf.Min(a3, Chara.isRestrained ? 15 : 200);
if (a3 > 0)
int a2 = (int)(100L * (long)(dmg * 100 / MaxHP) / 100) + 1;
a2 = Mathf.Min(a2, Chara.isRestrained ? 15 : 200);
if (a2 > 0)
{
elements.ModExp(GetArmorSkill(), a3);
elements.ModExp(GetArmorSkill(), a2);
if (Chara.body.GetAttackStyle() == AttackStyle.Shield)
{
elements.ModExp(123, a3);
elements.ModExp(123, a2);
}
}
}public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
bool flag3 = Chara.HasCondition<ConPoison>() || ((e.id == 915 || e.id == 923) && ResistLv(Evalue(955)) < 4);
AddBlood(num15, flag3 ? 6 : (-1));
}
bool flag4 = true;
if (dmg > 0 || (origin != null && origin.HasElement(1345)))
{
ApplyElementEffect(e, eleP, origin);
}
if (origin != null && origin.HasElement(1411) && !Chara.HasCondition<ConGravity>())
{
Condition.ignoreEffect = true;
Chara.AddCondition<ConGravity>(2000);
Condition.ignoreEffect = false;
}
if (IsPC)
{
float num16 = (float)hp / (float)MaxHP;
if (Evalue(1421) > 0)
{
num16 = (float)Chara.mana.value / (float)Chara.mana.max;
}
if (num16 < 0.3f)
{
PlaySound("heartbeat", 1f - num16 * 2f);
}
}
if (!IsPC && hp < MaxHP / 5 && Evalue(423) <= 0 && dmg * 100 / MaxHP + 10 > EClass.rnd(IsPowerful ? 400 : 150) && !HasCondition<ConFear>())
{
Chara.AddCondition<ConFear>(100 + EClass.rnd(100));
}
if (Chara.ai.Current.CancelWhenDamaged && attackSource != AttackSource.Hunger && attackSource != AttackSource.Fatigue && (!EClass.core.config.test.dontCancelIfZeroDamage || dmg != 0 || !IsPC))
{
Chara.ai.Current.TryCancel(origin);
}
if (Chara.HasCondition<ConWeapon>())
{
ConWeapon condition = Chara.GetCondition<ConWeapon>();
if (e.source.aliasRef == condition.sourceElement.aliasRef)
{
condition.Mod(-1);
}
}
if (Chara.HasElement(1222) && (dmg >= MaxHP / 10 || EClass.rnd(20) == 0))
{
ActEffect.Proc(EffectId.Duplicate, this);
}
if (origin != null)
{
AttackProcess.ProcShieldEncs(Chara, origin);
}
if (hp < MaxHP / 3 && HasElement(1409) && !Chara.HasCooldown(1409))
{
Chara.AddCooldown(1409);
Chara.AddCondition<ConBoost>(Power);
Chara.Cure(CureType.Boss);
Chara.HealHP(MaxHP / 2);
}
if (origin != null && origin.isChara && attackSource != AttackSource.Finish)
{
if (!AI_PlayMusic.ignoreDamage)
{
Chara.TrySetEnemy(origin.Chara);
}
if ((weapon == null || !weapon.HasElement(486)) && origin.Evalue(428) > 0 && !IsPCFactionOrMinion && EClass.rnd(dmg) >= EClass.rnd(MaxHP / 10) + MaxHP / 100 + 1)
{
origin.Chara.TryNeckHunt(Chara, origin.Evalue(428) * 20, harvest: true);
}
}
void EvadeDeath(Action action)
{
hp = 0;
if (Evalue(1421) > 0 && isChara && Chara.mana.value < 0)
{
Chara.mana.value = 0;
}
onEvade = action;
}
void Heal()
{
target.Cure(CureType.Death);
foreach (Chara member in EClass.pc.party.members)
{
member.Cure(CureType.Death);
}
}
void ProcAbsorb()
{
if (origin != null && origin.isChara && isChara && (weapon == null || !weapon.HasElement(486)))
{
int valueOrDefault = (origin.Evalue(662) + weapon?.Evalue(662, ignoreGlobalElement: true)).GetValueOrDefault();
int valueOrDefault2 = (origin.Evalue(661) + weapon?.Evalue(661, ignoreGlobalElement: true)).GetValueOrDefault();
if (valueOrDefault > 0 && attackSource == AttackSource.Melee && origin.isChara && !origin.Chara.ignoreSPAbsorb && Chara.IsHostile(origin as Chara))
{
int num17 = EClass.rnd(3 + Mathf.Clamp(dmg / 100, 0, valueOrDefault / 10));
origin.Chara.stamina.Mod(num17);
if (IsAliveInCurrentZone)
{
Chara.stamina.Mod(-num17);
}
}
if (origin.HasElement(1350) && attackSource == AttackSource.Melee)
{
int num18 = EClass.rndHalf(2 + Mathf.Clamp(dmg / 10, 0, origin.Chara.GetPietyValue() + 10));
origin.Chara.mana.Mod(num18);
if (IsAliveInCurrentZone)
{
Chara.mana.Mod(-num18);
}
}
if (valueOrDefault2 > 0 && attackSource == AttackSource.Melee)
{
int num19 = EClass.rnd(2 + Mathf.Clamp(dmg / 10, 0, valueOrDefault2 + 10));
origin.Chara.mana.Mod(num19);
if (IsAliveInCurrentZone)
{
Chara.mana.Mod(-num19);
}
}
}
}
}
public void ApplyElementEffect(Element e, int eleP, Card origin)
{
if (!isChara)
{
return;
}
bool flag = true;
switch (e.id)
{
case 910:public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
}
break;
case 918:
flag4 = false;
flag = false;
if (Chance(30 + eleP / 5, 100))
{
Chara.AddCondition<ConParalyze>(eleP);
}
break;
case 914:
flag4 = false;
flag = false;
if (EClass.rnd(3) != 0)
{
if (Chance(30 + eleP / 5, 100))public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
}
break;
case 920:
flag4 = false;
flag = false;
if (Chance(5 + eleP / 25, 40))
{
Chara.AddCondition<ConBlind>(eleP / 2);public void DamageHP(int dmg, int ele, int eleP = 100, AttackSource attackSource
Chara.ModCorruption(EClass.rnd(eleP / 50 + 10));
break;
}
if (origin != null && origin.HasElement(1411) && !Chara.HasCondition<ConGravity>())
{
Condition.ignoreEffect = true;
Chara.AddCondition<ConGravity>(2000);
Condition.ignoreEffect = false;
}
if (Chara.conSleep != null && flag4)
if (Chara.conSleep != null && flag)
{
Chara.conSleep.Kill();
}
if (IsPC)
{
float num16 = (float)hp / (float)MaxHP;
if (Evalue(1421) > 0)
{
num16 = (float)Chara.mana.value / (float)Chara.mana.max;
}
if (num16 < 0.3f)
{
PlaySound("heartbeat", 1f - num16 * 2f);
}
}
if (!IsPC && hp < MaxHP / 5 && Evalue(423) <= 0 && dmg * 100 / MaxHP + 10 > EClass.rnd(IsPowerful ? 400 : 150) && !HasCondition<ConFear>())
{
Chara.AddCondition<ConFear>(100 + EClass.rnd(100));
}
if (Chara.ai.Current.CancelWhenDamaged && attackSource != AttackSource.Hunger && attackSource != AttackSource.Fatigue && (!EClass.core.config.test.dontCancelIfZeroDamage || dmg != 0 || !IsPC))
{
Chara.ai.Current.TryCancel(origin);
}
if (Chara.HasCondition<ConWeapon>())
{
ConWeapon condition = Chara.GetCondition<ConWeapon>();
if (e.source.aliasRef == condition.sourceElement.aliasRef)
{
condition.Mod(-1);
}
}
if (Chara.HasElement(1222) && (dmg >= MaxHP / 10 || EClass.rnd(20) == 0))
{
ActEffect.Proc(EffectId.Duplicate, this);
}
if (origin != null)
{
AttackProcess.ProcShieldEncs(Chara, origin);
}
if (hp < MaxHP / 3 && HasElement(1409) && !Chara.HasCooldown(1409))
{
Chara.AddCooldown(1409);
Chara.AddCondition<ConBoost>(Power);
Chara.Cure(CureType.Boss);
Chara.HealHP(MaxHP / 2);
}
if (origin != null && origin.isChara && attackSource != AttackSource.Finish)
{
if (!AI_PlayMusic.ignoreDamage)
{
Chara.TrySetEnemy(origin.Chara);
}
if ((weapon == null || !weapon.HasElement(486)) && origin.Evalue(428) > 0 && !IsPCFactionOrMinion && EClass.rnd(dmg) >= EClass.rnd(MaxHP / 10) + MaxHP / 100 + 1)
{
origin.Chara.TryNeckHunt(Chara, origin.Evalue(428) * 20, harvest: true);
}
}
bool Chance(int a, int max)
{
if (dmg > 0 || (origin != null && origin.HasElement(1345)))
{
return Mathf.Min(a, max) > EClass.rnd(100);
}
return false;
}
void EvadeDeath(Action action)
{
hp = 0;
if (Evalue(1421) > 0 && isChara && Chara.mana.value < 0)
{
Chara.mana.value = 0;
}
onEvade = action;
}
void Heal()
static bool Chance(int a, int max)
{
target.Cure(CureType.Death);
foreach (Chara member in EClass.pc.party.members)
{
member.Cure(CureType.Death);
}
}
void ProcAbsorb()
{
if (origin != null && origin.isChara && isChara && (weapon == null || !weapon.HasElement(486)))
{
int valueOrDefault = (origin.Evalue(662) + weapon?.Evalue(662, ignoreGlobalElement: true)).GetValueOrDefault();
int valueOrDefault2 = (origin.Evalue(661) + weapon?.Evalue(661, ignoreGlobalElement: true)).GetValueOrDefault();
if (valueOrDefault > 0 && attackSource == AttackSource.Melee && origin.isChara && !origin.Chara.ignoreSPAbsorb && Chara.IsHostile(origin as Chara))
{
int num17 = EClass.rnd(3 + Mathf.Clamp(dmg / 100, 0, valueOrDefault / 10));
origin.Chara.stamina.Mod(num17);
if (IsAliveInCurrentZone)
{
Chara.stamina.Mod(-num17);
}
}
if (origin.HasElement(1350) && attackSource == AttackSource.Melee)
{
int num18 = EClass.rndHalf(2 + Mathf.Clamp(dmg / 10, 0, origin.Chara.GetPietyValue() + 10));
origin.Chara.mana.Mod(num18);
if (IsAliveInCurrentZone)
{
Chara.mana.Mod(-num18);
}
}
if (valueOrDefault2 > 0 && attackSource == AttackSource.Melee)
{
int num19 = EClass.rnd(2 + Mathf.Clamp(dmg / 10, 0, valueOrDefault2 + 10));
origin.Chara.mana.Mod(num19);
if (IsAliveInCurrentZone)
{
Chara.mana.Mod(-num19);
}
}
}
return Mathf.Min(a, max) > EClass.rnd(100);
}
}public void SpawnLoot(Card origin)
if (!flag2 && Chara.race.corpse[1].ToInt() > EClass.rnd(150000 / (100 + (int)Mathf.Sqrt(origin.Evalue(290)) * 5)))
{
flag2 = true;
origin.elements.ModExp(290, 100f);
origin.elements.ModExp(290, 150f);
}
else
{
origin.elements.ModExp(290, 5f);
origin.elements.ModExp(290, 25f);
}
}
if (id == "littleOne" && IsPCFactionOrMinion)Chara
public void AddCooldown(int idEle, int turns = 0)
}
public bool HasCooldown(int idEle)
{
return GetCooldown(idEle) != 0;
}
public int GetCooldown(int idEle)
{
if (_cooldowns != null)
{public bool HasCooldown(int idEle)
{
if (_cooldowns[i] / 1000 == idEle)
{
return true;
return _cooldowns[i] % 1000;
}
}
}
return false;
return 0;
}
public void TickCooldown()DOMAIN
public const int domOblivion = 813;
public const int domHarmony = 815;
public const int domArcane = 804;
public const int domHarmony = 815;
public const int domEyth = 814;
public const int domElement = 806;
public static readonly int[] IDS = new int[16]
{
811, 812, 809, 808, 807, 813, 815, 804, 814, 806,
811, 812, 809, 808, 807, 813, 804, 815, 814, 806,
805, 810, 801, 802, 803, 800
};
}ENC
public const int mod_frustration = 624;
public const int mod_talisman = 609;
public const int mod_feint = 623;
public const int mod_cleave = 622;
public const int mod_scatter = 607;
public const int mod_flurry = 621;
public const int mod_chaser = 620;
public const int mod_splash = 608;
public const int mod_chaser = 620;
public const int mod_talisman = 609;
public const int eco = 652;
public const int mod_feint = 623;
public const int mod_cleave = 622;
public const int living = 653;
public const int convertFire = 850;
public const int mod_scatter = 607;
public const int mod_drill = 606;
public const int convertImpact = 865;
public const int noDamage = 654;
public const int mod_drill = 606;
public const int mod_precision = 605;
public const int negateSteal = 426;
public const int bane_all = 468;
public const int mod_ammo_recover = 604;
public const int mod_ammo_knockback = 603;
public const int invisibility = 415;
public const int seeInvisible = 416;
public const int encTail = 419;
public const int negatePoison = 420;
public const int negateBlind = 421;
public const int invisibility = 415;
public const int encHit = 414;
public const int negateParalysis = 422;
public const int negateConfusion = 425;
public const int negateSteal = 426;
public const int negateNeckHunt = 427;
public const int allNeckHunt = 428;
public const int breathing = 429;
public const int negateShockwave = 430;
public const int negateFear = 423;
public const int defense_range = 435;
public const int negateShockwave = 430;
public const int encHit = 414;
public const int slowCorruption = 412;
public const int encSpell = 411;
public const int throwReturn = 410;
public const int mod_ammo_recover = 604;
public const int counter = 380;
public const int levitation = 401;
public const int searchRange = 402;
public const int encSpell = 411;
public const int slowCorruption = 412;
public const int searchRange = 402;
public const int expMod = 403;
public const int weightMod = 404;
public const int slowDecay = 405;
public const int resMutation = 406;
public const int mod_precision = 605;
public const int travelSpeed = 407;
public const int resWeather = 408;
public const int corruption = 409;
public const int throwReturn = 410;
public const int expMod = 403;
public const int weightMod = 404;
public const int defense_range = 435;
public const int guts = 436;
public const int negatePoison = 420;
public const int travelSpeed = 407;
public const int parry = 437;
public const int knightly = 438;
public const int bane_god = 466;
public const int bane_fish = 467;
public const int bane_all = 468;
public const int strongStomach = 480;
public const int revealFaith = 481;
public const int nonLethal = 485;
public const int safetyMeasure = 486;
public const int guts = 436;
public const int creativeChef = 487;
public const int deathagony = 488;
public const int music_drunk = 489;
public const int mod_ammo = 600;
public const int mod_reload = 601;
public const int mod_rapid = 602;
public const int mod_ammo_knockback = 603;
public const int parry = 437;
public const int bane_machine = 465;
public const int bane_god = 466;
public const int bane_man = 464;
public const int bane_machine = 465;
public const int safetyMeasure = 486;
public const int creativeChef = 487;
public const int bane_fairy = 462;
public const int bane_animal = 463;
public const int knightly = 438;
public const int negateParry = 439;
public const int sustain_STR = 440;
public const int sustain_END = 441;
public const int sustain_DEX = 442;
public const int sustain_PER = 443;
public const int sustain_LER = 444;
public const int sustain_MAG = 446;
public const int sustain_WIL = 445;
public const int sustain_DEX = 442;
public const int sustain_CHA = 447;
public const int sustain_figure = 450;
public const int bane_dragon = 460;
public const int negateParry = 439;
public const int bane_undead = 461;
public const int bane_fairy = 462;
public const int sustain_CHA = 447;
public const int bane_man = 464;
public const int sustain_MAG = 446;
public static readonly int[] IDS = new int[100]
public static readonly int[] IDS = new int[101]
{
651, 650, 641, 640, 624, 609, 622, 621, 608, 620,
652, 623, 653, 851, 655, 656, 660, 661, 662, 663,
664, 665, 666, 850, 607, 865, 852, 654, 606, 426,
604, 416, 417, 418, 419, 420, 421, 415, 422, 424,
425, 427, 428, 429, 430, 423, 435, 414, 411, 380,
381, 382, 400, 401, 402, 412, 403, 405, 406, 605,
408, 409, 410, 404, 436, 407, 438, 467, 468, 480,
481, 482, 483, 484, 485, 486, 488, 600, 601, 602,
603, 437, 466, 465, 487, 463, 440, 441, 442, 443,
444, 446, 445, 450, 460, 439, 461, 462, 447, 464
651, 650, 641, 640, 624, 623, 607, 621, 620, 608,
609, 652, 622, 653, 851, 655, 656, 660, 661, 662,
663, 664, 665, 666, 850, 606, 865, 852, 654, 605,
468, 603, 415, 416, 417, 418, 419, 421, 414, 422,
424, 425, 426, 427, 428, 429, 423, 430, 412, 410,
604, 380, 381, 382, 400, 401, 411, 402, 404, 405,
406, 407, 408, 409, 403, 435, 420, 437, 466, 467,
480, 481, 482, 483, 484, 485, 436, 487, 488, 489,
600, 601, 602, 465, 464, 486, 462, 463, 438, 439,
440, 441, 443, 444, 445, 442, 447, 450, 460, 461,
446
};
}FACTION
public class FACTION
{
public const int bfHill = 3603;
public const int bfSea = 3605;
public const int bfForest = 3601;
public const int fRation = 2207;
public const int bfSnow = 3602;
public const int bfUndersea = 3606;
public const int bfFertile = 3700;
public const int bfSea = 3605;
public const int bfUndersea = 3606;
public const int bfBeach = 3604;
public const int bfPlain = 3600;
public const int bfHill = 3603;
public const int bfGeyser = 3701;
public const int bfSnow = 3602;
public const int bfRuin = 3702;
public const int bfForest = 3601;
public const int bfBeach = 3604;
public const int bfPlain = 3600;
public const int bfCave = 3500;
public const int fElec = 2201;
public const int fAttraction = 2206;
public const int fSafety = 2205;
public const int fHeirloom = 2120;
public const int fFood = 2204;
public const int fPromo = 2202;
public const int fSoil = 2200;
public const int fElec = 2201;
public const int fHeirloom = 2120;
public const int fSoil = 2200;
public const int fTaxEvasion = 2119;
public const int fLuck = 2118;
public const int fLoyal = 2117;
public const int bfTranquil = 3703;
public const int fEducation = 2116;
public const int fLuck = 2118;
public const int bfGeyser = 3701;
public const int fRation = 2207;
public const int fAdmin = 2115;
public const int bfVolcano = 3704;
public const int fConstruction = 2003;
public const int bfChitin = 3805;
public const int fSafety = 2205;
public const int bfFish = 3706;
public const int bfRuin = 3702;
public const int fEducation = 2116;
public const int bfLandmark2 = 3781;
public const int bfVolcano = 3704;
public const int actBuildInspect = 4006;
public const int actBuildMine = 4001;
public const int actBuildCut = 4000;
public const int bfTranquil = 3703;
public const int bfStart = 3900;
public const int bfChitin = 3805;
public const int bfIce = 3804;
public const int bfGum = 3803;
public const int bfSilica = 3802;
public const int bfMushroom = 3801;
public const int actBuildCut = 4000;
public const int bfCoal = 3800;
public const int bfLandmark3 = 3782;
public const int bfLandmark2 = 3781;
public const int bfLandmark1 = 3780;
public const int bfBreed = 3710;
public const int bfMonster = 3707;
public const int bfHunt = 3705;
public const int bfFish = 3706;
public const int fAdmin = 2115;
public const int bfHunt = 3705;
public const int fConstruction = 2003;
public const int bfMushroom = 3801;
public static readonly int[] IDS = new int[53]
{
3603, 3601, 3602, 3700, 3605, 3606, 3600, 3701, 3702, 3604,
3500, 2201, 2206, 2205, 2204, 2203, 2202, 2200, 2120, 2119,
2117, 3703, 2118, 2207, 3704, 3805, 3706, 2116, 4006, 4005,
4004, 4003, 4002, 4001, 4000, 3900, 3804, 3803, 3802, 3801,
3800, 3784, 3783, 3782, 3781, 3780, 3710, 3709, 3708, 3707,
3705, 2115, 2003
3605, 2207, 3606, 3700, 3604, 3603, 3602, 3601, 3600, 3500,
2206, 2120, 2204, 2203, 2202, 2201, 2200, 2119, 2118, 2117,
2116, 3701, 2115, 2003, 2205, 3702, 3781, 3704, 4006, 4005,
4004, 4003, 4002, 4001, 3703, 3900, 3805, 3804, 3803, 3802,
4000, 3800, 3784, 3783, 3782, 3780, 3710, 3709, 3708, 3707,
3706, 3705, 3801
};
}
public class Faction : EClassFEAT
public class FEAT
{
public const int featSuccubus = 1216;
public const int featBodyParts = 1644;
public const int featSTR = 1620;
public const int featSorter = 1643;
public const int featDEX = 1621;
public const int featSleeper = 1642;
public const int featEND = 1622;
public const int featResCurse = 1641;
public const int featPER = 1623;
public const int featAnimalLover = 1640;
public const int featSPD = 1629;
public const int featFaith = 1636;
public const int featMAG = 1625;
public const int featMartial = 1635;
public const int featWIL = 1626;
public const int featNegotiate = 1634;
public const int featCHA = 1627;
public const int featSpotting = 1633;
public const int featLuck = 1628;
public const int featEvade = 1632;
public const int featLER = 1624;
public const int featDefense = 1631;
public const int featStamina = 1612;
public const int featHardy = 1630;
public const int featFairysan = 1413;
public const int featSPD = 1629;
public const int featLife = 1610;
public const int featLuck = 1628;
public const int featHealer = 1422;
public const int featCHA = 1627;
public const int featManaMeat = 1421;
public const int featWIL = 1626;
public const int featExecutioner = 1420;
public const int featMAG = 1625;
public const int featMilitant = 1419;
public const int featLER = 1624;
public const int featSwordsage = 1418;
public const int featPER = 1623;
public const int featWitch = 1417;
public const int featEND = 1622;
public const int featInquisitor = 1416;
public const int featDEX = 1621;
public const int featFoxMaid = 1415;
public const int featSTR = 1620;
public const int featWhiteVixen = 1414;
public const int featStamina = 1612;
public const int featHardy = 1630;
public const int featMana = 1611;
public const int featLife = 1610;
public const int featDefense = 1631;
public const int featHealer = 1422;
public const int featSummoner = 1647;
public const int featManaMeat = 1421;
public const int featSpotting = 1633;
public const int featParty = 1645;
public const int featLuckyCat = 1412;
public const int featExecutioner = 1420;
public const int featFisher = 1659;
public const int featLonelySoul = 1646;
public const int featChef = 1658;
public const int featRapidMagic = 1648;
public const int featManaCost = 1657;
public const int featDwarf = 1215;
public const int featScavenger = 1656;
public const int featSlowFood = 1200;
public const int featModelBeliever = 1655;
public const int featManaBond = 1201;
public const int featHeavyCasting = 1654;
public const int featFastLearner = 1202;
public const int featDreamWaker = 1653;
public const int featGrowParts = 1203;
public const int featRapidArrow = 1652;
public const int featFairyWeak = 1204;
public const int featMagicManner = 1651;
public const int featCannibalism = 1205;
public const int featGourmet = 1650;
public const int featMelilithCurse = 1206;
public const int featDefender = 1649;
public const int featFoxBless = 1207;
public const int featRapidMagic = 1648;
public const int featFoxLearn = 1208;
public const int featLonelySoul = 1646;
public const int featFluffyTail = 1209;
public const int featParty = 1645;
public const int featUndead = 1210;
public const int featBodyParts = 1644;
public const int featSnail = 1211;
public const int featSorter = 1643;
public const int featFairyResist = 1212;
public const int featSleeper = 1642;
public const int featElea = 1213;
public const int featResCurse = 1641;
public const int featManaPrecision = 1214;
public const int featAnimalLover = 1640;
public const int featFisher = 1659;
public const int featFaith = 1636;
public const int featChef = 1658;
public const int featMartial = 1635;
public const int featManaCost = 1657;
public const int featNegotiate = 1634;
public const int featScavenger = 1656;
public const int featEvade = 1632;
public const int featModelBeliever = 1655;
public const int featEarthStrength = 1411;
public const int featHeavyCasting = 1654;
public const int featLooter = 1660;
public const int featDreamWaker = 1653;
public const int featBoost = 1409;
public const int featRapidArrow = 1652;
public const int featServant = 1227;
public const int featMagicManner = 1651;
public const int featDemigod = 1228;
public const int featGourmet = 1650;
public const int featLittleOne = 1229;
public const int featDefender = 1649;
public const int featAdam = 1230;
public const int featSummoner = 1647;
public const int featNirvana = 1231;
public const int featMilitant = 1419;
public const int featBaby = 1232;
public const int featLooter = 1660;
public const int featCosmicHorror = 1233;
public const int featWitch = 1417;
public const int featHeavyEater = 1234;
public const int featLightEater = 1235;
public const int featNorland = 1236;
public const int featRoran = 1237;
public const int featDemon = 1239;
public const int featMassSummoner = 1240;
public const int featMeatCushion = 1241;
public const int featGeneSlot = 1242;
public const int featGod_machine1 = 1315;
public const int featGod_harvest1 = 1325;
public const int featGod_luck1 = 1330;
public const int featGod_harmony1 = 1335;
public const int featGod_oblivion1 = 1340;
public const int featGod_trickery1 = 1345;
public const int featGod_moonshadow1 = 1350;
public const int featGod_strife1 = 1355;
public const int featGod_healing1 = 1320;
public const int featWarrior = 1400;
public const int featUnderground = 1226;
public const int featThief = 1401;
public const int featLoyal = 1225;
public const int featWizard = 1402;
public const int featShiva = 1224;
public const int featFarmer = 1403;
public const int featAcidBody = 1223;
public const int featArcher = 1404;
public const int featSlowFood = 1200;
public const int featPianist = 1405;
public const int featReboot = 1410;
public const int featMeatCushion = 1241;
public const int featManaBond = 1201;
public const int featMassSummoner = 1240;
public const int featFastLearner = 1202;
public const int featDemon = 1239;
public const int featGrowParts = 1203;
public const int featElder = 1238;
public const int featFairyWeak = 1204;
public const int featSwordsage = 1418;
public const int featCannibalism = 1205;
public const int featMetal = 1218;
public const int featMelilithCurse = 1206;
public const int featElderCrab = 1219;
public const int featFoxBless = 1207;
public const int featFate = 1220;
public const int featFoxLearn = 1208;
public const int featSpike = 1221;
public const int featFluffyTail = 1209;
public const int featSplit = 1222;
public const int featGod_harvest1 = 1325;
public const int featAcidBody = 1223;
public const int featUndead = 1210;
public const int featShiva = 1224;
public const int featFairyResist = 1212;
public const int featLoyal = 1225;
public const int featElea = 1213;
public const int featUnderground = 1226;
public const int featManaPrecision = 1214;
public const int featTourist = 1406;
public const int featDwarf = 1215;
public const int featServant = 1227;
public const int featSuccubus = 1216;
public const int featLittleOne = 1229;
public const int featGolem = 1217;
public const int featAdam = 1230;
public const int featMetal = 1218;
public const int featNirvana = 1231;
public const int featElderCrab = 1219;
public const int featBaby = 1232;
public const int featFate = 1220;
public const int featGolem = 1217;
public const int featSpike = 1221;
public const int featCosmicHorror = 1233;
public const int featSplit = 1222;
public const int featHeavyEater = 1234;
public const int featSnail = 1211;
public const int featLightEater = 1235;
public const int featGod_luck1 = 1330;
public const int featNorland = 1236;
public const int featElder = 1238;
public const int featRoran = 1237;
public const int featGod_oblivion1 = 1340;
public const int featDemigod = 1228;
public const int featGod_harmony1 = 1335;
public const int featPaladin = 1407;
public const int featGod_moonshadow1 = 1350;
public const int featGod_healing1 = 1320;
public const int featGod_strife1 = 1355;
public const int featBoost = 1409;
public const int featWarrior = 1400;
public const int featReboot = 1410;
public const int featThief = 1401;
public const int featEarthStrength = 1411;
public const int featWizard = 1402;
public const int featLuckyCat = 1412;
public const int featFarmer = 1403;
public const int featFairysan = 1413;
public const int featArcher = 1404;
public const int featWhiteVixen = 1414;
public const int featPianist = 1405;
public const int featInquisitor = 1416;
public const int featTourist = 1406;
public const int featFoxMaid = 1415;
public const int featGod_trickery1 = 1345;
public const int featPaladin2 = 1408;
public const int featPaladin = 1407;
public static readonly int[] IDS = new int[122]
{
1216, 1644, 1643, 1642, 1641, 1640, 1636, 1635, 1634, 1633,
1632, 1631, 1630, 1629, 1628, 1627, 1626, 1625, 1624, 1623,
1622, 1621, 1620, 1612, 1611, 1610, 1422, 1421, 1645, 1420,
1646, 1648, 1215, 1200, 1201, 1202, 1203, 1204, 1205, 1206,
1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 1659, 1658,
1657, 1656, 1655, 1654, 1653, 1652, 1651, 1650, 1649, 1647,
1419, 1660, 1417, 1242, 1243, 1244, 1245, 1300, 1305, 1310,
1315, 1325, 1330, 1335, 1340, 1345, 1350, 1355, 1400, 1401,
1402, 1403, 1404, 1405, 1241, 1240, 1239, 1238, 1418, 1218,
1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1406, 1227,
1229, 1230, 1231, 1232, 1217, 1233, 1234, 1235, 1236, 1237,
1228, 1407, 1320, 1409, 1410, 1411, 1412, 1413, 1414, 1416,
1415, 1408
1620, 1621, 1622, 1623, 1629, 1625, 1626, 1627, 1628, 1624,
1612, 1413, 1610, 1422, 1421, 1420, 1419, 1418, 1417, 1416,
1415, 1414, 1630, 1611, 1631, 1647, 1633, 1412, 1659, 1658,
1657, 1656, 1655, 1654, 1653, 1652, 1651, 1650, 1649, 1648,
1646, 1645, 1644, 1643, 1642, 1641, 1640, 1636, 1635, 1634,
1632, 1411, 1660, 1409, 1227, 1228, 1229, 1230, 1231, 1232,
1233, 1234, 1235, 1236, 1237, 1239, 1240, 1241, 1242, 1243,
1244, 1245, 1300, 1305, 1310, 1315, 1320, 1226, 1225, 1224,
1223, 1200, 1410, 1201, 1202, 1203, 1204, 1205, 1206, 1207,
1208, 1209, 1325, 1210, 1212, 1213, 1214, 1215, 1216, 1217,
1218, 1219, 1220, 1221, 1222, 1211, 1330, 1238, 1340, 1335,
1350, 1355, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1345,
1408, 1407
};
}
public class Feat : ElementFOOD
public class FOOD
{
public const int food_cat = 701;
public const int food_poison = 702;
public const int food_love = 703;
public const int gainWeight = 705;
public const int food_CHA = 700;
public const int loseWeight = 706;
public const int food_bug = 704;
public const int food_god = 758;
public const int food_human = 708;
public const int justcooked = 757;
public const int creativeDish = 764;
public const int food_human = 708;
public const int kirimi = 707;
public const int food_god = 758;
public const int food_cat = 701;
public const int food_CHA = 700;
public const int food_poison = 702;
public const int food_undead = 709;
public const int food_love = 703;
public const int justcooked = 757;
public const int food_bug = 704;
public const int food_undead = 709;
public static readonly int[] IDS = new int[13]
{
701, 702, 703, 705, 706, 704, 708, 764, 707, 758,
700, 709, 757
705, 700, 706, 758, 757, 764, 708, 707, 701, 702,
703, 704, 709
};
}FortuneRollData
prizes.Clear();
Rand.SetSeed(EClass.game.seed + seed + count);
List<List<string>> list = GetPrizeList();
if (EClass._zone.IsTown && EClass._zone.lv == 0)
if ((EClass._zone.IsTown && EClass._zone.lv == 0) || (EClass.game.IsSurvival && EClass._zone is Zone_StartSiteSky))
{
Add(3);
Add(2);MUTATION
public class MUTATION
{
public const int mutationSkin = 1510;
public const int mutationRegen = 1516;
public const int mutationSkinN = 1511;
public const int mutationSkin = 1510;
public const int mutationEye = 1512;
public const int mutationEyeN = 1513;
public const int mutationDexN = 1515;
public const int mutationDex = 1514;
public const int mutationRegen = 1516;
public const int mutationDexN = 1515;
public const int mutationRegenN = 1517;
public const int mutationCha = 1522;
public const int mutationSkinN = 1511;
public const int mutationSpeedN = 1519;
public const int mutationStr = 1520;
public const int mutationStrN = 1521;
public const int mutationDex = 1514;
public const int mutationSpeed = 1518;
public const int mutationBrain = 1524;
public const int etherPoisonHand = 1565;
public const int etherManaBattery = 1564;
public const int etherArmor = 1562;
public const int mutationChaN = 1523;
public const int etherStupid = 1561;
public const int etherWeak = 1560;
public const int etherAddict = 1559;
public const int etherRain = 1558;
public const int mutationSpeed = 1518;
public const int etherHead = 1557;
public const int etherWing = 1554;
public const int etherStupid = 1561;
public const int etherEye = 1553;
public const int etherFeet = 1552;
public const int etherEye = 1553;
public const int etherUgly = 1551;
public const int etherRain = 1558;
public const int mutationHairN = 1533;
public const int etherGravity = 1550;
public const int mutationStr = 1520;
public const int mutationStrN = 1521;
public const int mutationCha = 1522;
public const int mutationBrain = 1524;
public const int mutationBrainN = 1525;
public const int mutationCold = 1526;
public const int mutationChaN = 1523;
public const int mutationLightning = 1528;
public const int mutationLightningN = 1529;
public const int mutationBody = 1530;
public const int mutationColdN = 1527;
public const int mutationBodyN = 1531;
public const int mutationHair = 1532;
public const int mutationHairN = 1533;
public const int etherGravity = 1550;
public const int etherUgly = 1551;
public const int mutationBodyN = 1531;
public const int mutationColdN = 1527;
public static readonly int[] IDS = new int[40]
{
1510, 1511, 1512, 1513, 1515, 1516, 1517, 1522, 1519, 1520,
1521, 1514, 1518, 1524, 1565, 1564, 1563, 1562, 1523, 1560,
1559, 1558, 1557, 1556, 1555, 1554, 1561, 1552, 1553, 1525,
1526, 1528, 1529, 1530, 1527, 1532, 1533, 1550, 1551, 1531
1516, 1510, 1512, 1513, 1514, 1515, 1517, 1511, 1519, 1565,
1564, 1563, 1562, 1561, 1560, 1559, 1518, 1557, 1556, 1555,
1554, 1553, 1552, 1551, 1558, 1533, 1550, 1520, 1521, 1522,
1524, 1525, 1526, 1523, 1528, 1529, 1530, 1531, 1532, 1527
};
}
public class Mutation : FeatNotificationBuff
using UnityEngine.UI;
public class NotificationBuff : NotificationCondition
{
public override int idSprite => 0;public override ItemNotice GetMold()
return WidgetStats.Instance.moldBuff;
}
public override LayoutGroup GetLayoutGroup()
{
return WidgetStats.Instance.layout2;
}
public override void OnRefresh()
{
if (item.button.icon.sprite == EClass.core.refs.spriteDefaultCondition)NotificationCondition
public override bool ShouldRemove()
return false;
}
public override int GetSortVal()
{
int num = 5;
switch (condition.Type)
{
case ConditionType.Stance:
num = 0;
break;
case ConditionType.Buff:
num = 10;
break;
case ConditionType.Debuff:
num = 11;
break;
}
if (condition is ConBuffStats)
{
num = 1;
}
return 8000000 + num * 100000 + condition.GetSortVal();
}
public override void OnClick()
{
if (condition.CanManualRemove)+NotificationCooldown
File Created
using UnityEngine;
public class NotificationCooldown : BaseNotification
{
public int idEle;
public SourceElement.Row row => EClass.sources.elements.map.TryGetValue(idEle, 0);
public override bool Visible => true;
public override bool Interactable => false;
public override Sprite Sprite => null;
public override ItemNotice GetMold()
{
return WidgetStats.Instance.moldCooldown;
}
public override int GetSortVal()
{
return 1000000 + idEle;
}
public override void OnRefresh()
{
if (EClass.pc._cooldowns != null)
{
int cooldown = EClass.pc.GetCooldown(idEle);
if (cooldown != 0)
{
text = cooldown.ToString() ?? "";
item.button.subText.text = row.GetName();
}
}
}
public override bool ShouldRemove()
{
if (EClass.pc._cooldowns != null)
{
return !EClass.pc.HasCooldown(idEle);
}
return true;
}
}NotificationExceedParty
public class NotificationExceedParty : BaseNotification
a.note.Build();
};
public override int GetSortVal()
{
return 2000000;
}
public override void OnRefresh()
{
text = "exceedParty".lang();NotificationStats
public override void OnClick()
EClass.ui.AddLayer<LayerChara>().SetChara(EClass.pc);
}
public override int GetSortVal()
{
return 5000000 + stats().GetSortVal();
}
public override void OnRefresh()
{
BaseStats baseStats = stats();POLICY
public class POLICY
{
public const int suite_room = 2813;
public const int license_furniture = 2819;
public const int suite_room = 2813;
public const int mass_exhibition = 2814;
public const int platinum_ticket = 2815;
public const int license_general = 2820;
public const int egg_fan = 2826;
public const int breed_season = 2827;
public const int celeb = 2822;
public const int milk_fan = 2825;
public const int breed_season = 2827;
public const int egg_fan = 2826;
public const int license_slaver = 2828;
public const int tourist_safety = 2811;
public const int stop_growth = 2515;
public const int self_sufficient = 2511;
public const int home_discount = 2800;
public const int ban_radio = 2510;
public const int self_sufficient = 2511;
public const int legal_drug = 2505;
public const int impressment = 2504;
public const int open_business = 2810;
public const int inquisition = 2507;
public const int resident_tax = 2512;
public const int inquisition = 2507;
public const int resident_wanted = 2513;
public const int taxfree = 2514;
public const int stop_growth = 2515;
public const int human_right = 2506;
public const int energy_conservation = 2700;
public const int trash_no = 2702;
public const int weed_no = 2703;
public const int border_watch = 2704;
public const int speed_growth = 2516;
public const int auto_farm = 2707;
public const int border_watch = 2704;
public const int weed_no = 2703;
public const int noAnimal = 2709;
public static readonly int[] IDS = new int[51]
{
2813, 2819, 2814, 2815, 2816, 2817, 2818, 2820, 2826, 2822,
2823, 2824, 2825, 2827, 2828, 2812, 2821, 2811, 2515, 2800,
2508, 2509, 2510, 2511, 2505, 2504, 2503, 2502, 2501, 2500,
2810, 2507, 2512, 2513, 2514, 2506, 2700, 2702, 2703, 2516,
2705, 2706, 2707, 2704, 2709, 2710, 2711, 2712, 2715, 2701,
2819, 2813, 2814, 2815, 2816, 2817, 2818, 2820, 2827, 2822,
2823, 2824, 2825, 2826, 2828, 2812, 2821, 2811, 2511, 2800,
2508, 2509, 2510, 2505, 2504, 2503, 2502, 2501, 2500, 2810,
2512, 2507, 2513, 2514, 2515, 2506, 2700, 2702, 2704, 2516,
2705, 2706, 2707, 2703, 2709, 2710, 2711, 2712, 2715, 2701,
2708
};
}SKILL
public class SKILL
{
public const int fireproof = 50;
public const int weaponCrossbow = 109;
public const int weaponScythe = 110;
public const int twohand = 130;
public const int fireproof = 50;
public const int tactics = 132;
public const int marksman = 133;
public const int strategy = 135;
public const int fishing = 245;
public const int eyeofmind = 134;
public const int twowield = 131;
public const int weaponAxe = 102;
public const int weaponDagger = 107;
public const int throwing = 108;
public const int END = 71;
public const int WIL = 75;
public const int weaponDagger = 107;
public const int weaponPolearm = 106;
public const int weaponGun = 105;
public const int SPD = 79;
public const int LUC = 78;
public const int CHA = 77;
public const int MAG = 76;
public const int throwing = 108;
public const int fishing = 245;
public const int gathering = 250;
public const int eyeofmind = 134;
public const int LUC = 78;
public const int blacksmith = 256;
public static readonly int[] IDS = new int[133]
{
50, 109, 110, 111, 120, 122, 123, 130, 132, 133,
109, 110, 111, 120, 122, 123, 130, 50, 132, 133,
242, 241, 240, 237, 235, 230, 227, 226, 225, 220,
210, 200, 152, 151, 150, 135, 245, 131, 207, 102,
107, 71, 70, 68, 67, 66, 65, 72, 64, 61,
60, 57, 56, 55, 51, 62, 73, 74, 75, 106,
105, 104, 103, 101, 100, 93, 92, 91, 90, 80,
79, 78, 77, 76, 108, 250, 134, 256, 916, 917,
210, 200, 152, 151, 150, 135, 134, 131, 207, 102,
108, 71, 70, 68, 67, 66, 65, 72, 64, 61,
60, 57, 56, 55, 51, 62, 73, 74, 75, 107,
106, 105, 104, 103, 101, 100, 93, 92, 91, 90,
80, 79, 77, 76, 245, 250, 78, 256, 916, 917,
918, 919, 920, 921, 922, 923, 924, 925, 926, 950,
951, 952, 915, 953, 956, 957, 958, 959, 960, 961,
962, 963, 964, 965, 970, 971, 972, 255, 954, 914,SerializedCards
public void Restore(Map map, Map orgMap, bool addToZone, PartialMap partial = nu
card2.c_lockLv = 1;
}
}
if (card4.encLv != 0)
if (card4.ints.Length > 20 && card4.encLv != 0)
{
card2.SetEncLv(card4.encLv);
}Thing
public override void WriteNote(UINote n, Action<UINote> onWriteNote = null, IIns
{
num4 = num4 * (100 + AttackProcess.GetTwoHandEncBonus(root.Chara)) / 100;
}
return s + " (" + e.Value + ((e.Value == num4) ? "" : (" → " + num4)) + ")";
string text16 = " (" + e.Value + ((e.Value == num4) ? "" : (" → " + num4)) + ")";
string text17 = "_bracketLeft3".lang() + e.Name + "_bracketRight3".lang();
return s + text16 + " " + text17;
});
}
if (sockets != null)public override void WriteNote(UINote n, Action<UINote> onWriteNote = null, IIns
if (base.c_mixedFoodData != null)
{
n.AddHeader("isMixedFood");
foreach (string text16 in base.c_mixedFoodData.texts)
foreach (string text18 in base.c_mixedFoodData.texts)
{
AddText("_bullet".lang() + text16 + text2, FontColor.Default);
AddText("_bullet".lang() + text18 + text2, FontColor.Default);
}
}
}WidgetStats
public class WidgetStats : BaseWidgetNotice
public List<NotificationCondition> conditions = new List<NotificationCondition>();
public List<NotificationCooldown> cds = new List<NotificationCooldown>();
public ItemNotice moldBuff;
public ItemNotice moldStance;
public ItemNotice moldCooldown;
public static void RefreshAll()
{
if ((bool)Instance)public override void OnRefresh()
dirty = true;
}
});
cds.ForeachReverse(delegate(NotificationCooldown a)
{
if (a.ShouldRemove())
{
cds.Remove(a);
Remove(a);
dirty = true;
}
});
foreach (Condition condition in EMono.pc.conditions)
{
if (!condition.ShowInWidget)public override void OnRefresh()
conditions.Add(notificationCondition);
}
}
if (EMono.pc._cooldowns == null)
{
return;
}
foreach (int cooldown in EMono.pc._cooldowns)
{
int num = cooldown / 1000;
bool flag2 = true;
foreach (NotificationCooldown cd in cds)
{
if (cd.idEle == num)
{
flag2 = false;
break;
}
}
if (flag2)
{
NotificationCooldown notificationCooldown = new NotificationCooldown
{
idEle = num
};
Add(notificationCooldown);
cds.Add(notificationCooldown);
}
}
}
}