====== Loggy's Longdead and Soulless reverse engineering notes ====== \\ \\ ===== Longdead ===== \\ ==== Process ==== \\ If you don't have nationals, just use the fallback output. \\ The chances to pull from the "national pool" varies depending on the creation method: \\ * Effect 37 rituals, (remote summons, like ??Army of the Dead#970??) * 50% chance of national longdead for Commander * 10% chance of national longdead for Troops * Effect 1 rituals, (summons, like ??Reanimation#877??) * 100% chance of national longdead * Priest Reanimation order, chance depends on your nation: * MA Ermor, Sceleria: * 10% chance of national longdead * Niefelheim, Jotunheim, Utgard: * 25% chance of national longdead * Hinnom, Ashdod: * 50% chance of national longdead * Any other nation: * 75% chance of national longdead * Otherwise, there is a 10% chance to get nationals. \\ \\ ==== Output ==== \\ === Fallback (national roll failed) === * Equal chance to: pick one of these 6; ??Longdead#191??, ??Longdead#192??, ??Longdead#193??, ??Longdead#194??, ??Longdead#195??, ??Longdead#196?? === Jotunheim, Utgard === * 50% to use fallback, * Otherwise: * 50% chance for: ??Longdead Giant#2484?? * Else: ??Longdead Giant#316?? === Niefelheim === * 50% chance to use fallback, * Otherwise: * 100% chance for: ??Longdead Giant#316?? === EA Ermor, MA Ermor, Sceleria === * 50% chance to: pick ??Longdead Velite#186?? or ??Longdead Legionnaire#187??, * Else: pick ??Longdead Triarius#1657?? or ??Longdead Principe#1658?? === MA Arcoscephale, MA Machaka, LA Arcoscephale === * Equal chances to: pick one of these 3 ??Longdead#2120??, ??Longdead#2121??, ??Longdead Hoplite#2122?? === MA Ulm, MA Marignon, LA Marignon, LA Abysia === * Equal chances to: pick ??Longdead#2123?? or ??Longdead#2124?? === LA Ulm === * 75% chance for: ??Longdead#2124??, * Otherwise: use fallback === EA Ulm === * 85% chance to: pick ??Longdead#3360?? or ??Longdead#3361??, * Otherwise: use ??Longdead#2123?? === EA Vanheim, MA Vanheim, LA Midgard === * 25% chance to: use ??Longdead#3361??, * Otherwise: use fallback. === EA, MA, LA C'tis === * Equal chances to pick one of these 5; ??Longdead of C'tis#615??, ??Longdead of C'tis#616??, ??Longdead of C'tis#617??, ??Longdead Warrior#618??, ??Longdead Warrior#619?? === EA, MA, LA Caelum === * Equal chances to pick one of these 4: ??Caelian Longdead#2703??, ??Caelian Longdead#2704??, ??Caelian Longdead#2705??, ??Caelian Longdead#2706?? === Nazca === * Equal chances to: pick ??Nazcan Longdead#2701?? or ??Nazcan Longdead#2702?? === Hinnom, Ashdod === * 50% chance to: pick one of these 3; ??Longdead Rephaite#2041??, ??Longdead Rephaite#2042??, ??Longdead Rephaite#2043??, * Otherwise: use fallback === Lanka, Kailasa, Bandar Log, Patala === * 2/7 chance to: pick one of these 3; ??Longdead Bandar#1720??, ??Longdead Bandar Warrior#1721??, ??Longdead Bandar Warrior#1722??, * 1/7 chance to: pick one of these 3; ??Longdead Vanara#1727??, ??Longdead Vanara Warrior#1728??, ??Longdead Vanara Warrior#1729??, * Otherwise: use ??Longdead Markata#1732?? === MA Man === * 15% chance to: use ??Longdead#2124??, * Otherwise: pretend you are Berytos === Berytos === * 50% chance to: pick ??Longdead#2120?? or ??Longdead#2121??, * Otherwise: use ??Longdead#2451?? \\ \\ ===== Soulless ====== \\ ==== Variables for Input ==== The result of each soulless request depends on a few things: * The nation creating soulless * The province ID the soulless are being made in * A chance for national soulless * A chance for arming soulless * The number of corpses to subtract ---- Sources and values for national and arming rates for the above: * Montag -3: * 10% national, 100% ArmingChance * Montag -15: * 25% national, 50% ArmingChance * "newunit" called with unit ID -1, unknown if this is used: * 10% national, 100% ArmingChance * Battlesummon, damage -3: * 10% national, 100% ArmingChance * Reanimator priests: * 90% ArmingChance, but national rate varies: * If Jotunheim, 50% national * If Utgard, 25% national * Any other nation: * Reanimator priest holy level is considered as 1 higher if ((closed d5 - 1) < number of friendly candles) in province, * National soulless rate = (reanimator priest's holy level * 8)% * Rituals, effect number 1 [summons, though there are no base game rituals that summon Soulless this way]: * 100% national, 90% ArmingChance * Rituals, effect number 37 [remote summons, like ??Carrion Reanimation??]: * Units: * 10% national, 10% ArmingChance * Commander: * 50% national, 90% ArmingChance \\ \\ ==== Process ==== * If there is a province ID associated with this creation: * Roll soulless ArmingChance, if successful proceed as making Lightly Armed soulless * Otherwise, if (Civilian corpses < Military corpses): * Proceed as making Lightly Armed soulless * Armed Soulless upgrade chances: * In EA, * 25% chance to: upgrade Lightly Armed to Medium Armed soulless * In MA, * 50% chance to: upgrade Lightly Armed to Medium Armed, and if that succeeds: * 25% chance: to upgrade to Heavy armed soulless (total of a 1/8 chance) * In LA, * 75% chance to upgrade Lightly Armed to Medium Armed, and if that succeeds: * 50% chance: to upgrade to Heavy Armed soulless (total of a 3/8 chance) * If there wasn't a province ID, you always get Unarmed soulless * If this attempt is subtracting corpses, do that now. * Unarmed soulless subtract Civilian corpses * Any kind of Armed soulless subtract Military corpses \\ \\ ==== Output ==== \\ === Default soulless: === * Unarmed: * ??Soulless#197?? * Light: * ??Soulless Warrior#914?? * Medium: * ??Soulless Warrior#915?? * Heavy: * ??Soulless Warrior#2119?? === National soulless: === * __Jotunheim, Niefelheim, Utgard:__ * Unarmed: * 50% chance to become: ??Soulless Giant#315?? * Light, Medium: * 50% chance to become: ??Soulless Warrior#916?? * Heavy: * 50% chance to become: ??Soulless Warrior#917?? * __EA, MA, LA Caelum:__ * Unarmed: * Becomes: ??Soulless#317?? * Light: * Becomes: ??Soulless Warrior#2242?? * Medium, Heavy: * Becomes: ??Soulless Warrior#2243?? * __EA Ur, MA Uruk:__ * Unarmed: * 75% chance to become: ??Soulless Enkidu#2981?? * Light: * 75% chance to become: ??Soulless Warrior#2982?? * Medium, Heavy: * Becomes: ??Soulless Warrior#2983?? * __Nazca:__ * Unarmed: * Becomes: Soulless Nazcan#2707 * Light, Medium, Heavy: * Becomes: any one of these 4; ??Soulless Nazcan Warrior#2708??, ??Soulless Nazcan Warrior#2709??, ??Soulless Nazcan Warrior#2710??, ??Soulless Nazcan Warrior#2711?? * __EA, MA, LA Atlantis:__ * 75% chance to: * Unarmed: * Becomes: ??Soulless of Atlantis#318?? * Light: * Becomes: ??Soulless Warrior#919?? * Medium, Heavy: * Becomes: ??Soulless Warrior#920?? * Otherwise: * Unarmed: * Becomes: ??Soulless Shambler#2364?? * Light: * Becomes: ??Soulless War Shambler#2365?? * Medium, Heavy: * Becomes: either ??Soulless War Shambler#2366?? or ??Soulless War Shambler#2367?? * __EA, MA, LA R'lyeh:__ * 75% chance to: * Unarmed: * Becomes: ??Soulless of Atlantis#318?? * Light: * Becomes: ??Soulless Warrior#919?? * Medium, Heavy: * Becomes: ??Soulless Warrior#920?? * Otherwise: * Unarmed: * Becomes: ??Soulless Shambler#2364?? * Light: * Becomes: ??Soulless War Shambler#2365?? * Medium, Heavy: * Becomes: ??Soulless War Shambler#2366?? * __EA, MA, LA C'tis:__ * Unarmed: * Becomes: ??Soulless of C'tis#319?? * Light: * Becomes: ??Soulless Warrior#921?? * Medium, Heavy: * Becomes: ??Soulless Warrior#922?? * __Kailasa, Lanka, Bandar Log, Patala:__ * Roll a closed d7, then, * If unarmed soulless, and: * d7 result is 1-2: * Becomes: ??Soulless Bandar#1716?? * d7 result is 3-5: * Becomes: ??Soulless Vanara#1724?? * d7 result is 6-7: * Becomes: ??Soulless Markata#1731?? * If d7 result was 1-2, and: * Light: * Becomes: ??Soulless Bandar Warrior#1717?? * Medium: * Becomes: ??Soulless Bandar Warrior#1718?? * Heavy: * Becomes: ??Soulless Bandar Warrior#2274?? * If d7 result 3-4, and: * Light, Medium, Heavy: * Becomes: ??Soulless Markata#1731?? * If d7 result 5-7, and: * Light: * Becomes: ??Soulless Vanara Warrior#1725?? * Medium, Heavy: * Becomes: ??Soulless Vanara Warrior#1726?? \\ \\ ===== Soulless Raw ====== Each soulless request depends on a few things: * The nation creating soulless * The province ID the soulless are being made in * Chance for national soulless * Chance for armed soulless * The number of corpses to subtract Sources and values for the above: * Montag -3: 10% national, 100% armed * Montag -15: 25% national, 50% armed * "newunit" called with unit ID -1: 10% national, 100% armed, unknown if this is used * Battlesummon, damage -3: 10% national, 100% armed * Reanimator priests: 90% armed, national rate varies: * If Jotunheim, 50% national * If Utgard, 25% national * Any other nation: * Reanimator priest holy level is increased by 1 if (closed d5 - 1) < number of friendly candles in province * National soulless rate = (reanimator priest's holy level * 8)% national * Rituals, effect number 10001 [regular summon units in local province, like Reanimation]: 100% national, 90% armed * Rituals, effect number 10037 [remote summon permanent units]: * Units: 10% armed, 10% national * Commander: 50% national, 90% armed Process: * If there is a province ID associated with this creation: * Roll armed soulless chance, if successful proceed as making lightly armed soulless * Otherwise, if civilian corpses < armed corpses: * Proceed as if making lightly armed soulless. * In EA, there's a 25% chance to upgrade to medium armed soulless * In MA, there's a 50% chance to upgrade to medium armed, and if that succeeds there's a 25% chance (so a total 1/8) for heavily armed soulless * In LA, there's a 75% chance to upgrade to medium, and if that succeeds there's a 50% chance (so a total 3/8) for heavily armed soulless * If there wasn't a province ID, you always get unarmed soulless. * If this attempt is subtracting corpses, do that now. Unarmed soulless subtract civilian corpses, any kind of armed subtract military corpses. * Default soulless types: * Unarmed: Soulless#197 * Light: Soulless Warrior#914 * Medium: Soulless Warrior#915 * Heavy: Soulless Warrior#2119 * National soulless: * Jotunheim, Niefelheim, Utgard: * Unarmed: 50% chance to be changed to Soulless Giant#315 * Light, Medium: 50% chance to be changed to Soulless Warrior#916 * Heavy: 50% chance to be changed to Soulless Warrior#917 * EA, MA, LA Caelum: * Unarmed: Changed to Soulless#317 * Light: Changed to Soulless Warrior#2242 * Medium, Heavy: Changed to Soulless Warrior#2243 * EA Ur, MA Uruk: * Unarmed: 75% chance to be changed to Soulless Enkidu#2981 * Light: 75% chance to be changed to Soulless Warrior#2982 * Medium, Heavy: Changed to Soulless Warrior#2983 * Nazca: * Unarmed: Changed to Soulless Nazcan#2707 * Light, Medium, Heavy: Changed to any Soulless Nazcan Warrior#2708-27011 at equal weighting * EA, MA, LA Atlantis: * 75% to... * Unarmed: Changed to Soulless of Atlantis#318 * Light: Changed to Soulless Warrior#919 * Medium, Heavy: Changed to Soulless Warrior#920 * Otherwise... * Unarmed: Soulless Shambler#2364 * Light: Soulless War Shambler#2365 * Medium, Heavy: Either Soulless War Shambler#2366-2367 at equal odds * EA, MA, LA R'lyeh: * 75% to... * Unarmed: Changed to Soulless of Atlantis#318 * Light: Changed to Soulless Warrior#919 * Medium, Heavy: Changed to Soulless Warrior#920 * Otherwise... * Unarmed: Soulless Shambler#2364 * Light: Soulless War Shambler#2365 * Medium, Heavy: Soulless War Shambler#2366 * EA, MA, LA C'tis: * Unarmed: Changed to Soulless of C'tis#319 * Light: Changed to Soulless Warrior#921 * Medium, Heavy: Changed to Soulless Warrior#922 * Kailasa, Lanka, Bandar Log, Patala: * Roll a closed d7. * If unarmed soulless: * d7 result is 1-2: changed to Soulless Bandar#1716 * d7 result is 3-5: changed to Soulless Vanara#1724 * d7 result is 6-7: changed to Soulless Markata#1731 * If d7 result was 1-2: * Light: Soulless Bandar Warrior#1717 * Medium: Soulless Bandar Warrior#1718 * Heavy: Soulless Bandar Warrior#2274 * If d7 result 3-4: * Light, Medium, Heavy: changed to Soulless Markata#1731 * If d7 result 5-7: * Light: Changed to Soulless Vanara Warrior#1725 * Medium, Heavy: Changed To Soulless Vanara Warrior#1726