EA 23.270 Nightly Patch 1
February 15, 2026
30 files modified. 3 new files created.
Important Changes
None.
ABILITY
public class ABILITY
{
public const int ActBash = 5052;
public const int ActBloodsuck = 6607;
public const int ActDreamBug = 6020;
public const int AI_Meditate = 6003;
public const int ActParasite = 6019;
public const int AI_Steal = 6011;
public const int ActRide = 6018;
public const int ActQuickCraft = 6012;
public const int AI_PassTime = 6013;
public const int AI_SelfHarm = 6015;
public const int AI_PassTime = 6013;
public const int ActRide = 6018;
public const int ActQuickCraft = 6012;
public const int ActParasite = 6019;
public const int ActDreamBug = 6020;
public const int ActPray = 6050;
public const int AI_Steal = 6011;
public const int ActEscape = 6400;
public const int AI_PlayMusic = 6001;
public const int ActSuicide = 6410;
public const int ActRestrain = 5055;
public const int ActDuplicate = 6420;
public const int AI_Bladder = 5054;
public const int ActRush = 6450;
public const int TaskHarvest = 5053;
public const int ActCrabBreathe = 6500;
public const int ActZap = 5051;
public const int ActCurse = 6600;
public const int AI_Sleep = 5050;
public const int ActEntangle = 6601;
public const int AI_Meditate = 6003;
public const int ActDraw = 6602;
public const int ActEscape = 6400;
public const int ActCatHuffing = 6627;
public const int ActSuicide = 6410;
public const int ActGazeMana = 6623;
public const int ActDuplicate = 6420;
public const int ActGazeMutation = 6622;
public const int ActGazeInsane = 6621;
public const int ActTouchDrown = 6613;
public const int ActTouchSleep = 6612;
public const int AI_PlayMusic = 6001;
public const int ActFear = 6611;
public const int ActTouchSleep = 6612;
public const int ActWeaken = 6610;
public const int ActBloodsuck = 6607;
public const int ActSlime = 6608;
public const int ActBurnMana = 6606;
public const int ActCrySad = 6605;
public const int ActNTR = 6603;
public const int ActDraw = 6602;
public const int ActEntangle = 6601;
public const int ActFear = 6611;
public const int ActCurse = 6600;
public const int ActInsult = 6630;
public const int ActCrabBreathe = 6500;
public const int ActRestrain = 5055;
public const int ActRush = 6450;
public const int TaskHarvest = 5053;
public const int AI_OpenLock = 5049;
public const int AI_Eat = 5024;
public const int ActGazeMutation = 6622;
public const int TaskGoOut = 5023;
public const int ActItem = 5048;
public const int TaskSleepOnBed = 5022;
public const int ActInstall = 5046;
public const int AI_Grab = 5025;
public const int AI_Haul = 5026;
public const int AI_Grab = 5025;
public const int GoalSleep = 5027;
public const int AI_Eat = 5024;
public const int ActReleaseHeld = 5028;
public const int TaskGoOut = 5023;
public const int AI_Offer = 5029;
public const int ActWait = 5000;
public const int AI_ReleaseHeld = 5030;
public const int ActMelee = 5001;
public const int AI_Deconstruct = 5031;
public const int GoalSleep = 5027;
public const int AI_Equip = 5032;
public const int Melee = 5002;
public const int ActCancelTask = 5033;
public const int Sleep = 5004;
public const int GoalIdle = 5034;
public const int Wait = 5005;
public const int TaskBuild = 5035;
public const int Shoot = 5006;
public const int TaskMoveInstalled = 5036;
public const int Use = 5007;
public const int ActNoItem = 5037;
public const int General = 5008;
public const int ActThrow = 5038;
public const int TaskMine = 5009;
public const int ActBash = 5052;
public const int Ranged = 5003;
public const int ActZap = 5051;
public const int ActReleaseHeld = 5028;
public const int AI_Sleep = 5050;
public const int AI_Offer = 5029;
public const int AI_OpenLock = 5049;
public const int AI_ReleaseHeld = 5030;
public const int ActItem = 5048;
public const int AI_Drink = 5045;
public const int ActPick = 5047;
public const int AI_Bladder = 5054;
public const int ActInstall = 5046;
public const int ActChat = 5044;
public const int AI_Fish = 5039;
public const int ActThrow = 5038;
public const int ActNoItem = 5037;
public const int TaskMoveInstalled = 5036;
public const int TaskBuild = 5035;
public const int GoalIdle = 5034;
public const int AI_Drink = 5045;
public const int ActCancelTask = 5033;
public const int ActScream = 6631;
public const int AI_Equip = 5032;
public const int ActDrainBlood = 6626;
public const int AI_Deconstruct = 5031;
public const int ActStealFood = 6641;
public const int ActPick = 5047;
public const int TaskPick = 5018;
public const int ActGazeMana = 6623;
public const int TaskReadBoard = 5019;
public const int ActBurnMana = 6606;
public const int TaskFarm = 5020;
public const int ActCatHuffing = 6627;
public const int breathe_Void = 50216;
public const int breathe_Cold = 50201;
public const int breathe_Impact = 50215;
public const int breathe_Lightning = 50202;
public const int breathe_Cut = 50214;
public const int breathe_Darkness = 50203;
public const int TaskTalk = 5017;
public const int breathe_Mind = 50204;
public const int breathe_Acid = 50213;
public const int breathe_Poison = 50205;
public const int breathe_Magic = 50211;
public const int breathe_Nether = 50206;
public const int breathe_Chaos = 50210;
public const int breathe_Sound = 50207;
public const int breathe_Holy = 50209;
public const int breathe_Nerve = 50208;
public const int breathe_Holy = 50209;
public const int ActDrainBlood = 6626;
public const int breathe_Sound = 50207;
public const int breathe_Magic = 50211;
public const int ActSteal = 6640;
public const int breathe_Ether = 50212;
public const int breathe_Acid = 50213;
public const int breathe_Poison = 50205;
public const int breathe_Cut = 50214;
public const int TaskTame = 5016;
public const int breathe_Impact = 50215;
public const int TaskPlow = 5014;
public const int breathe_Void = 50216;
public const int ActWait = 5000;
public const int TaskDig = 5010;
public const int ActMelee = 5001;
public const int TaskCut = 5011;
public const int Melee = 5002;
public const int AI_Goto = 5012;
public const int Ranged = 5003;
public const int ActAttack = 5013;
public const int Sleep = 5004;
public const int TaskPlow = 5014;
public const int Wait = 5005;
public const int TaskAttack = 5015;
public const int TaskTame = 5016;
public const int TaskTalk = 5017;
public const int TaskPick = 5018;
public const int TaskReadBoard = 5019;
public const int Shoot = 5006;
public const int TaskFarm = 5020;
public const int General = 5008;
public const int TaskTrain = 5021;
public const int TaskMine = 5009;
public const int TaskSleepOnBed = 5022;
public const int TaskDig = 5010;
public const int breathe_Fire = 50200;
public const int TaskCut = 5011;
public const int SpTransmuteShadow = 8795;
public const int AI_Goto = 5012;
public const int breathe_Chaos = 50210;
public const int ActAttack = 5013;
public const int ActSwarm = 6662;
public const int Use = 5007;
public const int ActScream = 6631;
public const int breathe_Mind = 50204;
public const int ActSteal = 6640;
public const int breathe_Nether = 50206;
public const int ActStealFood = 6641;
public const int breathe_Lightning = 50202;
public const int ActStealMoney = 6642;
public const int ActThrowPotion = 6661;
public const int SpTransmuteMimic = 8794;
public const int ActSwarm = 6662;
public const int ActInsult = 6630;
public const int TaskTrain = 5021;
public const int ActMultiHit = 6663;
public const int ActBladeStorm = 6664;
public const int ActMissileBarrage = 6667;
public const int ActSummonSpecial = 6800;
public const int breathe_Darkness = 50203;
public const int ActMultiHit = 6663;
public const int ActWombDark = 6801;
public const int ActDeathSentense = 6802;
public const int SpTransmuteBat = 8793;
public const int StTaunt = 6700;
public const int ActSummonSpecial = 6800;
public const int SongSleep = 6750;
public const int breathe_Cold = 50201;
public const int breathe_Fire = 50200;
public const int SpTransmuteShadow = 8795;
public const int SpTransmuteMimic = 8794;
public const int StManaCost = 6720;
public const int breathe_ = 7000;
public const int ActHeadpat = 6904;
public const int ActKizuamiTrick = 6903;
public const int SpTransmuteBat = 8793;
public const int ActLulwyTrick = 6902;
public const int ActManaAbsorb = 6900;
public const int ActWombDark = 6801;
public const int SongEnd = 6753;
public const int SongValor = 6752;
public const int SongTulip = 6751;
public const int StTaunt = 6700;
public const int StManaCost = 6720;
public const int SongSleep = 6750;
public const int ActKizuamiTrick = 6903;
public static readonly int[] IDS = new int[137]
public static readonly int[] IDS = new int[139]
{
5052, 6020, 6019, 6018, 6015, 6013, 6012, 6050, 6011, 6001,
5055, 5054, 5053, 5051, 5050, 6003, 6400, 6410, 6420, 6621,
6620, 6613, 6612, 6611, 6610, 6607, 6605, 6604, 6603, 6602,
6601, 6600, 6500, 6450, 5049, 6622, 5048, 5046, 5026, 5025,
5024, 5023, 5000, 5001, 5027, 5002, 5004, 5005, 5006, 5007,
5008, 5009, 5003, 5028, 5029, 5030, 5045, 5044, 5043, 5042,
5041, 5040, 5039, 5038, 5037, 5036, 5035, 5034, 5033, 5032,
5031, 5047, 6623, 6606, 6627, 50201, 50202, 50203, 50204, 50205,
50206, 50207, 50208, 50209, 6626, 50211, 50212, 50213, 50214, 50215,
50216, 5010, 5011, 5012, 5013, 5014, 5015, 5016, 5017, 5018,
5019, 5020, 5021, 5022, 50200, 8795, 50210, 6662, 6631, 6640,
6641, 6642, 6650, 6660, 6661, 8794, 6630, 6664, 6665, 6666,
6667, 6800, 6663, 6802, 8793, 7000, 6904, 6903, 6902, 6901,
6900, 6801, 6752, 6751, 6700, 6720, 6750
6607, 6003, 6011, 6012, 6013, 6015, 6018, 6019, 6020, 6050,
6400, 6410, 6420, 6450, 6500, 6600, 6601, 6602, 6627, 6623,
6622, 6621, 6620, 6613, 6001, 6612, 6610, 6608, 6606, 6605,
6604, 6603, 6611, 6630, 5055, 5053, 5024, 5023, 5022, 5025,
5026, 5027, 5028, 5029, 5030, 5031, 5032, 5033, 5034, 5035,
5036, 5037, 5038, 5052, 5051, 5050, 5049, 5048, 5047, 5054,
5046, 5044, 5043, 5042, 5041, 5040, 5039, 5045, 6631, 6626,
6641, 5018, 5019, 5020, 50216, 50215, 50214, 5017, 50213, 50211,
50210, 50209, 50208, 50207, 6640, 50212, 50205, 5016, 5014, 5000,
5001, 5002, 5003, 5004, 5005, 5015, 5006, 5008, 5009, 5010,
5011, 5012, 5013, 5007, 50204, 50206, 50202, 6642, 6650, 6660,
6661, 6662, 5021, 6663, 6664, 6665, 6666, 6667, 50203, 6801,
6802, 6700, 6800, 6750, 50201, 50200, 8795, 8794, 6720, 7000,
6904, 8793, 6902, 6901, 6900, 6753, 6752, 6751, 6903
};
}
public class Ability : ActAI_Fuck
Bitch,
Succubus,
NTR,
Bloodsuck
Bloodsuck,
Slime,
Tentacle
}
public Variation variation;public override bool CancelOnAggro
{
get
{
if (variation != Variation.NTR)
if (variation != Variation.NTR && variation != Variation.Bloodsuck)
{
return variation != Variation.Bloodsuck;
return variation != Variation.Slime;
}
return false;
}public override IEnumerable<Status> Run()
{
yield return DoGoto(target.pos, destDist);
}
cc.Say((variation == Variation.Bloodsuck) ? "suck_start" : (Type.ToString() + "_start"), cc, tc);
cc.Say((variation == Variation.Slime) ? "slime_start" : ((variation == Variation.Bloodsuck) ? "suck_start" : (Type.ToString() + "_start")), cc, tc);
isFail = () => !tc.IsAliveInCurrentZone || tc.Dist(owner) > 3;
if (Type == FuckType.tame)
{
cc.SetTempHand(1104, -1);
}
maxProgress = ((variation == Variation.NTR || variation == Variation.Bloodsuck) ? 10 : 25);
if (variation == Variation.Succubus)
switch (variation)
{
case Variation.Succubus:
cc.Talk("seduce");
}
if (variation == Variation.Bloodsuck)
{
break;
case Variation.Bloodsuck:
cc.PlaySound("bloodsuck");
break;
case Variation.Slime:
cc.PlaySound("slime");
target.AddCondition<ConEntangle>(500, force: true);
break;
}
for (int i = 0; i < maxProgress; i++)
{public override IEnumerable<Status> Run()
}
if (EClass.rnd(3) == 0 || sell)
{
target.AddCondition<ConWait>(50, force: true);
if (variation == Variation.Slime)
{
target.AddCondition<ConSupress>(200, force: true);
}
else
{
target.AddCondition<ConWait>(50, force: true);
}
}
if (variation == Variation.Bloodsuck)
if (variation == Variation.Bloodsuck || variation == Variation.Slime)
{
owner.pos.TryWitnessCrime(cc, tc, 4, (Chara c) => EClass.rnd(cc.HasCondition<ConTransmuteBat>() ? 50 : 20) == 0);
} {
case FuckType.fuck:
{
if (variation == Variation.Bloodsuck)
if (variation == Variation.Bloodsuck || variation == Variation.Slime)
{
if (EClass.rnd(2) == 0)
{ EClass.player.forceTalk = true;
chara2.Talk("seduced");
}
else if (variation != Variation.NTR && variation != Variation.Bloodsuck && chara != EClass.pc)
else if (variation != Variation.NTR && variation != Variation.Bloodsuck && variation != Variation.Slime && chara != EClass.pc)
{
int num3 = CalcMoney.Whore(chara2, chara);
Chara chara4 = chara; {
EClass.player.stats.kimo++;
}
if (variation == Variation.NTR)
switch (variation)
{
Thing thing = chara2.things.Find<TraitDreamBug>();
if (thing != null)
case Variation.NTR:
{
Thing thing2 = chara2.things.Find<TraitDreamBug>();
if (thing2 != null)
{
thing.ModNum(-1);
thing2.ModNum(-1);
if (chara.IsPC)
{
Msg.Say("dream_spell", EClass.sources.elements.map[9156].GetName().ToLowerInvariant());
EClass.pc.GainAbility(9156, EClass.rnd(2) + 1);
}
}
if (chara.HasElement(1239) && !chara2.HasElement(1216))
if (!chara.HasElement(1239) || chara2.HasElement(1216))
{
break;
}
if (chara2.HasElement(758))
{
if (chara2.HasElement(758))
if (chara.ExistsOnMap)
{
if (chara.ExistsOnMap)
{
chara.stamina.Mod(-1000000);
}
chara.stamina.Mod(-1000000);
}
else if (chara2.ExistsOnMap)
}
else if (chara2.ExistsOnMap)
{
chara2.stamina.Mod((!chara2.IsPCFaction) ? (-10000) : (chara2.IsPC ? (-25) : (-50)));
}
break;
}
case Variation.Bloodsuck:
if (chara2.HasElement(758) && chara.ExistsOnMap)
{
chara.stamina.Mod(-1000000);
}
break;
case Variation.Slime:
{
Thing thing = null;
for (int j = 0; j < 10; j++)
{
thing = target.MakeGene(DNA.Type.Superior);
thing.c_DNA.MakeSlimeFood(chara);
if (thing.c_DNA.GetInvalidAction(chara) != null || thing.c_DNA.GetInvalidFeat(chara) != null)
{
chara2.stamina.Mod((!chara2.IsPCFaction) ? (-10000) : (chara2.IsPC ? (-25) : (-50)));
thing.c_DNA.vals.Clear();
continue;
}
thing.elements.ModBase(10, 200);
thing.elements.ModBase(18, 100);
break;
}
FoodEffect.Proc(chara, thing, consume: false);
chara.elements.ModExp(6608, 1000f);
break;
}
if (variation == Variation.Bloodsuck && chara2.HasElement(758) && chara.ExistsOnMap)
{
chara.stamina.Mod(-1000000);
}
break;
}+ActSlime
File Created
public class ActSlime : ActNTR
{
public override bool IsHostileAct => true;
public override bool CanPerform()
{
if (Act.CC.hunger.GetPhase() < 3 && !EClass.debug.enable)
{
return false;
}
if (Act.TC == null || Act.TC == Act.CC)
{
return false;
}
return true;
}
public override bool Perform()
{
Act.CC.SetAI(new AI_Fuck
{
target = Act.TC.Chara,
variation = AI_Fuck.Variation.Slime
});
return true;
}
}BackerContent
public static string ConvertName(string s)
public static void GakiConvert(ref string text, string idLang = "zako")
{
if (!text.IsEmpty())
if (text.IsEmpty())
{
if (!text.StartsWith("("))
{
text = idLang.lang().Split(',').RandomItem() + " (" + text + ")";
}
else if (idLang == "mokyu" || idLang == "babu")
return;
}
if (!text.StartsWith("("))
{
text = idLang.lang().Split(',').RandomItem() + " (" + text + ")";
}
else
{
switch (idLang)
{
case "mokyu":
case "babu":
case "mimu":
text = idLang.lang().Split(',').RandomItem() + " " + text;
break;
}
text = text.Replace("。)", ")");
if (text.EndsWith("」"))
{
text = text.Substring(0, text.Length - 1);
}
}
text = text.Replace("。)", ")");
if (text.EndsWith("」"))
{
text = text.Substring(0, text.Length - 1);
}
}
}Card
public void Talk(string idTopic, string ref1 = null, string ref2 = null, bool fo
}
else
{
string text2 = id;
if (!(text2 == "adv_gaki"))
{
if (text2 == "corgon")
{
BackerContent.GakiConvert(ref text, "mokyu");
}
}
else
switch (id)
{
case "adv_gaki":
BackerContent.GakiConvert(ref text);
break;
case "corgon":
BackerContent.GakiConvert(ref text, "mokyu");
break;
case "mimu":
BackerContent.GakiConvert(ref text, "mimu");
break;
}
}
TalkRaw(text, ref1, ref2, forceSync);Chara
public void RestockEquip(bool onCreate)
EQ_ID("sword_katana");
}
break;
case "mimu":
if (onCreate)
{
EQ_ID("staff_leek");
}
break;
}
if (!TryEquipRanged())
{DNA
public void WriteNote(UINote n, Chara tg = null)
{
if (slot >= 1)
{
n.AddText("isGeneReqSlots".lang(slot.ToString() ?? ""), FontColor.Warning);
n.AddText("NoteText_enc", "isGeneReqSlots".lang(slot.ToString() ?? ""), FontColor.Warning);
}
if (!CanRemove(tg))
{
n.AddText("isPermaGene".lang(), FontColor.Warning);
n.AddText("NoteText_enc", "isPermaGene".lang(), FontColor.Warning);
}
n.Space(4);
if (type == Type.Brain)public void WriteNote(UINote n, Chara tg = null)
if (row != null)
{
string key = row.tactics.IsEmpty(EClass.sources.tactics.map.TryGetValue(row.id)?.id ?? EClass.sources.tactics.map.TryGetValue(row.job)?.id ?? "predator");
n.AddText("gene_info".lang(EClass.sources.tactics.map[key].GetName().ToTitleCase(), ""), FontColor.ButtonGeneral);
n.AddText("NoteText_enc", "gene_info".lang(EClass.sources.tactics.map[key].GetName().ToTitleCase(), ""), FontColor.ButtonGeneral);
}
for (int i = 0; i < vals.Count; i += 2)
{public void WriteNote(UINote n, Chara tg = null)
string text = "";
num2 = Mathf.Abs(num2 / 20) + 1;
text = text + "[" + "*".Repeat(Mathf.Clamp(num2, 1, 5)) + ((num2 > 5) ? "+" : "") + "]";
n.AddText("gene_info_brain".lang(@ref, text), color);
n.AddText("NoteText_enc", "gene_info_brain".lang(@ref, text), color);
}
return;
}public void WriteNote(UINote n, Chara tg = null)
{
text2 = text2 + " (" + element.Value + ")";
}
n.AddText("gene_info".lang(element.Name.ToTitleCase(wholeText: true), text2), color2);
n.AddText("NoteText_enc", "gene_info".lang(element.Name.ToTitleCase(wholeText: true), text2), color2);
}
}public Element GetInvalidAction(Chara c)
}
return null;
}
public void MakeSlimeFood(Chara c)
{
int num = c.Evalue(6608) + 10;
for (int i = 0; i < vals.Count; i += 2)
{
Element element = Element.Create(vals[i], vals[i + 1]);
if ((element.source.category == "attribute" || element.source.category == "skill") && vals[i + 1] > num)
{
vals[i + 1] = num;
}
}
cost = 0;
}
}DOMAIN
public class DOMAIN
{
public const int domOblivion = 813;
public const int domEarth = 812;
public const int domFaith = 802;
public const int domTest = 800;
public const int domElement = 806;
public const int domWind = 807;
public const int domSurvival = 801;
public const int domHealing = 811;
public const int domFaith = 802;
public const int domArcane = 804;
public const int domMiracle = 803;
public const int domLuck = 810;
public const int domArcane = 804;
public const int domComm = 805;
public const int domMachine = 809;
public const int domWind = 807;
public const int domHarvest = 808;
public const int domEarth = 812;
public const int domMiracle = 803;
public const int domMachine = 809;
public const int domEyth = 814;
public const int domLuck = 810;
public const int domTest = 800;
public const int domHealing = 811;
public const int domSurvival = 801;
public const int domOblivion = 813;
public const int domEyth = 814;
public const int domHarmony = 815;
public const int domHarvest = 808;
public static readonly int[] IDS = new int[16]
{
813, 812, 802, 806, 807, 811, 804, 810, 805, 809,
808, 803, 814, 800, 801, 815
800, 806, 801, 802, 803, 804, 805, 807, 812, 809,
810, 811, 813, 814, 815, 808
};
}
public class Domain : EClassELEMENT
public class ELEMENT
{
public const int difficulty = 765;
public const int cute = 752;
public const int air = 763;
public const int antidote = 753;
public const int roasted = 762;
public const int nerve = 754;
public const int stimulant = 760;
public const int blood = 755;
public const int comfort = 750;
public const int hotspring = 756;
public const int rare = 751;
public const int roasted = 762;
public const int cute = 752;
public const int stimulant = 760;
public const int antidote = 753;
public const int recharge = 761;
public const int nerve = 754;
public const int air = 763;
public const int blood = 755;
public const int difficulty = 765;
public const int hotspring = 756;
public const int rare = 751;
public const int purity = 759;
public const int recharge = 761;
public const int comfort = 750;
public const int _void = 0;
public const int quality = 2;
public const int lv = 1;
public const int old_antidote = 25;
public const int d = 3;
public const int piety = 85;
public const int socket = 5;
public const int race = 29;
public const int nutrition = 10;
public const int cure = 26;
public const int weight = 11;
public const int old_heal = 24;
public const int size = 12;
public const int old_detox = 23;
public const int hardness = 13;
public const int cut = 22;
public const int growth = 14;
public const int fire = 21;
public const int heat = 16;
public const int taste = 18;
public const int decay = 17;
public const int taste = 18;
public const int heat = 16;
public const int water = 15;
public const int poison = 20;
public const int fire = 21;
public const int growth = 14;
public const int cut = 22;
public const int lv = 1;
public const int old_detox = 23;
public const int water = 15;
public const int old_heal = 24;
public const int d = 3;
public const int old_antidote = 25;
public const int socket = 5;
public const int cure = 26;
public const int quality = 2;
public const int race = 29;
public const int weight = 11;
public const int piety = 85;
public const int size = 12;
public const int poison = 20;
public const int hardness = 13;
public const int nutrition = 10;
public static readonly int[] IDS = new int[36]
{
765, 763, 762, 760, 750, 751, 752, 753, 754, 755,
756, 759, 761, 0, 2, 1, 3, 5, 10, 11,
12, 13, 14, 16, 17, 18, 15, 21, 22, 23,
24, 25, 26, 29, 85, 20
752, 753, 754, 755, 756, 762, 760, 761, 763, 765,
751, 759, 750, 0, 25, 85, 29, 26, 24, 23,
22, 21, 18, 17, 16, 20, 14, 1, 15, 3,
5, 2, 11, 12, 13, 10
};
}
public class Element : EClassENC
public class ENC
{
public const int living = 653;
public const int negateParalysis = 422;
public const int eco = 652;
public const int seeInvisible = 416;
public const int r_PV = 651;
public const int invisibility = 415;
public const int r_DV = 650;
public const int loving = 417;
public const int r_mana = 641;
public const int innocence = 418;
public const int mod_cleave = 622;
public const int encTail = 419;
public const int mod_flurry = 621;
public const int negatePoison = 420;
public const int mod_frustration = 624;
public const int negateBlind = 421;
public const int mod_feint = 623;
public const int negateFear = 423;
public const int noDamage = 654;
public const int breathing = 429;
public const int r_life = 640;
public const int negateConfusion = 425;
public const int onlyPet = 655;
public const int negateSteal = 426;
public const int convertCold = 851;
public const int negateNeckHunt = 427;
public const int absorbHP = 660;
public const int encRagnarok = 667;
public const int absorbMP = 661;
public const int meleeDistance = 666;
public const int absorbSP = 662;
public const int planter = 665;
public const int eheluck = 663;
public const int encHit = 414;
public const int boostMachine = 664;
public const int planter = 665;
public const int negateSleep = 424;
public const int meleeDistance = 666;
public const int slowCorruption = 412;
public const int encRagnarok = 667;
public const int negateTeleport = 400;
public const int convertFire = 850;
public const int throwReturn = 410;
public const int mod_chaser = 620;
public const int allNeckHunt = 428;
public const int counter = 380;
public const int rusher = 382;
public const int convertImpact = 865;
public const int convertLightning = 852;
public const int permaCurse = 656;
public const int convertCold = 851;
public const int mod_talisman = 609;
public const int convertFire = 850;
public const int defense_range = 435;
public const int redirect_blaser = 383;
public const int mod_scatter = 607;
public const int encSpell = 411;
public const int loving = 417;
public const int eheluck = 663;
public const int innocence = 418;
public const int searchRange = 402;
public const int encTail = 419;
public const int expMod = 403;
public const int negatePoison = 420;
public const int weightMod = 404;
public const int negateBlind = 421;
public const int slowDecay = 405;
public const int negateParalysis = 422;
public const int resMutation = 406;
public const int negateFear = 423;
public const int travelSpeed = 407;
public const int seeInvisible = 416;
public const int resWeather = 408;
public const int negateSleep = 424;
public const int corruption = 409;
public const int negateSteal = 426;
public const int levitation = 401;
public const int negateNeckHunt = 427;
public const int absorbSP = 662;
public const int allNeckHunt = 428;
public const int basher = 381;
public const int breathing = 429;
public const int absorbHP = 660;
public const int negateShockwave = 430;
public const int bane_animal = 463;
public const int negateSunburn = 431;
public const int bane_man = 464;
public const int sanctified = 432;
public const int bane_machine = 465;
public const int negateConfusion = 425;
public const int bane_god = 466;
public const int guts = 436;
public const int bane_fish = 467;
public const int invisibility = 415;
public const int bane_all = 468;
public const int slowCorruption = 412;
public const int strongStomach = 480;
public const int counter = 380;
public const int revealFaith = 481;
public const int basher = 381;
public const int force_weapon = 482;
public const int rusher = 382;
public const int optimizeMana = 483;
public const int redirect_blaser = 383;
public const int slot_rune = 484;
public const int negateTeleport = 400;
public const int nonLethal = 485;
public const int levitation = 401;
public const int creativeChef = 487;
public const int searchRange = 402;
public const int deathagony = 488;
public const int encHit = 414;
public const int music_drunk = 489;
public const int expMod = 403;
public const int bane_fairy = 462;
public const int slowDecay = 405;
public const int bane_undead = 461;
public const int resMutation = 406;
public const int bane_dragon = 460;
public const int travelSpeed = 407;
public const int sustain_figure = 450;
public const int resWeather = 408;
public const int absorbMP = 661;
public const int mod_splash = 608;
public const int negateSunburn = 431;
public const int throwReturn = 410;
public const int sanctified = 432;
public const int encSpell = 411;
public const int defense_range = 435;
public const int weightMod = 404;
public const int guts = 436;
public const int parry = 437;
public const int corruption = 409;
public const int knightly = 438;
public const int farsee = 490;
public const int negateParry = 439;
public const int force_weapon = 482;
public const int sustain_END = 441;
public const int optimizeMana = 483;
public const int sustain_DEX = 442;
public const int slot_rune = 484;
public const int sustain_PER = 443;
public const int nonLethal = 485;
public const int sustain_LER = 444;
public const int safetyMeasure = 486;
public const int sustain_WIL = 445;
public const int creativeChef = 487;
public const int sustain_MAG = 446;
public const int deathagony = 488;
public const int sustain_CHA = 447;
public const int music_drunk = 489;
public const int sustain_STR = 440;
public const int farsee = 490;
public const int negateGravity = 491;
public const int mod_ammo = 600;
public const int safetyMeasure = 486;
public const int mod_reload = 601;
public const int mod_rapid = 602;
public const int mod_ammo_knockback = 603;
public const int mod_ammo_recover = 604;
public const int mod_precision = 605;
public const int living = 653;
public const int mod_drill = 606;
public const int noDamage = 654;
public const int knightly = 438;
public const int onlyPet = 655;
public const int revealFaith = 481;
public const int mod_ammo = 600;
public const int strongStomach = 480;
public const int r_PV = 651;
public const int negateGravity = 491;
public const int r_DV = 650;
public const int bane_fish = 467;
public const int r_mana = 641;
public const int sustain_STR = 440;
public const int r_life = 640;
public const int bane_all = 468;
public const int mod_frustration = 624;
public const int sustain_END = 441;
public const int mod_feint = 623;
public const int sustain_DEX = 442;
public const int mod_cleave = 622;
public const int sustain_LER = 444;
public const int eco = 652;
public const int sustain_WIL = 445;
public const int negateShockwave = 430;
public const int sustain_MAG = 446;
public const int mod_rapid = 602;
public const int sustain_CHA = 447;
public const int mod_chaser = 620;
public const int sustain_PER = 443;
public const int mod_talisman = 609;
public const int bane_dragon = 460;
public const int mod_splash = 608;
public const int bane_undead = 461;
public const int mod_scatter = 607;
public const int bane_fairy = 462;
public const int mod_ammo_knockback = 603;
public const int bane_animal = 463;
public const int mod_drill = 606;
public const int bane_man = 464;
public const int permaCurse = 656;
public const int bane_god = 466;
public const int mod_flurry = 621;
public const int sustain_figure = 450;
public const int mod_ammo_recover = 604;
public const int bane_machine = 465;
public const int mod_precision = 605;
public static readonly int[] IDS = new int[107]
{
653, 652, 651, 650, 641, 622, 621, 624, 623, 654,
640, 655, 851, 660, 661, 662, 663, 664, 665, 666,
667, 850, 620, 865, 852, 656, 609, 435, 607, 417,
418, 419, 420, 421, 422, 423, 416, 424, 426, 427,
428, 429, 430, 431, 432, 425, 436, 415, 412, 380,
381, 382, 383, 400, 401, 402, 414, 403, 405, 406,
407, 408, 608, 410, 411, 404, 437, 409, 439, 482,
483, 484, 485, 486, 487, 488, 489, 490, 600, 601,
602, 603, 604, 605, 606, 438, 481, 480, 491, 467,
440, 468, 441, 442, 444, 445, 446, 447, 443, 460,
461, 462, 463, 464, 466, 450, 465
422, 416, 415, 417, 418, 419, 420, 421, 423, 429,
425, 426, 427, 667, 666, 665, 414, 664, 424, 412,
400, 410, 428, 380, 382, 865, 852, 851, 850, 383,
411, 663, 402, 403, 404, 405, 406, 407, 408, 409,
401, 662, 381, 660, 463, 464, 465, 466, 467, 468,
480, 481, 482, 483, 484, 485, 487, 488, 489, 462,
461, 460, 450, 661, 431, 432, 435, 436, 437, 438,
490, 439, 441, 442, 443, 444, 445, 446, 447, 440,
491, 486, 601, 653, 654, 655, 600, 651, 650, 641,
640, 624, 623, 622, 652, 430, 602, 620, 609, 608,
607, 603, 606, 656, 621, 604, 605
};
}ElementContainerCard
public void CheckSkillActions()
{
if (owner.IsPC)
{
TryLearn(6608, 1274, 0);
TryLearn(6011, 281, 0);
TryLearn(6018, 226, 0);
TryLearn(6019, 227, 0);FACTION
public class FACTION
{
public const int bfRuin = 3702;
public const int bfForest = 3601;
public const int bfLandmark2 = 3781;
public const int bfSnow = 3602;
public const int bfSilica = 3802;
public const int bfHill = 3603;
public const int bfBreed = 3710;
public const int bfUndersea = 3606;
public const int bfCoal = 3800;
public const int bfSea = 3605;
public const int bfLandmark5 = 3784;
public const int bfFertile = 3700;
public const int bfLandmark1 = 3780;
public const int bfGeyser = 3701;
public const int bfLandmark3 = 3782;
public const int bfPlain = 3600;
public const int bfMushroom = 3801;
public const int bfBeach = 3604;
public const int bfLandmark4 = 3783;
public const int bfCave = 3500;
public const int fElec = 2201;
public const int fHeirloom = 2120;
public const int fAdmin = 2115;
public const int fSafety = 2205;
public const int fEducation = 2116;
public const int fFood = 2204;
public const int fLoyal = 2117;
public const int fMoral = 2203;
public const int fLuck = 2118;
public const int fPromo = 2202;
public const int fTaxEvasion = 2119;
public const int fElec = 2201;
public const int fHeirloom = 2120;
public const int fSoil = 2200;
public const int fTaxEvasion = 2119;
public const int fPromo = 2202;
public const int fLuck = 2118;
public const int fMoral = 2203;
public const int fLoyal = 2117;
public const int fRation = 2207;
public const int fEducation = 2116;
public const int fFood = 2204;
public const int bfTranquil = 3703;
public const int fSafety = 2205;
public const int fAttraction = 2206;
public const int bfVolcano = 3704;
public const int bfBasin = 3709;
public const int actBuildCut = 4000;
public const int fConstruction = 2003;
public const int bfFish = 3706;
public const int bfFreshAir = 3708;
public const int fAdmin = 2115;
public const int bfChitin = 3805;
public const int actBuildInspect = 4006;
public const int bfGum = 3803;
public const int actBuildRecipe = 4005;
public const int bfMonster = 3707;
public const int actBuildCollect = 4004;
public const int bfPlain = 3600;
public const int actBuildAnywhere = 4003;
public const int bfForest = 3601;
public const int actBuildTerrain = 4002;
public const int bfSnow = 3602;
public const int actBuildMine = 4001;
public const int bfHill = 3603;
public const int bfStart = 3900;
public const int bfBeach = 3604;
public const int bfChitin = 3805;
public const int bfSea = 3605;
public const int bfIce = 3804;
public const int bfFertile = 3700;
public const int bfGum = 3803;
public const int bfGeyser = 3701;
public const int bfSilica = 3802;
public const int bfRuin = 3702;
public const int bfMushroom = 3801;
public const int bfTranquil = 3703;
public const int bfCoal = 3800;
public const int bfVolcano = 3704;
public const int bfLandmark5 = 3784;
public const int bfUndersea = 3606;
public const int bfLandmark4 = 3783;
public const int bfFish = 3706;
public const int bfLandmark3 = 3782;
public const int bfIce = 3804;
public const int bfLandmark2 = 3781;
public const int bfHunt = 3705;
public const int bfLandmark1 = 3780;
public const int bfStart = 3900;
public const int bfBreed = 3710;
public const int actBuildCut = 4000;
public const int bfBasin = 3709;
public const int actBuildMine = 4001;
public const int bfFreshAir = 3708;
public const int actBuildTerrain = 4002;
public const int bfMonster = 3707;
public const int bfCave = 3500;
public const int bfHunt = 3705;
public const int actBuildCollect = 4004;
public const int fConstruction = 2003;
public const int actBuildRecipe = 4005;
public const int fRation = 2207;
public const int actBuildInspect = 4006;
public const int actBuildAnywhere = 4003;
public static readonly int[] IDS = new int[53]
{
3702, 3601, 3602, 3603, 3606, 3605, 3700, 3701, 3600, 3604,
3500, 2120, 2205, 2204, 2203, 2202, 2201, 2200, 2119, 2118,
2117, 2116, 3703, 2206, 3704, 4000, 3706, 2115, 4006, 4005,
4004, 4003, 4002, 4001, 3900, 3805, 3804, 3803, 3802, 3801,
3800, 3784, 3783, 3782, 3781, 3780, 3710, 3709, 3708, 3707,
3705, 2003, 2207
3781, 3802, 3710, 3800, 3784, 3780, 3782, 3801, 3783, 2201,
2115, 2116, 2117, 2118, 2119, 2120, 2200, 2202, 2203, 2207,
2204, 2205, 2206, 3709, 2003, 3708, 3805, 3803, 3707, 3600,
3601, 3602, 3603, 3604, 3605, 3700, 3701, 3702, 3703, 3704,
3606, 3706, 3804, 3705, 3900, 4000, 4001, 4002, 3500, 4004,
4005, 4006, 4003
};
}
public class Faction : EClassFEAT
public class FEAT
{
public const int featUnderground = 1226;
public const int featSTR = 1620;
public const int featFaith = 1636;
public const int featLuck = 1628;
public const int featAnimalLover = 1640;
public const int featCHA = 1627;
public const int featResCurse = 1641;
public const int featWIL = 1626;
public const int featSleeper = 1642;
public const int featMAG = 1625;
public const int featSorter = 1643;
public const int featLER = 1624;
public const int featBodyParts = 1644;
public const int featPER = 1623;
public const int featMartial = 1635;
public const int featEND = 1622;
public const int featParty = 1645;
public const int featHardy = 1630;
public const int featSummoner = 1647;
public const int featDEX = 1621;
public const int featRapidMagic = 1648;
public const int featSPD = 1629;
public const int featDefender = 1649;
public const int featSwordsage = 1418;
public const int featGourmet = 1650;
public const int featMana = 1611;
public const int featMagicManner = 1651;
public const int featLife = 1610;
public const int featRapidArrow = 1652;
public const int featNeckHunter = 1426;
public const int featLonelySoul = 1646;
public const int featMimic = 1425;
public const int featDreamWaker = 1653;
public const int featElite = 1424;
public const int featNegotiate = 1634;
public const int featPeaky = 1423;
public const int featEvade = 1632;
public const int featHealer = 1422;
public const int featMana = 1611;
public const int featManaMeat = 1421;
public const int featStamina = 1612;
public const int featExecutioner = 1420;
public const int featSTR = 1620;
public const int featMilitant = 1419;
public const int featDEX = 1621;
public const int featDefense = 1631;
public const int featEND = 1622;
public const int featWitch = 1417;
public const int featPER = 1623;
public const int featInquisitor = 1416;
public const int featSpotting = 1633;
public const int featStamina = 1612;
public const int featLER = 1624;
public const int featEvade = 1632;
public const int featWIL = 1626;
public const int featRapidMagic = 1648;
public const int featCHA = 1627;
public const int featNegotiate = 1634;
public const int featLuck = 1628;
public const int featFoxMaid = 1415;
public const int featSPD = 1629;
public const int featComat = 1750;
public const int featHardy = 1630;
public const int featGoldenFinger = 1662;
public const int featDefense = 1631;
public const int featDismantler = 1661;
public const int featMAG = 1625;
public const int featLooter = 1660;
public const int featLife = 1610;
public const int featFisher = 1659;
public const int featHeavyCasting = 1654;
public const int featChef = 1658;
public const int featScavenger = 1656;
public const int featManaCost = 1657;
public const int featFairyResist = 1212;
public const int featScavenger = 1656;
public const int featSnail = 1211;
public const int featModelBeliever = 1655;
public const int featUndead = 1210;
public const int featHeavyCasting = 1654;
public const int featFluffyTail = 1209;
public const int featDreamWaker = 1653;
public const int featFoxLearn = 1208;
public const int featSpotting = 1633;
public const int featFoxBless = 1207;
public const int featRapidArrow = 1652;
public const int featElea = 1213;
public const int featGourmet = 1650;
public const int featMelilithCurse = 1206;
public const int featDefender = 1649;
public const int featFairyWeak = 1204;
public const int featSummoner = 1647;
public const int featGrowParts = 1203;
public const int featLonelySoul = 1646;
public const int featFastLearner = 1202;
public const int featParty = 1645;
public const int featManaBond = 1201;
public const int featBodyParts = 1644;
public const int featSlowFood = 1200;
public const int featSorter = 1643;
public const int featLoyal = 1225;
public const int featSleeper = 1642;
public const int featCannibalism = 1205;
public const int featResCurse = 1641;
public const int featModelBeliever = 1655;
public const int featAnimalLover = 1640;
public const int featManaPrecision = 1214;
public const int featFaith = 1636;
public const int featSuccubus = 1216;
public const int featMartial = 1635;
public const int featManaCost = 1657;
public const int featMagicManner = 1651;
public const int featChef = 1658;
public const int featWhiteVixen = 1414;
public const int featFisher = 1659;
public const int featMassSummoner = 1240;
public const int featLooter = 1660;
public const int featLuckyCat = 1412;
public const int featDismantler = 1661;
public const int featBaby = 1232;
public const int featGoldenFinger = 1662;
public const int featCosmicHorror = 1233;
public const int featDwarf = 1215;
public const int featHeavyEater = 1234;
public const int featComat = 1750;
public const int featLightEater = 1235;
public const int featSplit = 1222;
public const int featNorland = 1236;
public const int featSpike = 1221;
public const int featRoran = 1237;
public const int featFate = 1220;
public const int featElder = 1238;
public const int featElderCrab = 1219;
public const int featDemon = 1239;
public const int featMetal = 1218;
public const int featMeatCushion = 1241;
public const int featGolem = 1217;
public const int featGeneSlot = 1242;
public const int featAcidBody = 1223;
public const int featEternalYouth = 1243;
public const int featNeckHunter = 1426;
public const int featCentaur = 1244;
public const int featShiva = 1224;
public const int featSevenSense = 1245;
public const int featGod_oblivion1 = 1340;
public const int featPegasus = 1246;
public const int featPianist = 1405;
public const int featLibra = 1247;
public const int featTourist = 1406;
public const int featMiscreation = 1248;
public const int featPaladin = 1407;
public const int featFairysan = 1413;
public const int featPaladin2 = 1408;
public const int featVampire = 1250;
public const int featBoost = 1409;
public const int featAshborn = 1251;
public const int featReboot = 1410;
public const int featAquatic = 1252;
public const int featEarthStrength = 1411;
public const int featGoodKarma = 1270;
public const int featLuckyCat = 1412;
public const int featBadKarma = 1271;
public const int featFairysan = 1413;
public const int featPeacemaker = 1272;
public const int featWhiteVixen = 1414;
public const int featBloom = 1273;
public const int featFoxMaid = 1415;
public const int featSlimeEvolution = 1274;
public const int featInquisitor = 1416;
public const int featGoddess = 1290;
public const int featWitch = 1417;
public const int featGod_element1 = 1300;
public const int featSwordsage = 1418;
public const int featNirvana = 1231;
public const int featMilitant = 1419;
public const int featAdam = 1230;
public const int featExecutioner = 1420;
public const int featLittleOne = 1229;
public const int featManaMeat = 1421;
public const int featDemigod = 1228;
public const int featArcher = 1404;
public const int featSlowFood = 1200;
public const int featHealer = 1422;
public const int featManaBond = 1201;
public const int featFarmer = 1403;
public const int featFastLearner = 1202;
public const int featThief = 1401;
public const int featGrowParts = 1203;
public const int featBadKarma = 1271;
public const int featFairyWeak = 1204;
public const int featPeacemaker = 1272;
public const int featCannibalism = 1205;
public const int featBloom = 1273;
public const int featMelilithCurse = 1206;
public const int featSlimeEvolution = 1274;
public const int featFoxBless = 1207;
public const int featGoddess = 1290;
public const int featFoxLearn = 1208;
public const int featGod_element1 = 1300;
public const int featFluffyTail = 1209;
public const int featGod_earth1 = 1305;
public const int featUndead = 1210;
public const int featGod_wind1 = 1310;
public const int featSnail = 1211;
public const int featGod_machine1 = 1315;
public const int featFairyResist = 1212;
public const int featGod_healing1 = 1320;
public const int featGod_earth1 = 1305;
public const int featGod_harvest1 = 1325;
public const int featElea = 1213;
public const int featGod_luck1 = 1330;
public const int featDwarf = 1215;
public const int featGod_harmony1 = 1335;
public const int featSuccubus = 1216;
public const int featGod_trickery1 = 1345;
public const int featGolem = 1217;
public const int featGod_moonshadow1 = 1350;
public const int featMetal = 1218;
public const int featGod_strife1 = 1355;
public const int featElderCrab = 1219;
public const int featWarrior = 1400;
public const int featFate = 1220;
public const int featWizard = 1402;
public const int featSpike = 1221;
public const int featGoodKarma = 1270;
public const int featSplit = 1222;
public const int featPeaky = 1423;
public const int featAcidBody = 1223;
public const int featAshborn = 1251;
public const int featShiva = 1224;
public const int featElder = 1238;
public const int featLoyal = 1225;
public const int featRoran = 1237;
public const int featUnderground = 1226;
public const int featNorland = 1236;
public const int featServant = 1227;
public const int featMimic = 1425;
public const int featManaPrecision = 1214;
public const int featLightEater = 1235;
public const int featGod_wind1 = 1310;
public const int featHeavyEater = 1234;
public const int featBloodBond = 1249;
public const int featCosmicHorror = 1233;
public const int featGod_healing1 = 1320;
public const int featBaby = 1232;
public const int featEarthStrength = 1411;
public const int featNirvana = 1231;
public const int featReboot = 1410;
public const int featAdam = 1230;
public const int featBoost = 1409;
public const int featLittleOne = 1229;
public const int featPaladin2 = 1408;
public const int featDemigod = 1228;
public const int featPaladin = 1407;
public const int featServant = 1227;
public const int featTourist = 1406;
public const int featElite = 1424;
public const int featPianist = 1405;
public const int featAquatic = 1252;
public const int featArcher = 1404;
public const int featDemon = 1239;
public const int featFarmer = 1403;
public const int featVampire = 1250;
public const int featWizard = 1402;
public const int featBloodBond = 1249;
public const int featThief = 1401;
public const int featMiscreation = 1248;
public const int featWarrior = 1400;
public const int featLibra = 1247;
public const int featGod_strife1 = 1355;
public const int featPegasus = 1246;
public const int featGod_moonshadow1 = 1350;
public const int featSevenSense = 1245;
public const int featGod_trickery1 = 1345;
public const int featCentaur = 1244;
public const int featGod_oblivion1 = 1340;
public const int featEternalYouth = 1243;
public const int featGod_harmony1 = 1335;
public const int featGeneSlot = 1242;
public const int featGod_luck1 = 1330;
public const int featMeatCushion = 1241;
public const int featGod_harvest1 = 1325;
public const int featMassSummoner = 1240;
public const int featGod_machine1 = 1315;
public static readonly int[] IDS = new int[142]
{
1226, 1636, 1640, 1641, 1642, 1643, 1644, 1635, 1645, 1647,
1648, 1649, 1650, 1651, 1652, 1646, 1653, 1634, 1632, 1611,
1612, 1620, 1621, 1622, 1623, 1633, 1624, 1626, 1627, 1628,
1629, 1630, 1631, 1625, 1610, 1654, 1656, 1212, 1211, 1210,
1209, 1208, 1207, 1213, 1206, 1204, 1203, 1202, 1201, 1200,
1225, 1205, 1655, 1214, 1216, 1657, 1658, 1659, 1660, 1661,
1662, 1215, 1750, 1222, 1221, 1220, 1219, 1218, 1217, 1223,
1426, 1224, 1340, 1405, 1406, 1407, 1408, 1409, 1410, 1411,
1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421,
1404, 1422, 1403, 1401, 1271, 1272, 1273, 1274, 1290, 1300,
1305, 1310, 1315, 1320, 1325, 1330, 1335, 1345, 1350, 1355,
1400, 1402, 1270, 1423, 1251, 1238, 1237, 1236, 1425, 1235,
1234, 1233, 1232, 1231, 1230, 1229, 1228, 1227, 1424, 1252,
1239, 1250, 1249, 1248, 1247, 1246, 1245, 1244, 1243, 1242,
1241, 1240
1620, 1628, 1627, 1626, 1625, 1624, 1623, 1622, 1630, 1621,
1629, 1418, 1611, 1610, 1426, 1425, 1424, 1423, 1422, 1421,
1420, 1419, 1631, 1417, 1416, 1612, 1632, 1648, 1634, 1415,
1750, 1662, 1661, 1660, 1659, 1658, 1657, 1656, 1655, 1654,
1653, 1633, 1652, 1650, 1649, 1647, 1646, 1645, 1644, 1643,
1642, 1641, 1640, 1636, 1635, 1651, 1414, 1240, 1412, 1232,
1233, 1234, 1235, 1236, 1237, 1238, 1239, 1241, 1242, 1243,
1244, 1245, 1246, 1247, 1248, 1413, 1250, 1251, 1252, 1270,
1271, 1272, 1273, 1274, 1290, 1300, 1231, 1230, 1229, 1228,
1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209,
1210, 1211, 1212, 1305, 1213, 1215, 1216, 1217, 1218, 1219,
1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1214, 1310,
1249, 1320, 1411, 1410, 1409, 1408, 1407, 1406, 1405, 1404,
1403, 1402, 1401, 1400, 1355, 1350, 1345, 1340, 1335, 1330,
1325, 1315
};
}
public class Feat : ElementFOOD
public class FOOD
{
public const int food_bug = 704;
public const int creativeDish = 764;
public const int food_cat = 701;
public const int justcooked = 757;
public const int food_blood = 710;
public const int food_CHA = 700;
public const int creativeDish = 764;
public const int food_cat = 701;
public const int food_god = 758;
public const int justcooked = 757;
public const int food_blood = 710;
public const int food_love = 703;
public const int food_undead = 709;
public const int food_bug = 704;
public const int food_poison = 702;
public const int kirimi = 707;
public const int loseWeight = 706;
public const int gainWeight = 705;
public const int food_love = 703;
public const int kirimi = 707;
public const int food_human = 708;
public const int food_undead = 709;
public const int gainWeight = 705;
public static readonly int[] IDS = new int[14]
{
704, 701, 700, 764, 758, 757, 710, 709, 702, 707,
706, 705, 703, 708
764, 757, 710, 700, 701, 758, 703, 704, 702, 706,
707, 708, 709, 705
};
}FoodEffect
public static void Proc(Chara c, Thing food, bool consume = true)
{
break;
}
goto IL_0f76;
goto IL_0f84;
case "love":
ActEffect.LoveMiracle(c2, EClass.pc, value.Value * 10);
break;public static void Proc(Chara c, Thing food, bool consume = true)
num4 += (float)food.Evalue(440);
num4 += (float)(food.Evalue(445) / 2);
num4 -= (float)food.Evalue(71);
num4 += (float)food.Evalue(18);
num4 += (float)(num3 / 2);
num4 *= num5;
if (idTaste.IsEmpty())public static void Proc(Chara c, Thing food, bool consume = true)
{
food.trait.OnDrink(c2);
}
goto IL_0f76;
IL_0f76:
goto IL_0f84;
IL_0f84:
if (consume)
{
num7 += 5f;MUTATION
{
public const int mutationSkin = 1510;
public const int etherPoisonHand = 1565;
public const int mutationColdN = 1527;
public const int mutationCold = 1526;
public const int mutationBrainN = 1525;
public const int mutationChaN = 1523;
public const int mutationCha = 1522;
public const int mutationStrN = 1521;
public const int mutationStr = 1520;
public const int mutationSkinN = 1511;
public const int mutationLightning = 1528;
public const int mutationEye = 1512;
public const int mutationSpeedN = 1519;
public const int mutationEyeN = 1513;
public const int mutationRegenN = 1517;
public const int mutationDex = 1514;
public const int mutationRegen = 1516;
public const int mutationDexN = 1515;
public const int mutationDex = 1514;
public const int mutationEyeN = 1513;
public const int mutationEye = 1512;
public const int mutationSkinN = 1511;
public const int mutationSpeed = 1518;
public const int mutationLightningN = 1529;
public const int mutationBrain = 1524;
public const int mutationBodyN = 1531;
public const int etherPoisonHand = 1565;
public const int etherManaBattery = 1564;
public const int etherArmor = 1562;
public const int mutationBody = 1530;
public const int etherStupid = 1561;
public const int etherWeak = 1560;
public const int etherViolence = 1556;
public const int etherStupid = 1561;
public const int mutationRegenN = 1517;
public const int etherWing = 1554;
public const int etherUgly = 1551;
public const int etherGravity = 1550;
public const int etherNeck = 1555;
public const int mutationHairN = 1533;
public const int mutationSpeedN = 1519;
public const int mutationStr = 1520;
public const int etherGravity = 1550;
public const int mutationCha = 1522;
public const int mutationChaN = 1523;
public const int mutationBrain = 1524;
public const int mutationBrainN = 1525;
public const int mutationStrN = 1521;
public const int mutationColdN = 1527;
public const int mutationLightning = 1528;
public const int mutationLightningN = 1529;
public const int mutationBody = 1530;
public const int mutationBodyN = 1531;
public const int mutationHair = 1532;
public const int etherNeck = 1555;
public const int mutationCold = 1526;
public static readonly int[] IDS = new int[40]
{
1510, 1565, 1527, 1526, 1525, 1523, 1522, 1521, 1520, 1528,
1519, 1517, 1516, 1515, 1514, 1513, 1512, 1511, 1518, 1529,
1524, 1531, 1564, 1563, 1562, 1530, 1560, 1559, 1558, 1557,
1556, 1561, 1554, 1553, 1552, 1551, 1550, 1533, 1532, 1555
1510, 1511, 1512, 1513, 1514, 1516, 1515, 1518, 1565, 1564,
1563, 1562, 1561, 1560, 1559, 1558, 1557, 1556, 1517, 1554,
1553, 1552, 1551, 1555, 1533, 1519, 1520, 1550, 1522, 1523,
1524, 1525, 1521, 1527, 1528, 1529, 1530, 1531, 1532, 1526
};
}
public class Mutation : FeatPOLICY
public class POLICY
{
public const int license_food = 2818;
public const int license_furniture = 2819;
public const int license_general = 2820;
public const int celeb = 2822;
public const int egg_fan = 2826;
public const int legendary_exhibition = 2823;
public const int license_stolen = 2824;
public const int egg_fan = 2826;
public const int milk_fan = 2825;
public const int license_slaver = 2828;
public const int store_premium = 2817;
public const int legendary_exhibition = 2823;
public const int store_ripoff = 2816;
public const int border_watch = 2704;
public const int mass_exhibition = 2814;
public const int license_food = 2818;
public const int taxfree = 2514;
public const int license_stolen = 2824;
public const int resident_wanted = 2513;
public const int store_premium = 2817;
public const int legal_drug = 2505;
public const int wealth_tax = 2500;
public const int platinum_ticket = 2815;
public const int wealth_tax = 2500;
public const int speed_growth = 2516;
public const int faith_tax = 2501;
public const int stop_growth = 2515;
public const int food_for_people = 2502;
public const int taxfree = 2514;
public const int prohibition = 2503;
public const int resident_wanted = 2513;
public const int resident_tax = 2512;
public const int ban_radio = 2510;
public const int vaccination = 2509;
public const int energy_conservation = 2700;
public const int nocturnal_life = 2508;
public const int vaccination = 2509;
public const int inquisition = 2507;
public const int human_right = 2506;
public const int stop_growth = 2515;
public const int speed_growth = 2516;
public const int legal_drug = 2505;
public const int impressment = 2504;
public const int trash_sort = 2701;
public const int food_for_people = 2502;
public const int energy_conservation = 2700;
public const int faith_tax = 2501;
public const int auto_farm = 2707;
public const int store_ripoff = 2816;
public const int noDM = 2708;
public const int nocturnal_life = 2508;
public const int demon_invocation = 2706;
public const int trash_sort = 2701;
public const int noAnimal = 2709;
public const int prohibition = 2503;
public const int incomeTransfer = 2711;
public const int weed_no = 2703;
public const int forcePanty = 2712;
public const int trash_no = 2702;
public const int livestock_priv = 2715;
public const int mass_exhibition = 2814;
public const int noMother = 2710;
public const int bed_quality = 2812;
public const int tourist_safety = 2811;
public const int open_business = 2810;
public const int tourist_safety = 2811;
public const int home_discount = 2800;
public const int bed_quality = 2812;
public const int livestock_priv = 2715;
public const int forcePanty = 2712;
public const int suite_room = 2813;
public const int noMother = 2710;
public const int border_watch = 2704;
public const int incomeTransfer = 2711;
public const int demon_invocation = 2706;
public const int taxTransfer = 2705;
public const int weed_no = 2703;
public const int auto_farm = 2707;
public const int trash_no = 2702;
public const int noDM = 2708;
public const int home_discount = 2800;
public const int noAnimal = 2709;
public static readonly int[] IDS = new int[51]
{
2818, 2819, 2820, 2821, 2822, 2826, 2824, 2825, 2827, 2828,
2817, 2823, 2816, 2704, 2814, 2514, 2513, 2505, 2815, 2500,
2501, 2502, 2503, 2512, 2511, 2510, 2509, 2508, 2507, 2506,
2515, 2516, 2504, 2701, 2700, 2707, 2708, 2706, 2709, 2711,
2712, 2715, 2710, 2810, 2811, 2812, 2813, 2705, 2703, 2702,
2800
2819, 2820, 2821, 2822, 2823, 2826, 2825, 2827, 2828, 2818,
2824, 2817, 2500, 2815, 2516, 2515, 2514, 2513, 2512, 2511,
2510, 2700, 2509, 2507, 2506, 2505, 2504, 2502, 2501, 2816,
2508, 2701, 2503, 2703, 2702, 2814, 2812, 2811, 2810, 2800,
2715, 2712, 2813, 2710, 2704, 2711, 2706, 2705, 2707, 2708,
2709
};
}
public class Policy : EClassQuestManager
public int GetPhase<T>() where T : Quest
return -1;
}
public int GetPhase(string id)
{
if (IsCompleted(id))
{
return 999;
}
foreach (Quest item in list)
{
if (item.id == id)
{
return item.phase;
}
}
return -1;
}
public T Get<T>() where T : Quest
{
foreach (Quest item in list)SKILL
public class SKILL
{
public const int armorLight = 120;
public const int fireproof = 50;
public const int climbing = 242;
public const int marksman = 133;
public const int throwing = 108;
public const int tactics = 132;
public const int weaponCrossbow = 109;
public const int twowield = 131;
public const int weaponScythe = 110;
public const int twohand = 130;
public const int weaponBlunt = 111;
public const int shield = 123;
public const int armorHeavy = 122;
public const int twowield = 131;
public const int armorLight = 120;
public const int twohand = 130;
public const int weaponBlunt = 111;
public const int music = 241;
public const int weaponScythe = 110;
public const int travel = 240;
public const int weaponCrossbow = 109;
public const int taming = 237;
public const int throwing = 108;
public const int milking = 235;
public const int weaponDagger = 107;
public const int digging = 230;
public const int eyeofmind = 134;
public const int parasite = 227;
public const int weaponPolearm = 106;
public const int riding = 226;
public const int strategy = 135;
public const int lumberjack = 225;
public const int riding = 226;
public const int shield = 123;
public const int evasionPlus = 151;
public const int mining = 220;
public const int stealth = 152;
public const int swimming = 200;
public const int stealth = 152;
public const int weightlifting = 207;
public const int evasionPlus = 151;
public const int spotting = 210;
public const int evasion = 150;
public const int mining = 220;
public const int strategy = 135;
public const int lumberjack = 225;
public const int eyeofmind = 134;
public const int parasite = 227;
public const int marksman = 133;
public const int digging = 230;
public const int tactics = 132;
public const int milking = 235;
public const int spotting = 210;
public const int taming = 237;
public const int weightlifting = 207;
public const int travel = 240;
public const int martial = 100;
public const int music = 241;
public const int weaponGun = 105;
public const int END = 71;
public const int evasion = 150;
public const int STR = 70;
public const int weaponBow = 104;
public const int FPV = 68;
public const int END = 71;
public const int DMG = 67;
public const int weaponAxe = 102;
public const int HIT = 66;
public const int fireproof = 50;
public const int PV = 65;
public const int acidproof = 51;
public const int DEX = 72;
public const int PDR = 55;
public const int DV = 64;
public const int EDR = 56;
public const int mana = 61;
public const int evasionPerfect = 57;
public const int life = 60;
public const int evasionPerfect = 57;
public const int EDR = 56;
public const int mana = 61;
public const int PDR = 55;
public const int vigor = 62;
public const int acidproof = 51;
public const int PV = 65;
public const int vigor = 62;
public const int HIT = 66;
public const int weaponPolearm = 106;
public const int DMG = 67;
public const int PER = 73;
public const int FPV = 68;
public const int WIL = 75;
public const int STR = 70;
public const int weaponBow = 104;
public const int climbing = 242;
public const int weaponStaff = 103;
public const int weaponAxe = 102;
public const int DEX = 72;
public const int weaponSword = 101;
public const int LER = 74;
public const int dmgDealt = 94;
public const int WIL = 75;
public const int antiMagic = 93;
public const int MAG = 76;
public const int LER = 74;
public const int CHA = 77;
public const int penetration = 92;
public const int LUC = 78;
public const int critical = 90;
public const int SPD = 79;
public const int INT = 80;
public const int SPD = 79;
public const int critical = 90;
public const int LUC = 78;
public const int vopal = 91;
public const int CHA = 77;
public const int penetration = 92;
public const int MAG = 76;
public const int antiMagic = 93;
public const int vopal = 91;
public const int dmgDealt = 94;
public const int martial = 100;
public const int weaponSword = 101;
public const int PER = 73;
public const int fishing = 245;
public const int weaponDagger = 107;
public const int DV = 64;
public const int carpentry = 255;
public const int resCut = 964;
public const int resImpact = 965;
public const int gathering = 250;
public const int resCurse = 972;
public const int resDamage = 971;
public const int resDecay = 970;
public const int resImpact = 965;
public const int gathering = 250;
public const int resPoison = 955;
public const int eleMind = 914;
public const int regeneration = 300;
public const int meditation = 301;
public const int env = 313;
public const int controlmana = 302;
public const int disarmTrap = 293;
public const int manaCapacity = 303;
public const int eleFire = 910;
public const int casting = 304;
public const int eleCold = 911;
public const int magicDevice = 305;
public const int hygine = 310;
public const int faith = 306;
public const int fun = 312;
public const int memorization = 307;
public const int hygine = 310;
public const int magicDevice = 305;
public const int env = 313;
public const int casting = 304;
public const int bladder = 311;
public const int manaCapacity = 303;
public const int eleFire = 910;
public const int controlmana = 302;
public const int fun = 312;
public const int meditation = 301;
public const int eleCold = 911;
public const int faith = 306;
public const int disarmTrap = 293;
public const int bladder = 311;
public static readonly int[] IDS = new int[134]
{
120, 50, 242, 108, 109, 110, 111, 122, 131, 130,
241, 240, 237, 235, 230, 227, 226, 225, 123, 220,
200, 152, 151, 150, 135, 134, 133, 132, 210, 207,
100, 105, 71, 70, 68, 67, 66, 65, 72, 64,
61, 60, 57, 56, 55, 51, 62, 106, 73, 75,
104, 103, 102, 101, 94, 93, 74, 92, 90, 80,
79, 78, 77, 76, 91, 245, 107, 255, 916, 917,
133, 132, 131, 130, 123, 122, 120, 111, 110, 109,
108, 107, 134, 106, 135, 226, 151, 152, 200, 207,
210, 220, 225, 227, 230, 235, 237, 240, 241, 105,
150, 104, 71, 102, 50, 51, 55, 56, 57, 60,
61, 62, 65, 66, 67, 68, 70, 242, 103, 72,
74, 75, 76, 77, 78, 79, 80, 90, 91, 92,
93, 94, 100, 101, 73, 245, 64, 255, 916, 917,
918, 919, 921, 922, 923, 924, 925, 926, 950, 951,
952, 953, 915, 954, 956, 957, 958, 959, 960, 961,
962, 963, 964, 965, 250, 972, 971, 970, 955, 914,
962, 963, 964, 972, 971, 970, 965, 250, 955, 914,
920, 912, 290, 289, 288, 287, 913, 285, 291, 281,
261, 260, 259, 258, 257, 256, 280, 292, 286, 300,
301, 302, 303, 304, 305, 306, 307, 310, 313, 311,
910, 312, 911, 293
313, 293, 910, 911, 310, 312, 307, 305, 304, 303,
302, 301, 306, 311
};
}
public class Skill : ElementSLOT
public const int hand = 35;
public const int finger = 36;
public const int lightsource = 45;
public const int tool = 40;
public const int waist = 37;
public const int leg = 38;
public const int foot = 39;
public const int lightsource = 45;
public const int tool = 40;
public const int toolbelt = 44;
public const int token = 43;
public const int range = 41;
public const int torso = 32;
public const int waist = 37;
public const int range = 41;
public const int finger = 36;
public const int neck = 31;
public static readonly int[] IDS = new int[16]
{
33, 34, 35, 36, 40, 38, 39, 45, 44, 43,
41, 32, 37, 31, 42, 30
33, 34, 35, 45, 37, 38, 39, 40, 44, 43,
32, 41, 36, 31, 42, 30
};
}SPELL
public class SPELL
{
public const int bolt_Impact = 50315;
public const int hand_Impact = 50415;
public const int ball_Nerve = 50108;
public const int flare_Sound = 51207;
public const int sword_Void = 51016;
public const int bit_Sound = 51107;
public const int sword_Sound = 51007;
public const int bolt_Sound = 50307;
public const int hand_Void = 50416;
public const int ball_Sound = 50107;
public const int flare_Nether = 51206;
public const int ball_Nerve = 50108;
public const int arrow_Void = 50516;
public const int bolt_Void = 50316;
public const int hand_Void = 50416;
public const int bolt_Nerve = 50308;
public const int ball_Holy = 50109;
public const int bolt_Void = 50316;
public const int bolt_Holy = 50309;
public const int hand_Holy = 50409;
public const int funnel_Holy = 50609;
public const int arrow_Void = 50516;
public const int ball_Sound = 50107;
public const int miasma_Holy = 50709;
public const int funnel_Void = 50616;
public const int bit_Nether = 51106;
public const int flare_Nether = 51206;
public const int sword_Nether = 51006;
public const int bit_Nether = 51106;
public const int arrow_Mind = 50504;
public const int arrow_Poison = 50505;
public const int funnel_Mind = 50604;
public const int hand_Poison = 50405;
public const int miasma_Mind = 50704;
public const int bolt_Poison = 50305;
public const int weapon_Mind = 50804;
public const int puddle_Void = 50916;
public const int puddle_Mind = 50904;
public const int hand_Mind = 50404;
public const int sword_Mind = 51004;
public const int ball_Poison = 50105;
public const int bit_Mind = 51104;
public const int funnel_Poison = 50605;
public const int flare_Mind = 51204;
public const int ball_Poison = 50105;
public const int sword_Mind = 51004;
public const int sword_Void = 51016;
public const int puddle_Mind = 50904;
public const int puddle_Void = 50916;
public const int weapon_Mind = 50804;
public const int bolt_Poison = 50305;
public const int miasma_Mind = 50704;
public const int hand_Poison = 50405;
public const int funnel_Mind = 50604;
public const int arrow_Poison = 50505;
public const int arrow_Mind = 50504;
public const int funnel_Poison = 50605;
public const int bit_Mind = 51104;
public const int miasma_Holy = 50709;
public const int miasma_Poison = 50705;
public const int weapon_Poison = 50805;
public const int puddle_Poison = 50905;
public const int sword_Nether = 51006;
public const int puddle_Nether = 50906;
public const int arrow_Nether = 50506;
public const int hand_Nether = 50406;
public const int weapon_Poison = 50805;
public const int funnel_Void = 50616;
public const int hand_Nether = 50406;
public const int bolt_Nether = 50306;
public const int miasma_Void = 50716;
public const int weapon_Void = 50816;
public const int sword_Poison = 51005;
public const int puddle_Poison = 50905;
public const int miasma_Void = 50716;
public const int bolt_Nether = 50306;
public const int weapon_Holy = 50809;
public const int sword_Holy = 51009;
public const int miasma_Ether = 50712;
public const int weapon_Ether = 50812;
public const int puddle_Ether = 50912;
public const int sword_Ether = 51012;
public const int miasma_Impact = 50715;
public const int hand_Mind = 50404;
public const int bit_Ether = 51112;
public const int flare_Ether = 51212;
public const int ball_Acid = 50113;
public const int miasma_Impact = 50715;
public const int funnel_Impact = 50615;
public const int bolt_Acid = 50313;
public const int bit_Acid = 51113;
public const int flare_Acid = 51213;
public const int arrow_Impact = 50515;
public const int ball_Impact = 50115;
public const int flare_Cut = 51214;
public const int puddle_Cut = 50914;
public const int miasma_Ether = 50712;
public const int weapon_Cut = 50814;
public const int funnel_Cut = 50614;
public const int funnel_Ether = 50612;
public const int miasma_Cut = 50714;
public const int arrow_Cut = 50514;
public const int bolt_Cut = 50314;
public const int funnel_Impact = 50615;
public const int arrow_Impact = 50515;
public const int ball_Cut = 50114;
public const int miasma_Cut = 50714;
public const int flare_Acid = 51213;
public const int funnel_Ether = 50612;
public const int funnel_Cut = 50614;
public const int arrow_Ether = 50512;
public const int bolt_Impact = 50315;
public const int hand_Ether = 50412;
public const int arrow_Ether = 50512;
public const int puddle_Chaos = 50910;
public const int bolt_Ether = 50312;
public const int sword_Impact = 51015;
public const int bit_Holy = 51109;
public const int bit_Impact = 51115;
public const int flare_Holy = 51209;
public const int flare_Impact = 51215;
public const int ball_Chaos = 50110;
public const int weapon_Chaos = 50810;
public const int bolt_Chaos = 50310;
public const int miasma_Chaos = 50710;
public const int hand_Chaos = 50410;
public const int sword_Chaos = 51010;
public const int arrow_Chaos = 50510;
public const int funnel_Chaos = 50610;
public const int hand_Chaos = 50410;
public const int miasma_Chaos = 50710;
public const int bolt_Chaos = 50310;
public const int weapon_Chaos = 50810;
public const int ball_Void = 50116;
public const int ball_Chaos = 50110;
public const int flare_Impact = 51215;
public const int flare_Holy = 51209;
public const int bit_Impact = 51115;
public const int bit_Holy = 51109;
public const int puddle_Chaos = 50910;
public const int arrow_Chaos = 50510;
public const int sword_Impact = 51015;
public const int hand_Impact = 50415;
public const int sword_Chaos = 51010;
public const int bit_Chaos = 51110;
public const int ball_Magic = 50111;
public const int bolt_Ether = 50312;
public const int flare_Chaos = 51210;
public const int weapon_Impact = 50815;
public const int sword_Magic = 51011;
public const int flare_Chaos = 51210;
public const int puddle_Magic = 50911;
public const int miasma_Magic = 50711;
public const int hand_Ether = 50412;
public const int weapon_Magic = 50811;
public const int funnel_Magic = 50611;
public const int puddle_Impact = 50915;
public const int weapon_Magic = 50811;
public const int ball_Magic = 50111;
public const int bit_Ether = 51112;
public const int miasma_Magic = 50711;
public const int hand_Cold = 50401;
public const int sword_Ether = 51012;
public const int ball_Mind = 50104;
public const int SpTransmutePutit = 8791;
public const int SpHero = 8504;
public const int ball_Mind = 50104;
public const int SpWisdom = 8503;
public const int SpHealEris = 8404;
public const int SpResEle = 8506;
public const int SpHeal = 8403;
public const int SpBreath = 8507;
public const int SpHero = 8504;
public const int SpRebirth = 8550;
public const int SpHealCritical = 8402;
public const int SpTransmutePutit = 8791;
public const int SpResEle = 8506;
public const int SpSpeedUp = 8510;
public const int SpTransmuteBroom = 8790;
public const int SpBrightnessOfLife = 8555;
public const int SpSpeedUp = 8510;
public const int SpRebirth = 8550;
public const int SpHealCritical = 8402;
public const int SpBreath = 8507;
public const int SpHealHeavy = 8401;
public const int SpHealLight = 8400;
public const int SpTelekinesis = 8215;
public const int SpWish = 8390;
public const int SpGate = 8202;
public const int ball_ = 7001;
public const int bit_Void = 51116;
public const int SpTelekinesis = 8215;
public const int SpReturn = 8220;
public const int SpEvac = 8221;
public const int SpIdentify = 8230;
public const int SpIdentifyG = 8232;
public const int SpWish = 8390;
public const int SpMutation = 8380;
public const int SpLevitate = 8300;
public const int SpChangeMaterialLesser = 8284;
public const int SpTransmuteCat = 8792;
public const int SpFaith = 8281;
public const int SpMagicMap = 8260;
public const int SpTransmuteCat = 8792;
public const int SpLighten = 8280;
public const int SpEnchantArmorGreat = 8256;
public const int SpUncurse = 8240;
public const int SpLighten = 8280;
public const int SpIdentifyG = 8232;
public const int SpMagicMap = 8260;
public const int bolt_Mind = 50304;
public const int arrow_Cold = 50501;
public const int hand_Cold = 50401;
public const int bolt_Cold = 50301;
public const int ball_Cold = 50101;
public const int flare_Fire = 51200;
public const int bit_Fire = 51100;
public const int arrow_Lightning = 50502;
public const int sword_Fire = 51000;
public const int bit_Fire = 51100;
public const int funnel_Lightning = 50602;
public const int miasma_Lightning = 50702;
public const int sword_Fire = 51000;
public const int puddle_Fire = 50900;
public const int weapon_Fire = 50800;
public const int miasma_Fire = 50700;
public const int SpSummonDragon = 9054;
public const int SpSummonMachine = 9053;
public const int SpEarthquake = 9151;
public const int miasma_Fire = 50700;
public const int funnel_Fire = 50600;
public const int arrow_Fire = 50500;
public const int bolt_Fire = 50300;
public const int bit_Void = 51116;
public const int ball_Fire = 50100;
public const int FieldSpider = 10000;
public static readonly int[] IDS = new int[293]
{
50315, 51207, 51107, 51007, 50907, 50807, 50707, 50607, 50507, 50407,
50307, 50416, 50107, 51206, 50108, 50316, 50308, 50408, 50508, 50608,
50708, 50808, 50908, 51008, 51108, 51208, 50109, 50309, 50409, 50509,
50609, 50516, 50709, 51106, 51006, 50504, 50604, 50704, 50804, 50904,
51004, 51104, 51204, 50105, 51016, 50916, 50305, 50405, 50505, 50605,
50705, 50805, 50906, 50806, 50706, 50606, 50506, 50406, 50616, 50306,
50816, 50106, 51205, 51105, 51005, 50905, 50716, 50809, 50909, 51009,
50812, 50912, 51012, 50404, 51212, 50113, 50715, 50313, 50413, 50513,
50613, 50713, 50813, 50913, 51013, 51113, 51213, 50515, 50115, 51214,
51114, 51014, 50914, 50712, 50814, 50614, 50514, 50414, 50314, 50615,
50114, 50714, 50612, 50512, 50412, 50910, 51015, 51115, 51215, 50810,
50710, 51010, 50610, 50410, 50310, 50116, 50110, 51209, 51109, 50510,
50415, 51110, 50111, 50312, 50815, 50112, 51211, 51111, 51011, 51210,
50911, 50711, 50611, 50511, 50411, 50311, 50915, 50811, 51112, 50401,
50104, 8504, 8503, 8502, 8501, 8500, 8491, 8490, 8480, 8471,
8470, 8450, 8430, 8406, 8405, 8404, 8506, 8403, 8507, 8550,
8791, 8790, 8780, 8776, 8775, 8770, 8710, 8708, 8707, 8706,
8705, 8704, 8702, 8700, 8555, 8510, 8402, 8401, 8400, 8215,
8202, 8201, 8200, 7800, 7010, 7009, 7008, 7007, 7006, 7005,
7004, 7003, 7002, 7001, 8220, 8221, 8230, 8232, 8390, 8380,
8300, 8288, 8286, 8285, 8284, 8792, 8281, 8260, 8256, 8255,
8251, 8250, 8241, 8240, 8280, 50304, 8800, 9000, 50402, 50302,
50102, 51201, 51101, 51001, 50901, 50801, 50701, 50601, 50501, 50301,
50101, 51200, 51100, 50502, 51000, 50602, 50802, 51203, 51103, 51003,
50415, 50108, 51207, 51016, 51107, 51007, 50907, 50807, 50707, 50607,
50507, 50407, 50307, 50516, 50416, 50308, 50408, 50508, 50608, 50708,
50808, 50908, 51008, 51108, 51208, 50109, 50316, 50309, 50409, 50509,
50609, 50107, 50616, 51206, 51106, 50505, 50405, 50305, 50916, 50404,
50105, 50605, 51204, 51004, 50904, 50804, 50704, 50604, 50504, 51104,
50709, 50705, 50905, 51006, 50906, 50806, 50706, 50606, 50506, 50805,
50406, 50716, 50816, 50106, 51205, 51105, 51005, 50306, 50809, 50909,
51009, 50712, 50812, 50912, 50715, 51112, 51212, 50113, 50615, 50313,
50413, 50513, 50613, 50713, 50813, 50913, 51013, 51113, 50115, 51214,
51114, 51014, 50914, 50814, 50612, 50714, 50514, 50414, 50314, 50515,
50114, 51213, 50614, 50315, 50512, 50312, 51109, 51209, 50110, 50310,
50410, 50510, 50610, 50710, 50810, 50116, 51215, 51115, 50910, 51015,
51010, 51110, 51210, 50815, 50112, 51211, 51111, 51011, 50911, 50412,
50811, 50611, 50511, 50411, 50311, 50915, 50111, 50711, 51012, 8791,
50104, 8503, 8502, 8501, 8500, 8491, 8490, 8480, 8471, 8470,
8450, 8430, 8406, 8405, 8404, 8403, 8504, 8402, 8506, 8510,
8790, 8780, 8776, 8775, 8770, 8710, 8708, 8707, 8706, 8705,
8704, 8702, 8700, 8555, 8550, 8507, 8401, 8400, 8390, 8202,
8201, 8200, 7800, 7010, 7009, 7008, 7007, 7006, 7005, 7004,
7003, 7002, 7001, 51116, 8215, 8220, 8221, 8230, 8380, 8300,
8288, 8286, 8285, 8284, 8281, 8792, 8280, 8256, 8255, 8251,
8250, 8241, 8240, 8232, 8260, 50304, 8800, 9000, 50402, 50302,
50102, 51201, 51101, 51001, 50901, 50801, 50701, 50601, 50501, 50401,
50301, 50101, 51200, 50502, 51100, 50602, 50802, 51203, 51103, 51003,
50903, 50803, 50703, 50603, 50503, 50403, 50303, 50103, 51202, 51102,
51002, 50902, 50702, 50900, 50800, 50700, 9054, 9053, 9052, 9051,
51002, 50902, 50702, 51000, 50900, 50800, 9054, 9053, 9052, 9051,
9050, 9010, 9009, 9008, 9007, 9006, 9005, 9004, 9003, 9002,
9001, 9055, 9056, 9150, 9151, 50600, 50500, 50400, 50300, 51116,
9001, 9055, 9056, 9150, 9151, 50700, 50600, 50500, 50400, 50300,
50100, 10000, 8801, 9503, 9501, 9500, 9210, 9200, 9160, 9156,
9155, 9502, 51216
};+StanceSongEnd
File Created
using UnityEngine;
public class StanceSongEnd : BaseSong
{
public override void TickSong()
{
foreach (Chara item in owner.pos.ListCharasInRadius(owner, 4, (Chara c) => !c.IsDeadOrSleeping && c.IsHostile(owner)))
{
if (owner == null || !owner.ExistsOnMap)
{
break;
}
if ((item.IsPowerful ? 15 : 30) * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100))
{
ActEffect.ProcAt(EffectId.Hand, owner.Power, BlessedState.Normal, owner, item, item.pos, isNeg: true, new ActRef
{
aliasEle = ((EClass.rnd(2) == 0) ? "eleLightning" : ((EClass.rnd(2) == 0) ? "eleCold" : "eleFire"))
});
}
}
}
}StanceSongSleep
public override void TickSong()
{
foreach (Chara item in owner.pos.ListCharasInRadius(owner, 4, (Chara c) => !c.IsDeadOrSleeping && c.IsHostile(owner)))
{
if (owner == null || !owner.ExistsOnMap)
{
break;
}
if ((item.IsPowerful ? 10 : 30) * Mathf.Min(base.power / 4, 100) / 100 > EClass.rnd(100))
{
item.AddCondition<ConSleep>(50 + base.power / 2);Trait
public void OnBarter(bool reroll = false)
{
break;
}
int num3 = 0;
int num4 = 0;
foreach (Thing thing10 in c_copyContainer.things)
{
if (!owner.trait.CanCopy(thing10))
{
continue;
}
Thing thing3 = thing10.Duplicate(1);
thing3.isStolen = false;
thing3.isCopy = true;
thing3.c_priceFix = 0;
foreach (Element item in thing3.elements.dict.Values.Where((Element e) => e.HasTag("noInherit")).ToList())
Thing thing5 = thing10.Duplicate(1);
thing5.isStolen = false;
thing5.isCopy = true;
thing5.c_priceFix = 0;
foreach (Element item in thing5.elements.dict.Values.Where((Element e) => e.HasTag("noInherit")).ToList())
{
thing3.elements.Remove(item.id);
thing5.elements.Remove(item.id);
}
int num4 = 1;
int num5 = 1;
switch (owner.trait.CopyShop)
{
case CopyShopType.Item:
{
num4 = (1000 + owner.c_invest * 100) / (thing3.GetPrice(CurrencyType.Money, sell: false, PriceType.CopyShop) + 50);
num5 = (1000 + owner.c_invest * 100) / (thing5.GetPrice(CurrencyType.Money, sell: false, PriceType.CopyShop) + 50);
int[] array = new int[3] { 704, 703, 702 };
foreach (int ele in array)
{
if (thing3.HasElement(ele))
if (thing5.HasElement(ele))
{
num4 = 1;
num5 = 1;
}
}
break;
}
case CopyShopType.Spellbook:
thing3.c_charges = thing10.c_charges;
thing5.c_charges = thing10.c_charges;
break;
}
if (num4 > 1 && thing3.trait.CanStack)
if (num5 > 1 && thing5.trait.CanStack)
{
thing3.SetNum(num4);
thing5.SetNum(num5);
}
AddThing(thing3);
num3++;
if (num3 > owner.trait.NumCopyItem)
AddThing(thing5);
num4++;
if (num4 > owner.trait.NumCopyItem)
{
break;
}public void OnBarter(bool reroll = false)
break;
}
case ShopType.Specific:
{
string id2 = owner.id;
if (!(id2 == "mogu"))
switch (owner.id)
{
if (!(id2 == "felmera"))
{
break;
}
case "mogu":
AddThing(ThingGen.Create("casino_coin").SetNum(5000));
break;
case "felmera":
foreach (Thing item2 in new DramaOutcome().ListFelmeraBarter())
{
AddThing(item2);
}
AddThing(ThingGen.Create("crimale2"));
}
else
{
AddThing(ThingGen.Create("casino_coin").SetNum(5000));
break;
case "mimu":
AddCassette(10, null, 999);
AddCassette(15, null, 999);
AddCassette(17, null, 999);
AddCassette(29, null, 999);
AddCassette(40, null, 999);
AddCassette(46, null, 999);
AddCassette(47, null, 999);
AddCassette(52, null, 999);
AddCassette(54, null, 999);
AddCassette(59, null, 999);
AddCassette(65, null, 999);
AddCassette(109, "debt", 0);
AddCassette(110, "curry", 999);
break;
}
break;
}
case ShopType.Deed:
Add("deed", 1, 0);
Add("deed_move", 2 + EClass.rnd(5), 0);public void OnBarter(bool reroll = false)
break;
case ShopType.Influence:
{
bool num5 = owner.id == "big_sister";
TraitTicketFurniture.SetZone(num5 ? EClass.game.spatials.Find("little_garden") : EClass._zone, Add("ticket_furniture", 1, 0).SetNum(99));
if (num5)
bool num3 = owner.id == "big_sister";
TraitTicketFurniture.SetZone(num3 ? EClass.game.spatials.Find("little_garden") : EClass._zone, Add("ticket_furniture", 1, 0).SetNum(99));
if (num3)
{
Add("littleball", 10, 0);
if (!owner.Chara.affinity.CanGiveCard())public void OnBarter(bool reroll = false)
}
if (!reroll)
{
for (int m = 0; m < 20; m++)
for (int l = 0; l < 20; l++)
{
owner.Chara.ModExp(287, 1000);
}
}
Thing thing4 = CraftUtil.MakeLoveLunch(owner.Chara);
thing4.elements.SetBase(1229, 1);
AddThing(thing4);
Thing thing3 = CraftUtil.MakeLoveLunch(owner.Chara);
thing3.elements.SetBase(1229, 1);
AddThing(thing3);
break;
}
for (int n = 0; n < 10; n++)
for (int m = 0; m < 10; m++)
{
Thing thing5 = ThingGen.Create(EClass._zone.IsFestival ? "1123" : ((EClass.rnd(3) == 0) ? "1169" : "1160"));
thing5.DyeRandom();
AddThing(thing5);
Thing thing4 = ThingGen.Create(EClass._zone.IsFestival ? "1123" : ((EClass.rnd(3) == 0) ? "1169" : "1160"));
thing4.DyeRandom();
AddThing(thing4);
}
if (EClass._zone is Zone_Exile)
{
for (int num6 = 0; num6 < 30; num6++)
for (int n = 0; n < 30; n++)
{
Add("1235", 1, -1);
Add("1236", 1, -1);public void OnBarter(bool reroll = false)
continue;
}
string[] recipeKey = item3.row.recipeKey;
for (int l = 0; l < recipeKey.Length; l++)
for (int num6 = 0; num6 < recipeKey.Length; num6++)
{
if (recipeKey[l] == ShopType.ToString())
if (recipeKey[num6] == ShopType.ToString())
{
NoRestock(ThingGen.CreateRecipe(item3.id));
break; thing7.c_priceFix = -90;
AddThing(thing7);
}
void AddCassette(int idCas, string idQuest, int phase)
{
if (idQuest == null || EClass.game.quests.GetPhase(idQuest) >= phase)
{
AddThing(ThingGen.CreateCassette(idCas));
}
}
Thing AddThing(Thing _t)
{
return t.AddThing(_t);TraitGene
public override void WriteNote(UINote n, bool identified)
bool flag = EClass.pc.HasElement(1274) && !LayerDragGrid.Instance;
if (owner.c_DNA.cost > 0)
{
n.AddText("isCostFeatPoint".lang((flag ? (owner.c_DNA.cost * EClass.pc.GeneCostMTP / 100 + " (" + owner.c_DNA.cost + ")") : ((object)owner.c_DNA.cost))?.ToString() ?? ""));
n.AddText("NoteText_enc", "isCostFeatPoint".lang((flag ? (owner.c_DNA.cost * EClass.pc.GeneCostMTP / 100 + " (" + owner.c_DNA.cost + ")") : ((object)owner.c_DNA.cost))?.ToString() ?? ""));
}
if (EClass.debug.showExtra)
{
n.AddText("duration:" + owner.c_DNA.GetDurationHour());
n.AddText("NoteText_enc", "duration:" + owner.c_DNA.GetDurationHour());
}
owner.c_DNA.WriteNote(n, flag ? EClass.pc : null);
if (flag)TraitItem
public override void WriteNote(UINote n, bool identified)
if (!langNote.IsEmpty())
{
n.Space(20);
n.AddText(langNote.lang(), FontColor.Good);
n.AddText("NoteText_enc", langNote.lang(), FontColor.Good);
}
}
}TraitLetterOfWill
public class TraitLetterOfWill : Trait
public override void WriteNote(UINote n, bool identified)
{
base.WriteNote(n, identified);
n.AddText("isPreventDeathPanalty", FontColor.Good);
n.AddText("isGraveSkin", FontColor.Good);
n.AddText("NoteText_enc", "isPreventDeathPanalty", FontColor.Good);
n.AddText("NoteText_enc", "isGraveSkin", FontColor.Good);
}
}+TraitMimu
File Created
public class TraitMimu : TraitUniqueMerchant
{
public override bool CanInvite => false;
public override int CostRerollShop => 0;
public override CurrencyType CurrencyType => CurrencyType.Money2;
public override ShopType ShopType => ShopType.Specific;
}TraitRecipe
public override void WriteNote(UINote n, bool identified)
{
if (recipe.NeedFactory)
{
n.AddText("isCraftedAt".lang(recipe.NameFactory.ToTitleCase(wholeText: true)));
n.AddText("NoteText_enc", "isCraftedAt".lang(recipe.NameFactory.ToTitleCase(wholeText: true)));
}
}TraitSeed
public override void WriteNote(UINote n, bool identified)
{
num = row._growth[4].ToInt();
}
n.AddText("isHarvestCrop".lang(num.ToString() ?? ""));
n.AddText("NoteText_enc", "isHarvestCrop".lang(num.ToString() ?? ""));
}
n.AddText("isConsumeFertility".lang((0.1f * (float)row.costSoil).ToString() ?? ""));
n.AddText("NoteText_enc", "isConsumeFertility".lang((0.1f * (float)row.costSoil).ToString() ?? ""));
if (row.tag.Contains("flood"))
{
n.AddText("isWaterCrop");
n.AddText("NoteText_enc", "isWaterCrop");
}
if (row.growth != null)
{
if (row.growth.GrowOnLand)
{
n.AddText("isGrowOnLand");
n.AddText("NoteText_enc", "isGrowOnLand");
}
if (row.growth.GrowUndersea)
{
n.AddText("isGrowUndersea");
n.AddText("NoteText_enc", "isGrowUndersea");
}
if (row.growth.NeedSunlight)
{
n.AddText("isNeedSun");
n.AddText("NoteText_enc", "isNeedSun");
}
}
if (row.growth == null || !row.growth.CanLevelSeed)
{
n.AddText("isDecoSeed", FontColor.Warning);
n.AddText("NoteText_enc", "isDecoSeed", FontColor.Warning);
}
}TraitTape
public class TraitTape : TraitItem
public class TraitTape : TraitItem
{
public bool IsCollected
{
get
{
if (owner.refVal != 0)
{
return EClass.player.knownBGMs.Contains(owner.refVal);
}
return true;
}
}
public override void SetName(ref string s)
{
s = "_tape".lang(owner.refVal.ToString() ?? "", s);
s = "_tape".lang(owner.refVal.ToString() ?? "", s, EClass.core.refs.dictBGM[owner.refVal]._name);
}
public override void OnCreate(int lv)public override void OnCreate(int lv)
public override bool OnUse(Chara c)
{
if (owner.refVal == 0 || EClass.player.knownBGMs.Contains(owner.refVal))
if (EClass._zone.IsUserZone)
{
Msg.SayCannotUseHere();
return false;
}
if (IsCollected)
{
Msg.Say("songAlreayKnown");
}public override bool OnUse(Chara c)
}
EClass.Sound.Play("tape");
owner.ModNum(-1);
return false;
return true;
}
public override void WriteNote(UINote n, bool identified)
{
if (IsCollected)
{
n.AddText("NoteText_enc", "isCollected", FontColor.Warning);
}
}
}Zone_Civilized
public class Zone_Civilized : Zone
public override bool HasLaw => true;
public override bool AllowCriminal => true;
public override string IDHat
{
get
{
if (EClass.world.date.month != 12)
{
return base.IDHat;
}
return "hat_santa";
}
}
}Zone_Yowyn
{
if (!IsFestival)
{
return null;
return base.IDHat;
}
return "hat_mushroom";
}