data/claims/symphony-of-war-terrain.yamlSymphony of War: The Nephilim Saga (the game's scripts, 1.10.23): terrain and movement
A tile's terrain type sets what entering it costs and which tags it carries; a tile whose tileset names no defined type takes the defaults, cost 20 and no tags. Entering ordinary ground costs 20 move points: grassland, plains, farm, desert, snow, towns, forts and indoor floors. Roads, bridges and outdoor walls cost 15; hills, forest and swamp 30; mountains, cliffs, water, dense forest and indoor walls 100. How the squad moves then adjusts the cost (move-costs). Tags such as open, rough, woods cover and high ground decide how a terrain works in movement and battle. symphony-of-war-terrain/terrain-types
scripts/192#L136-L162 — Terrains Setup: the defaults, a move cost of 20 and no tagsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/590#L117-L134 — ShadowMap PostLoader: an objective's terrain first, else the topmost tile layer with a terrain typeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/590#L300-L318 — terrain_tags_xy: the terrain's tags plus the tags of the tile's map regionsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/590#L104-L115 — rtt_for_region: a region tag counts by its switch, inverted by !Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/867#L130-L150 — Tile Inspector: a tileset's <terrain "type" ids> notesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Tilesets.rvdata2 — the tilesets' terrain notesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/192#L172-L638 — the lines the table spec readsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/192#L146-L156 — the lines the table spec readsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/619#L129 — Window_TurnCount: the name the turn window shows for a tile is its terrain's textChecked by claude-agent, 2026-11-18 — grouped script 192's PROPERTIES by cost and tags with the table spec (atlas fill-tables); read terrain_data, terrain_type_xy and terrain_tags_xy (script 590, the only Game_Map definitions) and the tileset reader (script 867); each group is named by its terrains' text, the name the turn window shows (script 619 L129).Revised after a check by a second AI model, 2026-11-17.Checked by a second AI model, 2026-11-18.Costs are in move points, where a squad's normal allowance is 120 (squad-move-points); the setup's comment that 20 is "one point five" is stale. A tile's terrain is the objective's when an objective stands on it, else the first tile layer from the top whose tile id a tileset note names. Map regions add tags of their own, each tied to a switch: a region's tag counts while its switch is on, or, marked with !, while it is off. The tilesets also name "indoorpit" and "fields", which no terrain defines, so those tiles take the defaults: cost 20 and no tags. Whether a ground squad can enter a tile at all is the map's own passability; a cost of 100 matters only where the map lets a squad in. Several tags are read by no running script: ranged_evasion, cannon_defender (its use is commented out), projectilecover_fort (likewise), aura_support, valid, landable for walking, and the setup's weather tags.
Cited by: Symphony of War: The Nephilim Saga
What a step costs depends on the squad's movement. Fliers pay 20 for every tile, roads and open ground included. Light squads pay 20 on rough ground (hills, forest, swamp, towns, forts), 18 indoors, and the terrain's cost elsewhere. Cavalry, light cavalry included, pays 15 on open ground. Other cavalry pays the terrain's cost plus 10 on rough ground (40 for hills, forest or swamp, 30 for a town), and plus 5 elsewhere. Infantry pays the terrain's cost, plus 5 on rough ground. symphony-of-war-terrain/move-costs
scripts/597#L778-L809 — AIMove Processing: move_cost, the cost of entering a tileSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3550-L3561 — flying?, light? (speed light) and cavalry? (type cavalry)Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/192#L138-L144 — the lines the table spec readsChecked by claude-agent, 2026-11-18 — read move_cost (script 597 L778-L809, the only definition) and wrote its branches for each kind of squad, with no enemy beside the tile, as the table spec's cases over terrain-types' groups; every cell equals the game's own move_cost run in Ruby over every terrain of script 192 (scratch/movecost.rb)Revised after a check by a second AI model, 2026-11-17.Checked by a second AI model, 2026-11-18.The checks run in order: flying, then light and indoor, then cavalry and open, then light and rough. Light cavalry therefore pays 18 indoors, 15 on other open ground and 20 on rough ground, and neither light kind pays the extra 5s. A leader with the Woodsman trait (from the script of deprecated traits) pays 20 in woods. A Shadowchaser leader pays 5 less on ambushable tiles. Enemies beside the tile multiply the result (zone-of-control), and the total is rounded down. The slow speed changes only a squad's allowance, not its costs. Script 194, Move Costs Setup, and the weather setup's per-weather move modifiers are defined but read by nothing.
Cited by: Symphony of War: The Nephilim Saga
A squad may take a step as long as it has any move points left before it, so its last step can overspend. With 120 points an infantry squad crosses 6 tiles of grassland but 4 of forest; cavalry, with 130 at 15 a tile, crosses 9 of open ground. Ground squads stop at tiles the map marks impassable and at enemy squads, and pass through allies; the player's fliers also pass over enemies. symphony-of-war-terrain/move-reach
scripts/597#L106-L108 — make_paths_for, the player's and the preview pathfinder: move_max is the squad's moveSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/597#L135-L165 — a step under the limit continues; a step from under the limit is the lastSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L1018-L1050 — passable?: fliers skip the map's passability; the player's fliers pass over squadsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L1116-L1130 — tag_restricted?: invalid, impassable, noentry for the playerSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L1215-L1229 — collide_with_squads: only squads not allied block; the player and neutrals are alliesChecked by claude-agent, 2026-11-17 — read make_paths_for in script 597 and passable?, tag_restricted? and collide_with_squads in script 591; the tile counts follow from the costs in move-costs and the allowances in squad-move-pointsRevised after a check by a second AI model, 2026-11-17.The counts assume nothing else changes the allowance (weather-move-points) and no enemy stands beside the path (zone-of-control). The tags that close a tile to everyone are invalid (indoor walls) and impassable (objective walls); noentry closes one to the player only, and an AI pattern's whitelist or blacklist of tags limits that AI's squads. Fliers ignore the map's passability, so they cross water and mountains at 20 a tile; enemy fliers still stop at the player's squads.
Cited by: Symphony of War: The Nephilim Saga
A squad's move points come from its speed and its movement type: 120 at normal or light speed, 100 at slow speed, plus 10 for cavalry. A flying squad has 140, but one that flies only through its leader's Mercurial Shoes keeps the points its units give. In two story missions a squad moves on its leader's speed alone. The game displays points divided by 20 and rounded, so 6 for infantry, 5 for slow and 7 for cavalry and fliers. symphony-of-war-terrain/squad-move-points
scripts/193#L66-L123 — Move Points Setup: speeds slow 100, normal 120, light 120; types: cavalry +10, flying set to 140Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3942-L3949 — make_move_type_simple: the speed's points, × the type's rate, + its add, or its set valueSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3608-L3612 — move_points: those plus extra_move_pointsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3550-L3553 — flying?: true for a leader with Mercurial ShoesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3396-L3401 — formation_suppressed?: missions 4 and 29, sequence 4Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/187#L99 — Game Flow Setup: SEQUENCE, where 4 is :missionSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6803-L6805 — move_points_individual: the speed's pointsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/187#L99 — Game Flow Setup: sequence 4 is the missionSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3639-L3641 — move_points_text: points / 20, roundedSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3350-L3353 — move, what the pathfinder reads, is move_pointsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3894-L3949 — make_move_type_simple: points from the move type, which Mercurial Shoes don't changeChecked by claude-agent, 2026-11-17 — read the MOVE_SPEEDS and MOVE_TYPES tables in script 193 and make_move_type_simple, move_points and move_points_text in script 591, each defined once (make_move_type returns make_move_type_simple at its first line)Revised after a check by a second AI model, 2026-11-17.Ruby rounds 6.5 up, so cavalry shows 7. Mercurial Shoes make flying? true (L3550-L3553) without changing the move type the points come from, so such a squad has 120 or 130 and still pays 20 a tile. In missions 4 and 29 during the mission map, the squad whose formation is suppressed takes its leader's points for its speed (120 or 100) plus the extras. The table holds before extra_move_points, which adds 40 for a leader with Forced March, takes 20 for the Genbu Shell Fragment, and takes the weather's penalties (weather-move-points). Script 193 also defines a slow movement type that halves the points; no class's notes give it. Its comment that light squads differ in move points is out of date: light and normal both give 120, and light squads differ in their costs (move-costs).
Cited by: Symphony of War: The Nephilim Saga
A squad's movement follows its units, weighted by size: it flies if at least half its weight can fly, and it is cavalry only if more than half is cavalry, else infantry. Speed works the same way: slow if at least half is slow, light only if more than half is light, else normal. One unit that rules out flying, cavalry or light speed rules it out for the whole squad. The leader counts like any other unit, except that a leader with Mercurial Shoes makes the squad fly. symphony-of-war-terrain/squad-move-type
scripts/591#L3894-L3949 — make_move_type_simple: weights by type and speed, disables, prioritiesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3760-L3761 — make_move_type returns make_move_type_simpleSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/193#L102-L123 — priorities: slow 999, normal 100, cavalry −1, flying 1000Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/193#L72-L85 — speed priorities: slow 999, normal 10, light −1Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6839-L6858 — a unit's moveset notes: type and speed default normal, weight 1Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6788-L6793 — move_weight: summoned units weigh 0Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3396-L3401 — formation_suppressed?: missions 4 and 29, sequence 4Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3550-L3553 — flying?: also a leader with Mercurial ShoesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6819-L6835 — moveset_speed: a tech's replacement first, else the class noteSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Classes.rvdata2 — the classes' <moveset type, speed, weight, disable> notesChecked by claude-agent, 2026-11-17 — read make_move_type_simple and parse_note_for_move in script 591 (each the only definition; make_move_type returns at its first line, so its older body and make_move_type_legacy2 don't run), and tallied the moveset notes of Data/ClassesRevised after a check by a second AI model, 2026-11-17.A kind with priority below 0 (cavalry, light) needs more than half; the others need half, and the highest priority among those that qualify wins. With no majority the squad stays normal infantry. Weights come from the class notes: most classes weigh 1, the large dragons and the Siege Cannon 2, the Warcat and Behemoth 3. Cavalry classes disable flying; the Siege Cannon and the large dragons disable light speed, cavalry and flying, and the Azure Dragon (class 74), a flier, light speed only. A researched tech can replace a class group's speed (moveset_speed_replaced). In missions 4 and 29, during the mission sequence (the map), the squad whose formation is suppressed moves as its leader alone. The setup's <moveset forced> note is collected and then not used.
Cited by: Symphony of War: The Nephilim Saga
Each enemy infantry squad on a tile next to the one being entered adds 1.5 times its cost, if that enemy's side has the Zones of Control tech: one such enemy makes a 20-point tile cost 50, two cost 80. Enemy squads always have it; the player researches it. If one of the two squads stands on a wall and the other doesn't, the zone doesn't reach, unless either tile is a ramp. A Shadowchaser leader ignores zones. symphony-of-war-terrain/zone-of-control
scripts/597#L804-L808 — move_cost: × move_cost_zoc_mult unless shadowchaser; the additive version commented outSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/597#L829-L850 — move_cost_zoc_mult: four neighbours, enemies, infantry, the :zoc tech, walls and rampsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/228#L235-L243 — TechTree: Zones of Control, :zoc, and its help textSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/924#L732-L746 — tech_enabled?: team 1 asks enemy_scenario_tech_enabled?Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/228#L986-L988 — TechTree.tech_enabled? asks $game_partySymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/646#L431-L434 — enemy_scenario_tech_enabled?: true for GLOBAL_ENEMY_TECHSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/187#L58 — ++Game Flow Setup: GLOBAL_ENEMY_TECH includes :zocSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/5#L193 — DISABLE SCRIPTS: ++ scripts are blanked only when MITHRAN_MASTER_SWITCH is onSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/1#L2 — TEST SCRIPTS: MITHRAN_MASTER_SWITCH = falseSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/297#L516-L518 — Gamerule.zoc_plus is the ng_zoc optionSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L18 — its help textSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L63 — its name, ZoC++Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L129 — its default, 0Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3580-L3585 — a squad's moveset_type is its move typeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/646#L443-L448 — neutral_scenario_tech_enabled?: the mission's neutral_techChecked by claude-agent, 2026-11-17 — read move_cost and move_cost_zoc_mult in script 597 (each defined once), the tech check through script 924's Game_Party#tech_enabled? (the last definition) and script 646, and GLOBAL_ENEMY_TECH in script 187, which runs: script 5 blanks ++ scripts only with MITHRAN_MASTER_SWITCH on, and script 1 sets it falseRevised after a check by a second AI model, 2026-11-17.Infantry here is the movement type, so light and slow infantry exert zones too; cavalry and fliers don't. The multiplier is 1 plus 1.5 per qualifying neighbour, and it applies to the tile being entered, so a squad pays it on each step beside an enemy. With the New Game+ option ZoC++ (off by default) every adjacent enemy adds 1 more whatever its type, and a qualifying infantry squad adds 1, 0.5 and 1.5, 3 in all, so one makes a 20-point tile cost 80. The player's fliers take the cost too. The tech's help text says the penalty is for moving between tiles next to infantry; the code charges for entering one. Neutral squads, the player's allies, exert zones on enemies only in missions whose data lists the tech for them.
Cited by: Symphony of War: The Nephilim Saga
A blizzard takes 20 move points from every squad, about one tile, unless its leader is a Tundra Warrior. With the New Game+ option Nature's Wrath (off by default), more is taken: fliers lose 20 in rain, storm, snow or blizzard, and cavalry that isn't light loses 20 in snow or a blizzard, 20 standing on desert or in snowy forest, and 20 standing in swamp during rain or storm. Desert and Tundra Warrior leaders are spared their own terrain's and weather's losses. symphony-of-war-terrain/weather-move-points
About: Symphony of War: The Nephilim Saga Weather
CodeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a ·scripts/591#L3618-L3637 — extra_move_points: traits, the blizzard, and Nature's WrathSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/195#L65 — Weather Setup: RAINY_WEATHER = storm, blizzard, rain, snowSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/195#L141-L157 — climates: blizzard and snow only in the tundraSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/297#L525-L527 — Gamerule.natures_wrath is the ng_natureswrath optionSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L21 — its help textSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L65 — its name, Nature's WrathSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/298#L132 — its default, 0Checked by claude-agent, 2026-11-17 — read extra_move_points in script 591 (the only definition) and the option's methods in scripts 297 and 298; grepped every script for movemod and COST_MODS and found no readerRevised after a check by a second AI model, 2026-11-17.The terrain checks read the tile the squad stands on when its points are counted, not the tiles it crosses. The snowy-forest check is for a snow-tagged terrain without the open tag: snow hills are tagged cold, not snow, the snow field is open, and the snowy roads, bridges and towns carry no snow tag, so only the snowy forest qualifies. A Desert Warrior leader is spared the desert loss and a Tundra Warrior the snow, blizzard and snowy-forest ones; nothing spares the swamp one. A heavy cavalry squad in a blizzard under Nature's Wrath loses 40. The weather setup's per-terrain move modifiers (a blizzard's blizzard_move 4) and script 194's cost table are read by no running script.
Nature's Wrath also changes battle. In rain an attacker's hit rate falls by 15 points per tile of range, in a storm by 25, unless the attacker stands on sheltering terrain (towns, forts, bases, temples, villages, mines, stables, the bazaar). In a blizzard damage is multiplied by 0.75 unless the attacker is sheltered, a Tundra Warrior's squad or Risen. symphony-of-war-terrain/natures-wrath-battle
About: Symphony of War: The Nephilim Saga Weather
CodeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a ·scripts/360#L1130-L1144 — item_hit: rain −0.15 and storm −0.25 × combat range, unless shelterSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L333-L340 — eval_preset_formula: blizzard × 0.75; the 0.85 line checks :snowySymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/195#L141-L157 — the climates' weathers: snow, never snowyChecked by claude-agent, 2026-11-17 — read item_hit and eval_preset_formula in script 360 (each the live definition; the other item_hit definitions are in blanked scripts 355 and 356 or the engine's script 42, which 360 replaces); grepped every script for :snowyChecked by a second AI model, 2026-11-17.A certain-hit skill skips the hit change, and skills tagged noncombat skip the damage one. The damage code also has a 0.85 multiplier for snow, but it tests for a weather named snowy, which no climate has (they use snow), so it never applies.
Some terrain cuts the damage a squad takes. Forest takes off 5%, forts and bases 10%. A base takes a further 40% off any attack from two or more tiles away. A wall takes 25% off attacks from below; high ground takes 10% off arcing shots and cannon fire from lower ground. A Garrison leader deepens each of these cuts but the base's 40% by half again. Indoors, only the base's cover still counts. symphony-of-war-terrain/terrain-damage
About: Symphony of War: The Nephilim Saga Damage modifier
CodeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a ·scripts/360#L1040-L1051 — calc_terrain_mod_damage: prot5, prot10, prot20, wall, high ground, GarrisonSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L593-L595 — calc_damage_mod: projectilecover_base × 0.6 at range 2+, not for supportSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L1199-L1224 — wall_advantage and highground_advantageSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/358#L323-L324 — the damage modifiers include :terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/358#L5 — CURSE_RESIST_LIST includes :terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L823-L829 — increase_for_curses: a cut / 0.95 per curse on the defender, up to 1Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/217#L1597-L1598 — Traits Setup: Garrison, 'Damage reduction granted from terrains is increased by 50%'Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Skills.rvdata2 — the skills in the highground attack group: arcing arrow and crossbow attacks, cannonsChecked by claude-agent, 2026-11-17 — read calc_terrain_mod_damage, calc_damage_mod, wall_advantage and highground_advantage in script 360, each defined once, and the default damage modifiers in script 358; listed the skills whose notes give the highground groupRevised after a check by a second AI model, 2026-11-17.The cuts multiply: a forest tile gives × 0.95, a fort × 0.9, a base × 0.9 and × 0.6 at range. Garrison raises the terrain multiplier of L1043-L1048 to the power 1.5 (L1049), so × 0.9 becomes about × 0.85; the base's 0.6 at range is applied in calc_damage_mod and isn't raised. The wall cut needs the defender on a wall tile and the attacker off walls and ramps, and lapses for an archer with Bowmanship, a melee attacker with Kesh's Toolkit, siege attacks and classes, and fliers. The high-ground cut needs the defender on high ground and the attacker not, and lapses for Bowmanship and fliers. Every curse on the defender weakens the terrain multiplier. Indoor climates skip calc_terrain_mod_damage, but the base's cut sits in calc_damage_mod, outside it. The prot20 tag is on no terrain.
Cited by: Symphony of War: The Nephilim Saga
Terrain adds evasion: 35 points in woods against arrows and bolts from two or more tiles away, 35 on a wall against attacks from below, and 25 on high ground against arrows and bolts from lower ground. Fliers, siege weapons and archers with Bowmanship get past some of these. Swamp takes 25 points away. symphony-of-war-terrain/terrain-evasion
About: Symphony of War: The Nephilim Saga Hit chance
CodeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a ·scripts/360#L1146-L1171 — item_eva: sunk −0.25, woods +0.35, wall +0.35, high ground +0.25; fort and base lines commented outSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L1180-L1191 — woods_advantage: range 2+, not BowmanshipSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L1199-L1224 — wall_advantage and highground_advantageSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Skills.rvdata2 — the skills in the projectile attack group: arrows and crossbow boltsChecked by claude-agent, 2026-11-17 — read item_eva and the three advantage checks in script 360 (the live item_eva; the others are in blanked scripts 355 and 356 or engine script 42); listed the skills whose notes give the projectile groupChecked by a second AI model, 2026-11-17.Evasion is a fraction subtracted from the hit chance (symphony-of-war/hit-rolls), so 0.35 is 35 points. Woods are the forest, snowy forest and dense forest. Bowmanship (and the artifact trait Heartseeker, shown under the same name) cancels the woods, wall and high-ground evasion against that unit's arrows; Kesh's Toolkit cancels the wall's against melee, and siege attacks and fliers cancel the wall's and the high ground's. The setup lists a projectile-cover tag for forts and bases, but their evasion lines are commented out (L1165-L1169). Unlike the damage cuts, these apply indoors too.
Cited by: Symphony of War: The Nephilim Saga
Bow, crossbow and cannon classes, the Samurai and the Blademaster reach one tile farther when they stand on high ground: hills, walls, forts and the lava cave's heights. In battle, arcing shots and cannon fire likewise gain a tile of range from high ground. The game also defines a 10% attack bonus from high ground that no damage formula applies. symphony-of-war-terrain/high-ground-range
scripts/591#L4079-L4081 — a squad's map range: its living units' bestSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6696-L6698 — combat_range_map_atSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L6716-L6730 — combat_range_max_at: +1 when the tile and the class both have :highgroundSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L8486-L8493 — a skill's combat_range_max adds highground_range_bonusSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L8533-L8538 — +1 when the skill's attack groups and the user's tile both have :highgroundSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/360#L1033-L1038 — calc_terrain_mod_atk: +0.1 from high groundSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/358#L289-L290 — the default attack modifiers: no :terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/358#L388 — Zanatus's attack modifiers: no :terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/358#L451 — the cannon's: the defaults plus splashSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Classes.rvdata2 — the classes with <classgroup highground>Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · Data/Skills.rvdata2 — the skills with the highground attack groupChecked by claude-agent, 2026-11-17 — read the range methods in script 591 (Game_Squad, Game_Soldier and RPG::UsableItem, each the only definition in its class) and every use_atk_mods in script 358; listed the classes and skills whose notes give the highground groupChecked by a second AI model, 2026-11-17.The classes are the Bowman, Archer, Warbow, Horsebow, Raider, Crossbowman, Arbalest, Risen Archer, Samurai, Blademaster, Siege Cannon and Field Cannon. High ground is the highground tag: hills (snowy and desert ones too), walls, forts and the lava cave's High Ground. The attack bonus would run only for a formula whose attack modifiers list :terrain, and none of the presets in script 358 does; heal and shield formulas list fewer.
Cited by: Symphony of War: The Nephilim Saga
At the start of each player turn, every squad standing on a hazard tile (the lava cave's hazard terrain, named Lava, and Hell Hazard; not its ordinary Lava floor) loses a quarter of each living unit's maximum HP, a tenth for bosses. Fliers and squads led by a Lavawalk bearer are spared. A squad whose leader holds Soha's Blood Shard takes 40% of that every turn, on any tile. symphony-of-war-terrain/hazard-tiles
About: Symphony of War: The Nephilim Saga Hazards
CodeSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a ·scripts/573#L1851-L1858 — turn_starting calls process_hazard_terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/573#L1921-L1932 — process_hazard_terrain: skips fliers and Lavawalk; Blood Shard at rate 0.4Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/287#L140 — ZanatusBattle Setup: ENEMY_HAZARD_IMMUNITY = trueSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/217#L887 — Traits Setup: Soha's Blood Shard's descriptionSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/573#L1935-L1958 — process_hazard_single: max HP × rate for each living unitSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/192#L129-L130 — HAZARD_DAMAGE_RATE 0.25, HAZARD_DAMAGE_RATE_BOSS 0.1Checked by claude-agent, 2026-11-17 — read turn_starting, process_hazard_terrain and process_hazard_single in script 573, each defined once, and the rates in script 192Revised after a check by a second AI model, 2026-11-17.Both sides' squads take it, at the start of the player's turn. In the Zanatus battle the enemy squads are immune (ZanatusBattle::ENEMY_HAZARD_IMMUNITY is true). The damage is rounded down per unit and can kill. Only the hazard and hellhazard terrains carry the tag; the lava cave's ordinary Lava floor doesn't. The Blood Shard's description promises healing on kills and says nothing of this.
Cited by: Symphony of War: The Nephilim Saga
Towns, forts, bases, temples, villages and the bazaar are rest tiles. A player squad that ends a turn on one may recover morale to 50 above its usual ceiling, and morale above the ceiling there still bleeds off by a tenth of the excess. Player squads recover 10 morale a turn toward the ceiling, rest tile or not, and enemies and neutrals 5, before heat waves and other bonuses. symphony-of-war-terrain/rest-tiles
scripts/265#L39-L50 — Morale: MRG 5, rest boost 5, limit penalty 0.1, rest limit +50, rest for the player onlySymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/265#L151-L189 — update_morale_for_turn_endChecked by claude-agent, 2026-11-17 — read update_morale_for_turn_end and its constants in script 265; the method is defined onceChecked by a second AI model, 2026-11-17.The constants' comments say the 5 extra recovery and the waived excess penalty are for rest tiles, but the code adds the 5 to every player squad and applies the penalty everywhere. Its first comparison runs before recovery, so a squad above the ceiling loses a tenth of the excess and gains nothing. A heat wave cancels recovery and takes 10 morale from a squad on desert unless its leader is a Desert Warrior. Popular support and relationships add more (L159-L165). What morale does in battle is symphony-of-war/morale-damage.
Cited by: Symphony of War: The Nephilim Saga
Terrain gates two attacks. A light squad can ambush only from ambushable terrain (hills, forest, swamp, farm, towns, mines, stables, indoor shadows), and not a target whose tile is a fort, a base, an objective town, a wall or the lava cave's high ground. A cavalry charge needs the squad on open ground, an open destination tile, and a path at least the charge distance long, and fails if either squad ends on rough ground. symphony-of-war-terrain/terrain-tactics
scripts/591#L3704-L3747 — ambush_enabled? and the ambush checks: light speed or Karambit, ambushable, protectambush; Barek Tor at nightSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3677-L3689 — cavcharge_enabled?: cavalry on open terrainSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3254-L3291 — check_cavcharging, cavcharging and cavcharging_at: distance, rough at either end, open tilesSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/597#L246-L250 — set_node_charge_at: the node's total_length as the distanceSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/591#L3691-L3702 — cavcharge_distance: 7, or the least of the enabled charging techsSymphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/228#L268 — a charging tech: cavcharge_distance_min 6Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a · scripts/228#L504 — another: cavcharge_distance_min 6Checked by claude-agent, 2026-11-17 — read the ambush and charge checks in script 591, each defined onceRevised after a check by a second AI model, 2026-11-17.A leader with Eskandar's Karambit lets any squad ambush from ambushable terrain, and one with Barek Tor Savagery ambushes on every attack at night, terrain or not. The charge distance is the least that the charging techs give (6 in script 228) or 7 without them, compared with the pathfinder node's total_length; the tiles between the start and the destination aren't checked for open ground. What an ambush and a charge do in battle is outside this set.