Mind Control Cost
Attempt to disassemble Mind Control cost. I could not find adequate description of it on the net. Work in progress.
Algorithm
- Calculate distance to HQ.
- Set distance to 12 if there is no HQ.
- Set distance to 1 if base itself a HQ. For market cornering calculation only. Probe cannot actually MC HQ.
- Double distance to HQ if there is Genejack factory.
- Halve distance to HQ if there is Children's creche.
- Halve distance to HQ if there is Punishment sphere.
- Halve distance to HQ if base is nerve stapled.
- Multiply number of Offensive/Combat units at base by (1 + number of polymorphic encryption units at base).
- Calculate number of times probe faction MC bases before + 1/4 of how many times it subverted units before. Add to above number.
- Add base population to above number.
- Calculate 1200 + base faction EC + base faction corner market some value if set (the value of EC to achieve corner market?).
- Add 4 to adjusted distance to HQ calculated above.
- Divide above EC value to adjusted-shifted distance to HQ above.
- Multiply above value by the <unit in base> value that was previously computed.
- If computer probe targets human base and human difficulty is > 3 then the value above is multiplied by 3 and divided by difficulty. I.e. difficulty 4 modifies the above value by 3/4, etc.
- There are also some corner market specific computations that I skipped.
- Double cost if factions are not in pact.
- Halve cost if base previous owner is probe faction.
- Halve cost if base is rioting.
- Double cost if base is in golden age.
- Double cost if base faction is an atrocity victim of probe faction.
- Increase cost by 50% if base faction is NOT an atrocity victim of the probe faction but wants revenge against them.