User Tools

Site Tools


user:loggy:freespawn

This is an old revision of the document!


Loggy's Freespawn reverse engineering notes

Yomi, "natural" spawns

Friendly dominion and a temple is required.

"Terrains" is true in any combination of caves/mountains/highlands, otherwise false.

"Your cap" also technically includes Shinuyama's cap, both of them have the flag used for this for some reason.

Number of spawn attempts is Turmoil + 1.

If End of Culture is up, add Turmoil again (so it becomes 2*Turmoil + 1).

While the number of spawn attempts > 0:

  • 66% to just flat out fail (-1 spawn attempt).
  • If (terrains or your cap) and a 2% chance: Amanojaku (-2 spawn attempts)
  • If (terrains or your cap) and a 80% chance: Kuro-Oni (-2 spawn attempts)
  • If (terrains or your cap) and a 70% chance: Oni (-2 spawn attempts)
  • 30% chance per cold scale: Ao-Oni (-1 spawn attempt)
  • 30% chance per heat scale: Aka-Oni (-1 spawn attempt)
  • Otherwise: 1d4 (non-exploding) Ko-Oni (-1 spawn attempt)

(Once a single check succeeds, go spawn the units, subtract the spawn attempts, and then go back to the top of the bullets)

Yomi, Oni Summoner

Local value = (something * 10) + unrest, capped at 100

If End of culture, double this (and cap at 150).

Doesn't function underwater.

Final % to spawn is (local value * oni summoner ability value)/100

Unknown criteria can also prevent spawning

You get a non-exploding d6 number of Ko-Oni.

Therodos

  • first it checks to see if you have candles, if you don't it does nothing
  • then it checks something else I don't understand, if you don't have that it does nothing
  • then it checks for a fort in the province, if there isn't one it does nothing
  • then it checks something else I don't understand, if you don't have that it does nothing
  • then it does (candles + [random number 0-2 incl] + death scale)
  • then it divides this number by 3 and rounds down
  • if that number is less than 1, it does nothing
  • This number is the number of spawn attempts.

For each spawn attempt:

  • pick a random number 0-8. If you rolled 8 and there is no temple in the province, set this to 0 instead
  • roll another random number 0-99. If it's less than 5, set the previous number to a random number 0-3 + 10
  • Spawn units based on the first number in this section:
  • 0-3 incl: 1d4 exploding units with ID 0xb1a [spectral hoplite]
  • 4 or 5: 1d4 exploding units with ID 0xb18 [spectral archer]
  • 6 or 7: 1d4 exploding units with ID 0xb19 [spectral peltast]
  • 8: 1 unit with ID 0xb1b [spectral kourete]
  • 9: do nothing
  • 10 or 11: 1 commander with ID 0xb1c [spectral commander]
  • 12: 1 commander with ID 0xb1d [ephor 2845]
  • 13: 1 commander with ID 0xb1e [spectral philosopher]
user/loggy/freespawn.1622810831.txt.gz · Last modified: 2021/06/04 12:47 by loggy