====== Loggy's Reincarnation RE notes ====== * Reincarnation: on death, you get whisked off to province -17 * Roll random number 0-49, if this is less than (xp - 50)... * Pick a random magic path. * If [nation/team's pretender's level in this path] - 1 + closed d3 < the reincarnation candidate's level in this path, the pretender gets +1 to this path * Your success value is set to 9, even if you didn't get a path * If you didn't succeed at the above roll [but NOT if no path was boosted], instead try 0-29 < (xp - 10). If you fail this roll, you don't reincarnate (success value 0). * There is a 25% chance that you get to roll a random number 0-3. If this is less than your kill stat, set success value to 1 * If you failed or weren't allowed the above roll, set success value to 2, or 3 if a random number 0-3 < your kill stat * Roll your reincarnation success rate (the listed value as a percentage). If you fail, the success value is set to 0 and you die normally. * If your success value was 9, spread 1 point of dominion. (I'm not entirely sure on the mechanics of this, but it looks like a temple check. I'm just not entirely sure where it originates) * Otherwise: * If you don't own your cap fort, or it is UW and the candidate will drown, fail. * Perform god recall affliction healing * If this was not a commander: * If the reincarnation result was 1, you come back as something selected at random from units 1116-1118 [vanara and two little markata types] * If the reincarnation result was 2, you come back as something at random from 1130-1133 [various bandar troops] * If the reincarnation result was 3, you come back as whatever you died as. * If this was a commander: * If you are LA Arco [hardcoded to id 80]: * If the reincarnation result was 1, you come back as a Cerulean Commander and lose all paths * If the reincarnation result was 2, you have equal odds to come back as a Hoplite Commander or Hypaspist Commander and lose all paths * If the result was 3, you come back as whatever you died as * If you are any other nation: * If the reincarnation result was 1, you come back as Markata Scout and lose all paths * If the reincarnation result was 2, you have equal odds to come back as a Bandar Commander#1135 or a Bandar Noble and lose all paths * If the result was 3, you come back as whatever you died as