443
edits
(Created page with "{{spoiler}} ==Ether Diseases (EA23.61)== ===Depiction of Ether Disease in code: an Index=== <syntaxhighlight lang="c#" line="1"> public const int etherManaBattery = 1564; public const int etherPoisonHand = 1565; public const int etherProvoke = 1563; public const int etherStupid = 1561; public const int etherWeak = 1560; public const int etherAddict = 1559; public const int etherRain = 1558; public const int etherHead = 1557; public const int etherViolence = 1556; public...") |
m (currently no change is observed in these versions.) |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{spoiler}} | {{spoiler}} | ||
{{Version|23.83}} | |||
This page analyze the '''Ether Diseases''' of this world. The latest version this analysis is updated to is '''EA23.61 Hotfix3'''. | |||
Be careful when adding information from here to the main wiki, since a lot of the information here is not obtainable unless you dig into codes. | |||
== Ether Diseases == | |||
===Depiction of Ether Disease in code: an Index=== | ===Depiction of Ether Disease in code: an Index=== | ||
<syntaxhighlight lang="c#" line="1"> | <syntaxhighlight lang="c#" line="1"> | ||
| Line 90: | Line 96: | ||
* This does not mean you get 100 wish spells for 1 charge of wish rod! Each spell have a unique charge parameter (see SourceGame/Element for more), and depend on the charge number it will give you number of spell casting. | * This does not mean you get 100 wish spells for 1 charge of wish rod! Each spell have a unique charge parameter (see SourceGame/Element for more), and depend on the charge number it will give you number of spell casting. | ||
** This value is modified by your memorization skill. If you have the skill, a flat 20% is added, then for each skill level, 1% added. | ** This value is modified by your memorization skill. If you have the skill, a flat 20% is added, then for each skill level, 1% added. | ||
** For example, for a wish rod, and you have lvl 80 memorization, the num will equal to = 100 * 1 (Wish has a charge number of 1) * (80+100+20) / 100 / 100 = 2 | *** The final number you gained, is 50%~100% randomly of that value. | ||
** For example, for a wish rod, and you have lvl 80 memorization, the num will equal to = 100 * 1 (Wish has a charge number of 1) * (80+100+20) / 100 / 100 = 2. | |||
** Which is pretty good, yes, you get 2 wishes out of 1 rod, but can you cast it, hum? | ** Which is pretty good, yes, you get 2 wishes out of 1 rod, but can you cast it, hum? | ||
* After that, if you are not PC, your mana will be drained by 50 per charge of rod. Then the rod goes to 0 charges. | * After that, if you are not PC, your mana will be drained by 50 per charge of rod. Then the rod goes to 0 charges. | ||
| Line 117: | Line 124: | ||
* When you attack with no weapon, all your attack will be transformed into element Poison (915). | * When you attack with no weapon, all your attack will be transformed into element Poison (915). | ||
* | * 50% of this damage will penetrate PV, similar to many other element damages. | ||
<syntaxhighlight lang="c#" line="1"> | <syntaxhighlight lang="c#" line="1"> | ||
| Line 138: | Line 145: | ||
* A random chance of 50% is applied first, so there is 50% chance your potion will be spared. | * A random chance of 50% is applied first, so there is 50% chance your potion will be spared. | ||
* It also looks like it will transform a whole stack of your potions at once. | * It also looks like it will transform a whole stack of your potions at once. | ||
=== Provoke (Enemy Of All Living Things) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1563: | |||
ModBase(77, -a * (3 + num / 4), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This negatively modify your charisma (Evalue 77) by (3 + Character level / 4) per level of disease. | |||
** We saved a bit of code analysis for aesthetic purpose. See vPotential = Char.LV for more detail. | |||
<syntaxhighlight lang="c#" line="1"> | |||
if (!owner.IsPCFactionOrMinion && EClass.rnd(owner.isSynced ? 50 : 2000) == 0 && owner.hostility == Hostility.Neutral && EClass.pc.party.HasElement(1563) | |||
&& !owner.race.tag.Contains("animal") && EClass._zone.IsTown && !EClass._zone.IsPCFaction) | |||
{ | |||
EClass.pc.DoHostileAction(owner); | |||
} | |||
</syntaxhighlight> | |||
* Every living thing will turn against you, unless: | |||
** It is your own faction member or pets. | |||
** It is not Neutral towards you already. | |||
** It is an animal. | |||
** You are not in a town. | |||
** You are in your own Faction area. | |||
* A random number still need to be rolled for this effect to apply, and it looks like the possibility is pretty, pretty low (2%). | |||
* This effect apply if ANYONE in your party have this ether disease, so watch out. | |||
<syntaxhighlight lang="c#" line="1"> | |||
if (EClass.pc.party.HasElement(1563) && num < 0) | |||
{ | |||
num = num * 30 / 100; | |||
} | |||
</syntaxhighlight> | |||
* This code appears when a Karma negative modification need to be calculated. Your karma decrease will be cut to 30%, round down to nearest integer. | |||
* So -5 becomes -1, -1 becomes 0. | |||
=== Stupid (Dementia) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1561: | |||
ModBase(61, -a * 15, hide: false); | |||
ModBase(76, -a * (4 + num / 3), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease decrease your mana by a flat 15, then decrease your MAG by (4 + Character LV / 3). | |||
=== Weak (Weakening)=== | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1560: | |||
ModBase(60, -a * 15, hide: false); | |||
ModBase(70, -a * (4 + num / 3), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease decrease your life by a flat 15, then decrease your STG by (4 + Character LV / 3). | |||
=== Addict (Potion Addict) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
if (EClass.rnd(30) == 0 && EClass.pc.HasElement(1559)) | |||
{ | |||
List<Thing> list = EClass.pc.things.List((Thing a) => a.trait is TraitPotion, onlyAccessible: true); | |||
if (list.Count > 0) | |||
{ | |||
EClass.pc.Drink(list.RandomItem()); | |||
EClass.player.EndTurn(); | |||
} | |||
} | |||
</syntaxhighlight> | |||
* For a 1/30 chance each round, you will consume a potion, and end your turn. | |||
=== Rain (Living Humidifier) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
if (condition == Condition.Fine) | |||
{ | |||
foreach (Chara member in EClass.pc.party.members) | |||
{ | |||
if (member.HasElement(1558) && EClass.rnd(4) == 0) | |||
{ | |||
condition = Condition.Rain; | |||
Msg.Say("drawRain", member); | |||
break; | |||
} | |||
} | |||
} | |||
</syntaxhighlight> | |||
* Whenever it is time to set weather of the world, for EACH MEMBER of your team with this disease, 25% chance this will change the weather to rain. | |||
=== Head (Enlarged Head) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1557: | |||
ModBase(71, -a * (5 + num / 3), hide: false); | |||
ModBase(72, -a * (4 + num / 4), hide: false); | |||
ModBase(74, a * (6 + num / 2), hide: false); | |||
ModBase(75, a * (2 + num / 6), hide: false); | |||
</syntaxhighlight> | |||
* Four modifier for this disease: | |||
** END by - (5 + Character LV / 3) | |||
** DEX by - (4 + Character LV / 4) | |||
** LEN by + (6 + Character LV / 2) | |||
** WIL by + (2 + Character LV / 6) | |||
=== Violence (Hunger For Slaughter) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1556: | |||
ModBase(64, -a * (10 + num), hide: false); | |||
ModBase(67, a * (5 + num / 2), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease modify you DV by -(10 + Character Level), but increase your DMG by (5 + Character level / 2). | |||
=== Neck (Thick Neck) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1555: | |||
ModBase(65, a * (12 + num), hide: false); | |||
ModBase(77, -a * (5 + num / 5), hide: false); | |||
if (!hint && a > 0) | |||
{ | |||
chara?.body.UnequipAll(31); | |||
} | |||
break; | |||
</syntaxhighlight> | |||
* This disease increase you PV by (12 + Character Level), but also decrease you CHA by -(5+ Character level / 5). | |||
* It also forcees you to unequip everything on your neck. | |||
=== Wing (Ether Wing) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1554: | |||
ModBase(404, a * 10, hide: false); | |||
ModBase(401, a, hide: false); | |||
ModBase(79, a * (10 + num / 5), hide: false); | |||
if (!hint && a > 0) | |||
{ | |||
chara?.body.UnequipAll(33); | |||
} | |||
break; | |||
</syntaxhighlight> | |||
* This disease modify your weight (weightMod) by -10% per level. | |||
* It also give you a level of levitation per level of disease. ('''Are there multiple level of levitations?''') | |||
* It increases your Speed by (10 + Character LV / 5) per level. | |||
* It force you to unequip everything on your back. | |||
=== Eye (Third/Fourth Eye) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1553: | |||
ModBase(73, a * (5 + num / 3), hide: false); | |||
ModBase(77, -a * (5 + num / 3), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease modify your PER by (5 + Character LV / 3), but also decrease your CHA by the same amount per level. | |||
=== Feet (Hoof Transformation) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1552: | |||
ModBase(79, a * Mathf.Min(30 + num / 5, 100), hide: false); | |||
if (!hint && a > 0) | |||
{ | |||
chara?.body.UnequipAll(39); | |||
} | |||
break; | |||
</syntaxhighlight> | |||
* This disease increase your speed by (30 + Character Lv / 5), with a maximum of 100 (reached at Character LV 350). | |||
* It also prevent you from equip anything on your feet. | |||
=== Armor (Heavy Shell) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1562: | |||
ModBase(65, a * (15 + num / 2), hide: false); | |||
ModBase(79, -a * (10 + num / 5), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease increase your PV by (15 + Character LV / 2), but also modify your speed by -(10 + Character LV / 5). | |||
=== Ugly (Crumbling Face) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1551: | |||
ModBase(77, -a * (4 + num / 5), hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease decrease your CHA by (4 + Character LV / 5) per level. There are three levels. | |||
=== Gravity (Immense Gravity) === | |||
<syntaxhighlight lang="c#" line="1"> | |||
case 1550: | |||
ModBase(404, -a * 10, hide: false); | |||
break; | |||
</syntaxhighlight> | |||
* This disease increase your weight (weightMod) by 10% per level. There are three levels. | |||
[[Category: EN]] | [[Category: EN]] | ||
[[Category: Elin Spoiler]] | [[Category: Elin Spoiler]] | ||
edits