Unmodified Shandalar bases the siege rate only on the difficulty level chosen at the start of the game, and how long the game's lasted. The logic looks like:
- Code: Select all
if (!(monstertimer & 0x1F) && player_heading)
{
if (food)
--food;
if (!Scards[WORLDMAGIC_FRUIT_OF_SUSTENANCE].worldmagic_city && terrain_1 == TERRAIN_FOREST)
food += 2;
++siege_timer;
++quest_and_restocking_timer;
if (!(siege_timer & 0x3F))
{
begin_siege();
siege_timer += clamp(siege_timer / 256 + opponent_skill, 0, 16);
}
if ((siege_timer & 0x3F) == 24)
{
besieged_city_is_conquered();
siege_timer += clamp(siege_timer / 64 + 2 * opponent_skill, 0, 32);
}
map_needs_redraw = 1;
if (siege_timer >= 8)
unused_591214 = 1;
}
skary wrote:I know I read somewhere that the speed with which attacks occur on cities varies with your life total.
I'd be very interested to learn where you read this. None of the public versions of modified Shandalar change the siege rate. Later ones do, in fact, have an option to base it on your life.