Symphony of War: The Nephilim Saga
A 2022 tactical role-playing game for Windows, published by Freedom Games.
Facts
- Released
- 2022
- Genre
- Tactical role-playing game
- Platforms
- Windows
- Publisher
- Freedom Games
- Evidence
- Code (64)
- Sources
- 1
TODO: the lead, for a reader who doesn’t know the game: what it is and does, its place in its series and genre, how it was received, what it’s remembered for; each fact cited.
#How it plays
#Squads
An army is made of squads, and a squad is a small battlefield of its own: three rows of five half-tile places, where a unit takes the places beside it, so no row holds more than three units and no squad more than nine. Dragons and other large units also take the places behind them and can’t stand in the back row1. A squad needs a leader from a class allowed to lead2, and the leader’s Leadership sets how much the squad can carry3. Most units cost about 10 of that, loyal ones less and dragons more4. Each unit past the fifth costs a growing extra, so a full squad of nine pays 20 more than its members add up to5.
Position decides who gets hit. An enemy is all but never targeted while it has a unit in front of it and anyone unshielded remains, which is what makes a front line a front line6. A clash runs in rounds, two at melee range and one at range, and in each step of a round the attacking squad acts before the defender7.
Morale belongs to the squad. Every member fights at the squad’s average, pushed up by friends and down by enemies nearby on the map8. Above 50 it buys the chance of an extra action when a squad’s actions run out9. It drains with damage and deaths, faster in small squads10, and a unit that fights a third time in one turn starts tired11. The extra morale meant for squads resting in towns and forts goes to every player squad, wherever it stands12,13.
#Moving
Squads spend move points. Most have 120, and open ground costs 20 a tile, so that’s six tiles14,15. A squad doesn’t pick how it moves: it takes the movement of most of its units, weighted, so half its weight in fliers makes it fly, while cavalry needs more than half16. Cavalry crosses open ground at 15 a tile and pays 40 for Hills, Woods or Swamp; fliers pay 20 for every tile, mountains and water included17. A squad may always take a step while it has points left, so its last step can overspend18. Each enemy infantry squad next to a tile adds 1.5 times its cost, and enemies always have this zone of control19.
Where a squad stands matters in battle too. Woods take 35 points off the hit chance of arrows from range, and walls 35 off attacks from below20. Forts, bases and walls cut the damage taken, and a base cuts damage from range by a further 40%21. Archers and cannons on high ground reach a tile farther22. Hazard tiles burn a quarter of every unit’s HP each turn23.
#Damage
Every attack is one formula with different weights. The attacker’s power, a fixed number plus weighted stats, has the defender’s power taken from it, and what’s left is multiplied by the modifiers24. A sword swings 2 × Strength plus the weapon against Armor plus half the defender’s Strength; a spell swings 2 × Magic against 3.5 × the target’s Magic, so spells fall off fast against other casters25.
Whether it lands is three dice, not one. The game rolls three numbers on wider and wider ranges and counts how many come in under the hit chance: none misses, one glances for 0.4 × damage, two or three hit in full26,27. The difference in Skill between attacker and target moves that chance half a point per point26. The code marks nearly every attack that doesn’t miss as a strong hit, worth 1.1 × damage, because it reads the glancing threshold where a separate strong-hit threshold of three rolls was defined28.
Position and state matter after that. Each occupied row in front of a unit cuts the damage it takes to 0.8 ×29. The cover check works out whether a unit is covered and then ignores the answer, so every physical attack is 20% weaker wherever its target stands30. Only close-range arrow and crossbow shots check who stands in front31. A unit below 50 morale loses 0.8% of its damage per point32, and a caster gets weaker as fatigue builds33.
#Growth
Experience comes by the fight, not by the blow. When two squads part, every member of the player’s squad earns the same: 20 for each enemy killed or surrendered and 4 for each one still standing34. Each enemy is weighed by its level against the unit’s: enemies four levels below give nothing, and enemies ten above give two and a half times as much35. Every level costs a flat 100 up to 9936, and grinding the same squad without a kill or surrender earns nothing from the fourth fight on37.
A level-up raises only HP, Strength, Magic and Skill, each by its class’s table plus a small random top-up38. Armor and Weapon power come straight from the class table at the unit’s level39. Levels earned in the player’s army count for more than the levels a recruit arrives with: about 30 extra HP and 10 of each other stat over a full career40.
Promotion runs on a second meter. Class points fill a bar for the current class41, and the bar grows with each tier, 500, 3000, then 450042. A full bar, the new class’s stat minimums and its resources open the next class, and the unit keeps its level and the stats it has grown43. Along the Fighter’s line the tables are identical, so promoting changes a unit’s flat bonuses but not its growth44. At the top, a Proof of Merit gold-plates a unit for 15% more HP, Strength, Magic and Skill45.
The game has 105 classes in four tiers46. Squads carry artifacts rather than units equipping weapons: 89 of them, each with a rarity, a capacity cost and flat stats that every unit in the squad receives47.
#Skills and traits
A unit doesn’t weigh its skills. It takes the ones its class gives it, keeps those that reach the distance between the squads and that no rule forbids, and uses the one with the highest priority48,49. So a Samurai at melee range always uses its spear, and its short bow only when a wall blocks the melee50. The squad’s tactic chooses only the target. Each enemy is scored on expected damage, kills, distance, HP and whether it leads the squad51,52, and the scores feed a weighted random draw, so the best target is likely but not certain53. Cannons, dragons and arrow hails ignore the scores and aim at random54.
Units also carry traits: those they learn, their own, their class’s, and those of the artifacts their squad carries55. A recruit from the mercenary shop usually rolls one at random, weighted by trait56. A tome teaches one into one of two learned slots, and story characters have only one57. Leader-only traits count only on the squad’s leader, and help the squad only where an effect checks the leader58. In battles resolved on the map, enemies still surrender to a squad whose leader has Hand of Zanatus, though the trait says they won’t: the check looks for it in a list that holds the leader’s traits in a form it never matches59.
#Bugs
- Cover doesn't check position.30
- Every player squad below its morale base gains the extra 5 a turn meant for rest tiles (a town or base), wherever it stands: only the rest tile's raised base checks the tile.12
- In battles the game resolves on the map, enemies still surrender to a squad led by a unit with Hand of Zanatus, though the trait says they won't.59
- When the hit check runs, any attack with at least one roll at or under the chance counts as a strong hit, for 1.1 × damage, glancing blows included: the check compares that count with the glancing threshold, 1, where the formula script's own comment puts a hit with bonus at 3.28
#Unused
- Twelve skills in Symphony of War's database reach no unit: samurai arrow, Guard, Cannon 3 range, the three jammed-gun skills (JAMMED, Cannon 2 jammed, and Cannon 3 jammed), Beatrix range 2+, the three Nephilim attacks (Beatrix NEPH, Zelos NEPH, and Diana NEPH), Map Revive, and Beatrix 2.60
- Several tags in the skills' notes change nothing in play.61
- Two of the tactics' settings do nothing.62
- Nine of the ten deprecated traits do nothing in play: Press the Attack, Clarity, Vigor, Ambush, Geomancer, Stoic, Formations, Scout, and Relentless.63
- Most of a trait entry's settings do nothing in play: no running script reads the innate, natural, learnable, removable, hidden, squad-share, category, tags, or effect settings.64
#Across the genre
TODO: what it kept and changed, linked.
Data
Mechanics
Every claim about this game, by concept (82)
References
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A squad stands in three rows, front, middle and back, and each row has five positions half a tile apart. A unit takes its own position and the ones on either side of it, so a row holds at most three ordinary units and a squad at most nine. Large units (the dragons, dragon riders, war cats and behemoths among the 15 classes marked size 2) also take the positions behind them in the next row, so they can't stand in the back row.
In the game's files (Symphony of War 1.10.23 (Steam)): script 341, lines 66–76 (Meta - Position: column is position mod 5, row is position div 5); script 591, lines 4269–4295 (STMT REGEXS, Game_Squad: check_position_blocked and check_position_valid); script 349, lines 1662–1667 (Targeting SoW: front row is row 0, back row is row 2); script 264, lines 13–17 (Cover and Block: the comment on 5 columns and 3 rows); script 264, lines 60–63 (Cover and Block: one space is half a tile); Classes.rvdata2 (the <unitsize 2> tag on 15 classes). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
The leader is the squad's first unit. When the player forms a squad, only story characters, Azuros, and units whose class line allows it can found it: war cats, behemoths and the risen are marked unable, and the lines the class table leaves unmarked (Fighter, Bowman, Medic, Militia, Drakeling and the riderless dragons) can't lead either. The leader's Leadership sets the squad's capacity and its leader-only traits act for the whole squad.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 5276–5280 (leader_possible); script 591, lines 8264–8267 (classtree_leader_possible: the class tree's leader_possible); script 152, lines 49–62 (HashRecursive: an unset key at the last level reads nil); script 279, line 961 (ClassTrees: warcat can't lead); script 279, line 978 (ClassTrees: behemoth can't lead); script 635, lines 279–280 (Scene_Organize: a new squad needs a leader_possible unit); script 606, lines 27–28 (Window_SquadQuick: the star is drawn only for units that can lead); script 591, lines 3071–3074 (leader_trait_objects: the leader's leader_only traits); script 591, lines 2774–2777 (Game_Squad#leader: the set leader, else the first member). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A squad's capacity is its leader's Leadership (LDR), counted as 30 if it's lower, plus 10 with the Grand Army tech and 20 if the leader has the protagonist's late trait "Finish the Millenium War!". A unit can't join a squad whose total cost would then exceed its capacity.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 3076–3086 (squad_capacity_max and squad_leader_capacity); script 591, lines 5416–5420 (capacity_leader: param 5, at least 30); script 268, lines 26–33 (BalanceTest: param 5 is mdf, shown as LDR); script 591, lines 2890–2908 (try_add_unit: removes the unit again if the squad is over capacity, unless forced); script 217, lines 1857–1862 (Traits Setup: lightfury, +20 Capacity, leader only); script 591, lines 3088–3102 (squad_capacity_limit is the maximum; capacity_color tests over-limit (red) before over-capacity (yellow)); script 252, lines 245–249 (SquadInfoConstructorOrganize: the capacity figure is drawn in capacity_color). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Each unit costs capacity. The leader costs a flat 10 whatever its class. Other units cost 10, or 15 for dragons, dragon riders, war cats, behemoths and necromancers and 8 for the risen; then minus their loyalty, which runs from −2 to 2 (so a disloyal recruit costs 12 and a loyal one 8). Story characters cost 2 more and count loyalty 2, so they stay at their class's cost. A leader with a captain trait takes 2 off each unit of its class group, and a unit's own traits and its relationship with the leader can move the cost; it never goes below 0.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 5289–5316 (capacity_used); script 591, lines 5326–5363 (loyalty, its limits, and capacity_used_base); script 591, lines 5365–5389 (capacity_trait_mod: the leader's classgroup reductions and the unit's trait costs); script 591, lines 3108–3133 (squad_capacity_used: the first formation slot is costed as leader); script 217, lines 504–507 (Archer Captain: 2 less capacity, leader only); script 217, lines 519–522 (Soldier Captain: heavy infantry); script 217, lines 534–536 (Knight Captain: mounted melee); script 217, lines 1774–1776 (Shock and Awe: firearms); script 217, lines 2060–2068 (Raid Captain: light infantry); Classes.rvdata2 (the classgroups bigcat (Warcat, Behemoth), dragon, dragonrider, necromancer and risen). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A squad of more than 5 units pays extra capacity on top of its units' costs: 2 for the 6th unit, then 4 more for the 7th, 6 for the 8th and 8 for the 9th, so a full squad of 9 pays 20 extra. The step is a New Game+ option (+1, +2 or +3; +2 by default), and Ludicrous difficulty raises it to at least +3.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 3148–3172 (squad_capacity_packed_penalty_full: (1 + … + units over 5) × the step; num_capacity_units); script 297, lines 78–87 (Gamerule: squad_overpacking_cost, option 0, 1, 2 → 1, 2, 3); script 298, line 144 (NG Flags: default option 1); script 298, lines 247–248 (ng_option_limit: at least 2 on Ludicrous); script 754, line 264 (Window_NewGamePlusOptions: the option's labels +1, +2, +3). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
The front line shields the units behind it from being picked as targets. When a unit chooses a target, an enemy with another living enemy anywhere in front of it, no more than half a tile to the side, has its weight cut to slightly below 0, and such a unit a full tile to the side halves its weight, once for each. A unit cut that way is chosen only when no enemy has a positive weight. Every class a player can field blocks; only the Girl, the Boy, the Dark God and Zanatus's arms, which have no archetype, don't. Spells, arced shots and cannons skip the check, a unit with Guile ignores it, and stealth strikes reverse it, so units behind shield those in front; arrow and crossbow shots at melee range use a softer rule.
In the game's files (Symphony of War 1.10.23 (Steam)): script 461, lines 391–406 (SoW Action, evaluate_item_sow: value × block_tgr, less row / 100, and the exceptions); script 461, lines 457–466 (the weighted draw: a value below 0 loses to any above 0); script 462, lines 66–117 (SoW Action Other: blocked_by_light_mod and blocked_by_heavy_mod); script 462, lines 168–173 (block_tgr: the two multiplied); script 462, lines 36–44 (can_block_light and can_block_heavy: by archetype or classgroup); script 264, lines 52–84 (Cover and Block: full block × 0 within 1, half block × 0.5 within 2, rates multiply); script 264, lines 107–110 (the archetypes that block); script 360, lines 1766–1776 (no covermod implies no blockmod; reverse blockmod); Skills.rvdata2 (the tags: <no covermod> on 32 skills, <no blockmod> on 15, <reverse blockmod> on 5); Classes.rvdata2 (every named class but Girl (75), Boy (76), Dark God (80) and Zanatus Arm (81-84) has a blocking archetype or block classgroup). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Two squads fight in rounds until both are out of actions. Each unit has 2 actions when the squads meet at melee range and 1 at range 2 or more, and a squad lasts as long as its best-supplied member. Each round every living unit picks one skill, and the round runs in four steps, in each of which the attacking squad acts before the defending one: effects and buffs; firearms, spells, ranged attacks, light melee, melee, risen and heals; late heals; summons. At range 2 or more the second step holds only spells, ranged attacks, risen and heals. Within each step, faster skills go first. Ambushes, the Merciful tactic, Initiative, Soul of Sayunaa and Nephilim battles change the order.
In the game's files (Symphony of War 1.10.23 (Steam)): script 456, lines 59–82 (ActionManagerSoW: next_turn and check_all_actions_completed); script 456, lines 88–169 (make_volley_segments_v2: aggressor's volleys then defender's in each priority group); script 456, lines 398–409 (make_all_actions: one action per living battler); script 456, lines 704–710 (a squad's counts are its members' highest); script 266, lines 119–132 (Volley Segements: VOLLEY_SEGMENT_ORDER_V2 and the ranged order); script 591, lines 5199–5210 (init_action_counts); script 591, lines 5251–5257 (base_action_count_range1 2, range2 1); script 457, lines 55–61 (Game_ActionVolley: actions sorted by action_speed, highest first); script 458, lines 70–77 (volley_segment: the skill's segment, gunners split by row); script 458, lines 116–122 (action_speed: skill speed × 10 + AGI); script 591, lines 2784–2799 (initiative_check (3 uses) and soulofsayunaa_check (melee range, 2 uses), reset together). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Morale belongs to the squad. Each unit carries a value, but the squad's morale is the average over its non-risen members plus bonuses: up to +20 from relationships with characters in squads within 3 tiles, +5 for each squad within 3 tiles led by a unit with Donar's Presence, and −10 for each adjacent enemy squad beyond the first, after adjacent friendly squads cancel enemies one for one. Every member fights at that figure. A leader with the Skull of Rowdain fixes it at 25, and one with Haughty at 40.
In the game's files (Symphony of War 1.10.23 (Steam)): script 265, lines 223–238 (Game_Squad#morale and morale_fixed); script 265, lines 267–278 (effective_morale and average_mp over the non-risen members); script 265, lines 337–374 (party_morale_boosts and relationship_morale_boost); script 265, lines 394–412 (surrounded_morale_change and adjacent_enemies); script 265, line 37 (MORALE_ADJACENT_ENEMY_PENALTY −10); script 265, lines 70–81 (relationship bonuses 0, 5, 10, 10, at most 20, within 3 tiles); script 265, lines 524–531 (a unit's effective morale is its squad's); script 217, lines 1763–1764 (Haughty: Beatrix is not affected by the morale of her squad); script 217, line 1892 (the name Skull of Rowdain); script 217, line 1788 (the name Donar's Presence). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
High morale buys extra actions. When a squad has used all its actions in a battle, each living member rolls once: its chance of one free action is 1% for each point of morale above 50, so 30% at 80 morale. Below 50 there is no chance. A unit with the Mirage trait always gets one more, and so does a leader with Weapon Master.
In the game's files (Symphony of War 1.10.23 (Steam)): script 456, lines 608–631 (roll_morale); script 456, lines 70–82 (rolled once a squad's remaining actions reach 0); script 265, lines 11–13 (Morale: threshold 50, rate 1.0); script 265, lines 524–531 (a unit's effective morale is its squad's). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
In battle a unit loses 12 morale for each full HP bar of damage it takes, so a hit for a quarter of its HP costs 3. When a unit dies, every member of its squad loses 4 morale plus 0.5 for each unit the squad is short of 9, so deaths hurt small squads more; a leader's death doubles it, or quadruples it if the enemy has the Psych Warfare tech. Risen lose no morale. In a fought battle a risen's death costs its squad nothing, but auto-resolved battles skip that test and charge it like any other death.
In the game's files (Symphony of War 1.10.23 (Steam)): script 450, lines 257–262 (Battle Revisions: damage share × MORALE_DAMAGE_PENALTY); script 450, lines 321–335 (the death penalty for every member); script 549, lines 316–332 (Extra Autobattle Stuff: the same penalty with no risen test); script 265, lines 61–65 (DEATH_PENALTY 0, GROUP 4, GROUP_EX 0.5, DAMAGE_PENALTY 12); script 265, lines 578–584 (apply_morale_damage: none for risen, × 0.75 for Stalwart enemies); script 362, lines 163–165 (SquadManager Front: members are the whole formation, dead or alive). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A player unit's third and later battles in one turn cost morale: 5 at the start of the third, 7 at the fourth, 9 at the fifth, and so on. The count resets at the start of each player turn. On other difficulties the New Game+ magic fatigue option scales it by 0.75, 1 or 1.5 (1 by default). Ludicrous multiplies it by 1.5 and locks that option at 150%, so the loss there is 2.25 times as large.
In the game's files (Symphony of War 1.10.23 (Steam)): script 265, lines 293–316 (init_battle_morale: morale_fatigue +1 each battle, loss from 3); script 297, lines 382–395 (fatigue_multiplier_by_team); script 298, lines 264–265 (ng_option_limit: magic fatigue forced to 2 on Ludicrous); script 754, line 260 (Window_NewGamePlusOptions: the option locked on Ludicrous, labels 75%, 100%, 150%); script 360, lines 188–192 (reset_heal_fatigue clears morale_fatigue); script 591, lines 4533–4538 (after refresh_all_morale, every squad's fatigue reset); script 462, lines 1016–1022 (a squad's on_battle_start runs init_battle_morale). We don't reproduce the code or data.
- ^ abCodeSymphony of War 1.10.23 (Steam)
How we know
Every player squad below its morale base gains the extra 5 a turn meant for rest tiles (a town or base), wherever it stands: only the rest tile's raised base checks the tile. At the start of each player turn every squad's morale moves toward its base, normally the mission's value for its side. A squad above its base loses 10% of the excess. A squad below gains 5, or 10 for the player's squads, up to the base, and a player squad on a rest tile has its base raised by 50. Popular Support, relationships, heat waves and leaderless enemy squads change the gain.
In the game's files (Symphony of War 1.10.23 (Steam)): script 265, lines 151–189 (Morale.update_morale_for_turn_end); script 265, lines 39–50 (MRG_BASE 5, MRG_BOOST_REST 5 'when on a rest tile', LIMIT_PENALTY 0.1, LIMIT_BOOST_REST 50); script 902, lines 282–305 (OPTIMIZATION FIXES: the live morale_base); script 591, lines 4522–4532 (refresh_all_morale: every map squad and player squad); script 573, lines 1851–1864 (Tactical Map Tie-In: turn_starting calls refresh_all_morale). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 265, lines 39–50 (Morale: MRG 5, rest boost 5, limit penalty 0.1, rest limit +50, rest for the player only); script 265, lines 151–189 (update_morale_for_turn_end). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 193, lines 66–123 (Move Points Setup: speeds slow 100, normal 120, light 120; types: cavalry +10, flying set to 140); script 591, lines 3942–3949 (make_move_type_simple: the speed's points, × the type's rate, + its add, or its set value); script 591, lines 3608–3612 (move_points: those plus extra_move_points); script 591, lines 3550–3553 (flying?: true for a leader with Mercurial Shoes); script 591, lines 3396–3401 (formation_suppressed?: missions 4 and 29, sequence 4); script 187, line 99 (Game Flow Setup: SEQUENCE, where 4 is :mission); script 591, lines 6803–6805 (move_points_individual: the speed's points); script 187, line 99 (Game Flow Setup: sequence 4 is the mission); script 591, lines 3639–3641 (move_points_text: points / 20, rounded); script 591, lines 3350–3353 (move, what the pathfinder reads, is move_points); script 591, lines 3894–3949 (make_move_type_simple: points from the move type, which Mercurial Shoes don't change). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 192, lines 136–162 (Terrains Setup: the defaults, a move cost of 20 and no tags); script 590, lines 117–134 (ShadowMap PostLoader: an objective's terrain first, else the topmost tile layer with a terrain type); script 590, lines 300–318 (terrain_tags_xy: the terrain's tags plus the tags of the tile's map regions); script 590, lines 104–115 (rtt_for_region: a region tag counts by its switch, inverted by !); script 867, lines 130–150 (Tile Inspector: a tileset's <terrain "type" ids> notes); Tilesets.rvdata2 (the tilesets' terrain notes); script 192, lines 172–638 (the lines the table spec reads); script 192, lines 146–156 (the lines the table spec reads); script 619, line 129 (Window_TurnCount: the name the turn window shows for a tile is its terrain's text). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 3894–3949 (make_move_type_simple: weights by type and speed, disables, priorities); script 591, lines 3760–3761 (make_move_type returns make_move_type_simple); script 193, lines 102–123 (priorities: slow 999, normal 100, cavalry −1, flying 1000); script 193, lines 72–85 (speed priorities: slow 999, normal 10, light −1); script 591, lines 6839–6858 (a unit's moveset notes: type and speed default normal, weight 1); script 591, lines 6788–6793 (move_weight: summoned units weigh 0); script 591, lines 3396–3401 (formation_suppressed?: missions 4 and 29, sequence 4); script 591, lines 3550–3553 (flying?: also a leader with Mercurial Shoes); script 591, lines 6819–6835 (moveset_speed: a tech's replacement first, else the class note); Classes.rvdata2 (the classes' <moveset type, speed, weight, disable> notes). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 597, lines 778–809 (AIMove Processing: move_cost, the cost of entering a tile); script 591, lines 3550–3561 (flying?, light? (speed light) and cavalry? (type cavalry)); script 192, lines 138–144 (the lines the table spec reads). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 597, lines 106–108 (make_paths_for, the player's and the preview pathfinder: move_max is the squad's move); script 597, lines 135–165 (a step under the limit continues; a step from under the limit is the last); script 591, lines 1018–1050 (passable?: fliers skip the map's passability; the player's fliers pass over squads); script 591, lines 1116–1130 (tag_restricted?: invalid, impassable, noentry for the player); script 591, lines 1215–1229 (collide_with_squads: only squads not allied block; the player and neutrals are allies). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 597, lines 804–808 (move_cost: × move_cost_zoc_mult unless shadowchaser; the additive version commented out); script 597, lines 829–850 (move_cost_zoc_mult: four neighbours, enemies, infantry, the :zoc tech, walls and ramps); script 228, lines 235–243 (TechTree: Zones of Control, :zoc, and its help text); script 924, lines 732–746 (tech_enabled?: team 1 asks enemy_scenario_tech_enabled?); script 228, lines 986–988 (TechTree.tech_enabled? asks $game_party); script 646, lines 431–434 (enemy_scenario_tech_enabled?: true for GLOBAL_ENEMY_TECH); script 187, line 58 (++Game Flow Setup: GLOBAL_ENEMY_TECH includes :zoc); script 5, line 193 (DISABLE SCRIPTS: ++ scripts are blanked only when MITHRAN_MASTER_SWITCH is on); script 1, line 2 (TEST SCRIPTS: MITHRAN_MASTER_SWITCH = false); script 297, lines 516–518 (Gamerule.zoc_plus is the ng_zoc option); script 298, line 18 (its help text); script 298, line 63 (its name, ZoC++); script 298, line 129 (its default, 0); script 591, lines 3580–3585 (a squad's moveset_type is its move type); script 646, lines 443–448 (neutral_scenario_tech_enabled?: the mission's neutral_tech). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 360, lines 1146–1171 (item_eva: sunk −0.25, woods +0.35, wall +0.35, high ground +0.25; fort and base lines commented out); script 360, lines 1180–1191 (woods_advantage: range 2+, not Bowmanship); script 360, lines 1199–1224 (wall_advantage and highground_advantage); Skills.rvdata2 (the skills in the projectile attack group: arrows and crossbow bolts). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 360, lines 1040–1051 (calc_terrain_mod_damage: prot5, prot10, prot20, wall, high ground, Garrison); script 360, lines 593–595 (calc_damage_mod: projectilecover_base × 0.6 at range 2+, not for support); script 360, lines 1199–1224 (wall_advantage and highground_advantage); script 358, lines 323–324 (the damage modifiers include :terrain); script 358, line 5 (CURSE_RESIST_LIST includes :terrain); script 360, lines 823–829 (increase_for_curses: a cut / 0.95 per curse on the defender, up to 1); script 217, lines 1597–1598 (Traits Setup: Garrison, 'Damage reduction granted from terrains is increased by 50%'); Skills.rvdata2 (the skills in the highground attack group: arcing arrow and crossbow attacks, cannons). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 4079–4081 (a squad's map range: its living units' best); script 591, lines 6696–6698 (combat_range_map_at); script 591, lines 6716–6730 (combat_range_max_at: +1 when the tile and the class both have :highground); script 591, lines 8486–8493 (a skill's combat_range_max adds highground_range_bonus); script 591, lines 8533–8538 (+1 when the skill's attack groups and the user's tile both have :highground); script 360, lines 1033–1038 (calc_terrain_mod_atk: +0.1 from high ground); script 358, lines 289–290 (the default attack modifiers: no :terrain); script 358, line 388 (Zanatus's attack modifiers: no :terrain); script 358, line 451 (the cannon's: the defaults plus splash); Classes.rvdata2 (the classes with <classgroup highground>); Skills.rvdata2 (the skills with the highground attack group). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
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.
In the game's files (Symphony of War 1.10.23 (Steam)): script 573, lines 1851–1858 (turn_starting calls process_hazard_terrain); script 573, lines 1921–1932 (process_hazard_terrain: skips fliers and Lavawalk; Blood Shard at rate 0.4); script 287, line 140 (ZanatusBattle Setup: ENEMY_HAZARD_IMMUNITY = true); script 217, line 887 (Traits Setup: Soha's Blood Shard's description); script 573, lines 1935–1958 (process_hazard_single: max HP × rate for each living unit); script 192, lines 129–130 (HAZARD_DAMAGE_RATE 0.25, HAZARD_DAMAGE_RATE_BOSS 0.1). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Every damage formula in Symphony of War subtracts the defender's power from the attacker's and multiplies what's left: damage is (attack − defense) × the damage modifiers, then × the row and cover modifiers, and never below 0. Attack and defense are each a fixed number plus stats times the formula's weights, and each has modifiers of its own.
In the game's files (Symphony of War 1.10.23 (Steam)): script 360, lines 296–326 (Damage Formula SoW Processing: eval_preset_formula); script 360, lines 448–462 (calc_value_base: the fixed number plus each stat times its weight); script 360, lines 1674–1679 (formula_eval: a preset's result floored at 0, then signed). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
The weights differ by weapon. A melee attack's power is 25 + 2 × Strength + Weapon, against the target's 10 + Armor + half its Strength. A bow's is 15 + 2 × Strength + Weapon, against 10 + 1.25 × Armor + a quarter of Strength. A gun's is 10 + Weapon, against 10 + a quarter of Armor + 0.06 × Strength; a crossbow's is 10 + Weapon, against 10 + 0.75 × Armor + 0.19 × Strength. A spell's is 50 + 2 × Magic + Weapon + 2 × level, against 10 + 3.5 × the target's Magic.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, lines 277–295 (DAMAGE FORMULA SOW: the defaults, 10 for attack and defense); script 358, lines 334–341 (melee_damage); script 358, lines 353–369 (bow_damage, gun_damage, xbow_damage); script 358, lines 378–384 (spell_damage); script 358, lines 456–462 (each formula takes the defaults it doesn't set); script 297, lines 303–315 (Gamerule Changes: params 2, 3, 4 and 7 named str, armor, mag and weapon). We don't reproduce the code or data.
- ^ abCodeSymphony of War 1.10.23 (Steam)
How we know
An attack's hit chance is the attacker's hit rate times the skill's success rate, minus the target's evasion, plus half a percentage point for each point of Skill the attacker has over the target, and never under 2%. The game then draws three random numbers, from 0 up to 1, 1.15 and 1.3, and counts those at or under the chance: none is a miss, one a glancing blow, two or three a full hit.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, lines 77–90 (DAMAGE FORMULA SOW: three trials, thresholds, skill rate 0.5, ranges from 1.0 by 0.15); script 360, lines 1130–1133 (item_hit: hit rate × success rate); script 360, lines 1294–1305 (check_item_hit: the three rolls); script 360, lines 1317–1318 (Skill is AGI); script 360, lines 1340–1348 (the chance, its floor, the count); script 360, lines 1367–1375 (0 a miss, 1 a glancing blow). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A glancing blow multiplies damage by 0.4. Bows, guns and crossbows also take their attack power to 0.8 first.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, line 280 (atk_rate_glancing default 1.0); script 358, lines 289–290 (use_atk_mods: glancing among them); script 358, line 314 (damage_rate_glancing 0.4); script 358, lines 323–324 (use_damage_mods: glancing among them); script 358, lines 353–369 (bow, gun and crossbow: atk_rate_glancing 0.8); script 360, lines 932–936 (calc_glancing_mod). We don't reproduce the code or data.
- ^ abCodeSymphony of War 1.10.23 (Steam)
How we know
When the hit check runs, any attack with at least one roll at or under the chance counts as a strong hit, for 1.1 × damage, glancing blows included: the check compares that count with the glancing threshold, 1, where the formula script's own comment puts a hit with bonus at 3. The line that sets the strong-hit threshold reads the glancing threshold's constant, and no running script reads the constant of 3.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, lines 77–81 (HITRATE_GLANCINGX = 1, HITRATE_BONUSX = 3, 'if >= this number, hit with bonus'); script 360, lines 1296–1297 (glancingx and bonusx both set from HITRATE_GLANCINGX); script 360, lines 1384–1386 (stronghit when the count reaches bonusx); script 358, line 316 (damage_rate_stronghit 1.1); script 358, lines 323–324 (use_damage_mods: stronghit among them); script 360, lines 857–859 (applied when the result is a strong hit). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Damage to a unit is multiplied by 0.8 for each occupied row in front of it, unless the skill opts out or sets its own rate.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, lines 328–329 (cover_mod and row_mod defaults 0.8); script 360, lines 321–326 (damage × cover × row); script 360, lines 414–422 (calc_row_mod: rate ** rows_in_front); script 462, lines 54–64 (SoW Action Other: rows_in_front counts occupied rows before the unit's). We don't reproduce the code or data.
- ^ abCodeSymphony of War 1.10.23 (Steam)
How we know
Cover doesn't check position. Every attack without the no-cover tag deals 0.8 times its damage to whoever it hits, front row or back: the routine works out whether the target is covered by a unit in front, then applies the rate whatever the answer. Spells and heals carry the tag and skip it (all but Mage Charge), a unit with Guile ignores it, and arrow and crossbow shots at melee range use a positional rule instead.
In the game's files (Symphony of War 1.10.23 (Steam)): script 360, lines 394–410 (calc_cover_mod: covered is set and never read); script 358, line 328 (DAMAGE FORMULA SOW: cover_mod default 0.8); script 360, lines 321–326 (eval_preset_formula: damage × cover × row); script 264, lines 26–30 (Cover and Block: the comment, apply the mod when covered); Skills.rvdata2 (<no covermod> on 32 skills: every spell and heal but Mage Charge, plus Oracle Shield; no skill sets <cover mod N>). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Arrow and crossbow shots at melee range are the one attack whose cover depends on position. Each living unit in front of the target and no more than half a tile to the side multiplies the damage by 0.65 if it's a heavy unit (heavy infantry, heavy cavalry, dragons, Arbalests, Risen Swordsmen) or 0.75 if a light one (light infantry, light cavalry, archers, gunners); squared when it stands directly in front, and square-rooted when it's two rows ahead. Front-row targets take full damage, and supports and mages give no cover. The Ranger's bolt is also a sniping shot, so it takes the square root of the result.
In the game's files (Symphony of War 1.10.23 (Steam)): script 462, lines 184–227 (straightshot_cover_mod); script 462, lines 25–33 (can_cover_light and can_cover_heavy); script 264, lines 107–108 (the cover archetypes); Classes.rvdata2 (the heavycover classgroup on Arbalest (111) and Risen Swordsman (117); Ranger bolt (skill 16) carries straightshot and snipe); script 360, lines 397–402 (calc_cover_mod: straightshot attacks take this, sniping shots its square root); Skills.rvdata2 (<attackgroup straightshot> on 8 skills: arrow, crossbow, ranger bolt, arbalest and samurai close shots). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Low morale cuts damage: below 50, each point takes 0.8% off, so a unit at 0 morale deals 60% damage. Morale above 50 adds nothing.
In the game's files (Symphony of War 1.10.23 (Steam)): script 265, lines 20–30 (Morale: normal value 50, MORALE_ATK_RATE 0.008); script 360, lines 924–930 (calc_morale_mod: 1 + (morale − 50) × rate, at most 1); script 358, lines 323–324 (use_damage_mods: morale among them). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Spells, battle heals and shields lose power as their caster tires: each is multiplied by 2 / (2 + fatigue). Spells read the caster's spell fatigue; heals and shields read its heal fatigue as well, a second counter.
In the game's files (Symphony of War 1.10.23 (Steam)): script 358, lines 32–40 (the comment: softcap / (softcap + fatigue)); script 358, line 379 (spell_damage fatigue_softcap 2.0); script 358, line 409 (heal_normal 2.0); script 358, line 437 (shield_normal 2.0); script 360, lines 1081–1106 (calc_rec_mod and calc_shield_mod: the same term on heal_fatigue); script 462, lines 936–944 (SoW Action Other: spells add to mage_fatigue, shields and heals to heal_fatigue); script 360, lines 577–590 (calc_damage_mod: the fatigue term). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
In battle, experience comes from engagements, and only from the squad a unit fought. When the fight ends, every member of the squad earns 4 points for each enemy still standing, 20 for each one killed and 20 for each one that surrendered, each scaled by the level gap (level-gap-scale). Every member gets the whole sum; it isn't split among the squad. The sum is multiplied by the unit's experience rate, raised to 1 if it's above 0 but under 1, and cut to 0 for a member who died; decimals are dropped.
In the game's files (Symphony of War 1.10.23 (Steam)): script 438, lines 57–60 (ExpControl 2.0: EXP_SURVIVAL_VALUE 4, EXP_KILL_VALUE 20, EXP_SURRENDER_VALUE 20, EXP_DEAD_RATE 0); script 438, line 202 (EXP_SPLIT = false); script 438, lines 670–673 (exp_rate: 0 for a summoned unit, else exr × Gamerule.global_exp_mod); script 438, lines 677–702 (gain_buffered_battle_exp: the sum over the opposing squad's standing, killed and surrendered members, the rate, the floor of 1, the dead rate); script 269, line 71 (BattleEnd: BATTLEEND_EXP_TEST_MOD = 1); script 591, lines 4309–4333 (process_battle_exp: called for every squad member, alive or not); script 591, lines 5120–5128 (a surrendered unit isn't alive, so it isn't also counted as standing). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Each enemy's experience is multiplied by a rate set by its level minus the unit's, held to ±10: nothing from an enemy 4 or more levels below, 5% at 3 below, 10% at 2 below and 25% at 1 below; full value at the same level or 1 above; then 1.1, 1.25, 1.33, 1.5, 1.66, 1.75, 2, 2.25 and 2.5 times at 2 to 10 levels above. An enemy's level counts only up to the mission's scenario level plus 2.
In the game's files (Symphony of War 1.10.23 (Steam)): script 438, lines 227–248 (LEVEL_SCALE[-10] to LEVEL_SCALE[10]); script 438, lines 276–277 (MAX_LEVEL_DIFFERENCE 10, MIN_LEVEL_DIFFERENCE -10); script 438, lines 1269–1277 (mod_battle_exp: the gap clamped, the rate applied, held between 0 and 1000); script 438, lines 1504–1517 (exp_scale_level (the unit's own level) and scenario_scale_level (the enemy's, at most scenario level + 2)). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Every level costs 100 experience, in every class, up to level 99. A fight's experience fills at most one level at a time: what's left after a level-up carries over, rescaled by the level-gap rate of the mission's scenario level against the unit's new level over that rate against its old one, and is lost when either rate is 0.
In the game's files (Symphony of War 1.10.23 (Steam)): script 438, line 151 (EXP_MAX_LEVEL = 99); script 438, line 164 (EXP_PER_LEVEL = 100); script 438, lines 629–660 (exp_for_level = 100 × level; next_level_exp; max_level); script 438, lines 703–718 (the loop: at most exp_to_next per pass, the rest rescaled by calc_new_level_exp); script 438, lines 1279–1291 (calc_new_level_exp: new rate ÷ old rate, 0 if either is 0); script 438, lines 1303–1312 (change_exp: level_up while below 99 and the experience reaches the next level). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A squad that keeps fighting the same enemy squad without killing anyone earns nothing from the fourth such fight on: no experience, class points, leadership or loyalty. A fight in which an enemy is killed or surrenders clears the count.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 4309–4333 (process_battle_exp: battled_squad_ref counts no-kill fights per enemy squad; noxp above 3; a kill or surrender clears it). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A level-up raises only HP, Strength, Magic and Skill. Each gains its class's table increase for the new level (the value at the new level minus the old), plus a random 0 to 10% of that increase for HP or 0 to 5% for the others, plus half the affinity bonus (affinity-growth); levels earned in the player's army add more (homegrown-bonus). Armor, Morale and Weapon power are never rolled: they read the class's table at the unit's level. Leadership doesn't rise with levels at all. The whole gain is then multiplied by the difficulty's growth rate, which only Ludicrous sets (ludicrous-growth).
In the game's files (Symphony of War 1.10.23 (Steam)): script 257, lines 3–11 (Param Level Variance: PARAM_VAR_EXEMPT [1, 3, 7], PARAM_VAR_FIXED [5], PARAM_GROWTH [0, 2, 4, 6]); script 257, lines 42–83 (PARAM_VAR_LEVEL_MOD_VAR: 0.1 for HP, 0.05 for Strength, Magic and Skill); script 257, lines 104–138 (param_gain: the increase, the roll, the homegrown terms, affinity, the difficulty multiplier); script 257, line 136 (param_gain: result × param_mod_for_difficulty); script 907, lines 28–41 (leveling and affinity changes: level_up adds param_gain for params 0, 2, 4 and 6 only); script 591, lines 6098–6110 (param_base: exempt params read the class table at the current level); script 591, lines 5458–5462 (no_level_variance: story characters and unique units). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Each of the 105 classes gives its units a share of their stats: the stat's level-1 value on the class's curve in the database (HP, Strength, Armor, Magic, Leadership, Skill and Weapon power), a flat bonus to the stat from the class's
/ft param_addtags, and a rate for the stat from its<param mod>tags (100% where it has none; several tags on one stat multiply). Armor, Weapon power and Morale are read from the class's curve at the unit's level; the other stats start from the level-1 value of the class the unit levels as, which is class 33, Apprentice, for a unit with the Mage Trainee trait. The table gives only the class's part. A unit's live stat adds the class's bonus to its base and its own and its character's bonuses, multiplies the sum by a rate that adds the class rate's excess over 100% to the unit's and its character's own excess and a gilded term, times memory and doppelganger factors, then applies states and buffs, technologies, difficulty, the squad's artifacts, arcane powers, traits and New Game+ terms. The class's flat bonus is scaled down only for memories (units carried into New Game+); its rate is changed for memories, doppelgangers of Nephilim, and Nephilim under the Nerfilim rule.In the game's files (Symphony of War 1.10.23 (Steam)): script 257, lines 26–36 (comments naming stats 0 to 7: mhp, mmp (morale), atk (str), def (armor), mat (mag), mdf (ldr), agi (skl), luk (Weapon Power)); script 422, lines 854–871 (a class's params[id, level]: the database curve plus a per-class formula); script 191, lines 51–59 (class_param_formulas: empty, so no class has a formula); script 257, line 3 (PARAM_VAR_EXEMPT: morale, armor and weapon are tied to class and level); script 591, lines 6098–6110 (Game_Soldier param_base: an exempt stat is the class curve at the unit's level; the rest come from the level-up sum); script 257, lines 87–102 (param_init: a stat's first level starts from the leveling class's level-1 value); script 907, lines 161–164 (class_for_leveling: the unit's class, or class 33 for the magetrainee trait); script 217, lines 2217–2218 (the magetrainee trait: "Mage Trainee", growths "identical to Magician archetype"); script 257, lines 42–77 (the creation variance, PARAM_VAR_INIT_*: set for stats 0, 2, 4 and 6 only); script 924, lines 37–59 (Game_Soldier param (the live definition): base + plus + class bonus + add, times param_mod_sow and the state and buff rates, then tech, difficulty, global and scenario mods, squad artifacts, arcane, elite leaders, traits, temp and NG+ terms); script 924, lines 28–34 (feature_param_plus: the sum of param_add features, "only for things using the /ft tag on class tab"); script 924, lines 93–105 (class_param_plus: in full unless the unit is a memory (carried into New Game+), when a positive bonus is scaled by 0.8 per tier above its potential rank); script 422, lines 348–349 (the /ft feature pattern); script 422, lines 576–586 (ft_get_features: the code from its name, the data id from the stat's name, the value); script 422, lines 480–496 (symb_to_data_id: a name's place in the param lists); script 424, line 29 (param_add is feature code 256, summed); script 591, line 265 (PARAM_TABLE, the names <param mod> takes); script 591, lines 7880–7892 (RPG::Class parse_param_mod: each <param mod stat n> multiplies the stat's rate by n/100); script 924, lines 272–330 (param_mod_sow (the live definition): mod = 1 + (base − 1) + (class − 1) + (actor − 1), plus the gilded term, times the memory and doppelganger factors); script 924, lines 188–194 (calc_param_mod_class: the class rate, changed only under nerfilim, for a Nephilim doppelganger, or for a memory that isn't a Nephilim); Classes.rvdata2 (the entries the table spec reads); script 422, line 349 (the lines the table spec reads); script 591, line 7883 (the lines the table spec reads). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Levels a unit gains in the player's army grow it more than the levels it was recruited with. Each such level adds a further 7.5% of the class's increase, and a flat 0.306 HP or 0.102 Strength, Magic and Skill: over 98 levels that's about 30 HP and 10 of each other stat. The levels a hired unit arrives with carry none of it, except for story characters and unique mercenaries, whose starting levels count as homegrown too.
In the game's files (Symphony of War 1.10.23 (Steam)): script 257, lines 42–83 (the _HOMEGROWN constants: 0.05 fixed and 0.05 varying rate; 0.204 fixed and 0.204 varying HP, 0.102 and 0 for the others); script 257, lines 104–138 (param_gain: the varying terms are taken at 0.5, not rolled); script 907, line 28 (level_up(homegrown = true)); script 438, lines 1303–1312 (change_exp calls level_up with no argument, so every level from experience is homegrown); script 907, lines 140–159 (get_param_ary(id, level, homegrown = false): a new unit's starting levels); script 740, line 239 (Merc Make shop: a hired unit's stats from get_param_ary, not homegrown); script 907, line 173 (param_gain_full: homegrown = true if no_level_variance); script 591, lines 5458–5462 (no_level_variance: story characters and unique units). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Class points fill a bar for the unit's current class. After an engagement each surviving member gains 10, plus, for each enemy, 3 + 5 × its class tier, times 1.25 per tier above the first: 8 for a tier-1 enemy, 16.25 for tier 2, about 28.1 for tier 3 and 44.9 for tier 4, doubled if it was killed or surrendered. The value drops by a factor of 1.25 for each tier the receiving unit stands above the enemy, to no less than 1. The total is then multiplied by the unit's class-point rate; a member who died gets nothing.
In the game's files (Symphony of War 1.10.23 (Steam)): script 438, lines 65–75 (CXP_PARTICIPATION_VALUE 10, CXP_BASE_GAIN 3, CXP_TIER_GAIN 5, CXP_TIER_EXPONENT 1.25, kill and surrender rates 2); script 438, lines 375–391 (cxp_value: the enemy's worth, a gilded unit a tier higher, a Nephilim story character tier 3); script 438, lines 1044–1084 (gain_buffered_battle_cxp); script 591, lines 6039–6062 (cxp_rate: techs, traits, the New Game+ CP growth option and the arena multiplier); script 297, lines 436–441 (cp_growth_rate: 0.75, 1 or 1.5); script 297, lines 551–565 (Gamerule.global_cxp_mod: the arena multiplier, with no Inexperienced branch). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A class's bar is full at 500 class points for tier-1 classes, 3000 for tier 2 and 4500 for tier 3; a Drakeling's and a Dragon's at 2000, the chromatic dragons' at 3000 and the dragon riders' at 4500. Points keep their class: a unit that returns to a class it held finds its bar where it left it. Some classes have no bar: the Titans, the Queen of Dragons, the story heroes' classes and the risen set it at 0, so they count as full from the start.
In the game's files (Symphony of War 1.10.23 (Steam)): script 279, lines 113–119 (ClassTrees: CXP_LIMIT_T1 500, T2 3000, T3 4500, T1_DRAGON 2000, T2_DRAGON 2000, T3_DRAGON 3000, T4_DRAGONRIDER 4500); script 591, lines 8232–8235 (RPG::Class#cxp_limit, the live one: the class tree's cxp_limit, 500 without one); script 591, lines 8048–8066 (the earlier cxp_limit in the same class, from the <classup maxmastery> notetag, which the later one replaces); script 438, lines 588–609 (current_cxp is @cxp[class_id]; current_cxp_max; cxp_maxed); script 438, lines 1122–1131 (gain_cxp: no cap, the bar can overfill); script 279, line 904 (titan: cxp_limit 0); script 279, line 920 (titan2: cxp_limit 0); script 279, line 1058 (queenofdragons: cxp_limit 0); script 279, line 1149 (captain_f: cxp_limit 0, the first of the story heroes' classes (to avatarofdonar_m, L1438)); script 279, line 1455 (risenspearman: cxp_limit 0, the first of the risen (to risenarchmage, L1543)); script 438, lines 624–627 (current_cxp_rate: 1.0 when the limit is 0). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit can change to a class its current class's tree entry lists as a classup (Fighter's: Soldier, Spearman, Cavalier, Scout, Skirmisher, Rogue, Archer, Apprentice and Crossbowman) once its current class's bar is full. It must also meet the new class's stat minimums, unless it has held that class before, and the party must hold the resources the new class carries beyond the old one; the change spends them, and changing back down refunds them with no bar needed. Level, experience and the stats built by level-ups carry over unchanged; Armor, Morale and Weapon power switch to the new class's table at the same level.
In the game's files (Symphony of War 1.10.23 (Steam)): script 694, lines 266–318 (Scene_UnitClassChange: pay_class_change_cost; classchange_enabled: resources, cxp_maxed, prior class, param_req); script 695, lines 3–20 (resource_difference: old class's carried resources minus the new one's); script 591, lines 8210–8215 (unit_meets_classup_param_req); script 279, line 125 (ClassTrees: Fighter's classup list); script 591, lines 8118–8121 (RPG::Class#classups: the tree's classup list less the party's locked classes); script 591, lines 5581–5584 (Game_Soldier#classup_ids: none unless classup_possible?); script 591, lines 5646–5658 (class_change_ids: costumes, classups and the last class down); script 697, lines 38–46 (Window_ClassSelect: the list offered is class_change_ids); script 438, lines 329–358 (change_class_sow: sets the class id; level, experience and param arrays untouched); script 591, lines 6098–6110 (param_base: exempt params from char_class at the current level). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Class tables rise almost evenly from level 1 to 99, and a whole line of classes can share one. Fighter, Soldier, Spearman, Zweihander, Champion, Samurai, Sentinel, Cavalier and Knight all have the same table: HP 50 to 400 (3 or 4 a level), Strength 20 to 60, Armor 20 to 120, Magic 10 to 30, Skill 15 to 55, Weapon power 20 to 150, Morale 100 and Leadership 30 throughout; Centurion's differs only by 1 Weapon power at level 65. Promoting along that line doesn't change what a level adds.
In the game's files (Symphony of War 1.10.23 (Steam)): Classes.rvdata2, entry 2 (Fighter: its params table); Classes.rvdata2, entry 3 (Soldier: the same table); Classes.rvdata2 (classes 2 to 7 and 9 to 11 (Fighter to Knight): the same 8 × 100 table; Centurion, 8, one value apart). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit whose class's bar is full, in a class the tree allows to be gold-plated, can be gilded with a Proof of Merit. Gilding adds 0.15 to the multiplier on its HP, Strength, Magic and Skill, so +15% where nothing else changes it, and its class counts a tier higher for class points. The bonus holds only while the bar stays full, and a gilded unit can no longer change class.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 5422–5440 (gold_plate_allowed? (not gilded, class allows it, bar full, a merit held) and gold_plate_enabled?); script 591, lines 5464–5472 (gilded? and true_gilded?); script 591, lines 6142–6147 (do_gilding: adds the :gilded tag); script 344, lines 131–132 (an item tagged goldplating calls do_gilding); script 924, lines 235–241 (calc_param_mod_gilded: GILDED_PARAM_MOD for growth params of a true-gilded unit); script 924, lines 301–305 (param_mod_sow adds it to the stat multiplier); script 257, lines 10–12 (PARAM_GILDED, PARAM_GROWTH, GILDED_PARAM_MOD 0.15); Items.rvdata2, entry 9 (Proof of Merit: goldplating tag; 'Use on a Tier 3 unit with maxed CP'); script 591, lines 5520–5525 (classup_possible?: false for a gilded unit, unless a memory unit under the allow_gold_classchange rule); script 924, line 6 ($USE_POTENTIAL_RANK_LEVEL = true); script 924, lines 81–91 (potential_rank_level: level ÷ 7, at most 7; potential_rank uses it); script 770, line 240 (Scene_ClearSaveSelectLoad: a unit loaded from a cleared save is set memory). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Symphony of War's database has 105 classes, not counting 24 empty slots and one divider row named "---UNIQUES---". Each class's tier and the classes it can upgrade to come from a class-tree table in the scripts, joined to the class by a tag in its notes; its archetype, movement type, movement speed and range on the map come from tags in its notes. The 19 classes after the divider that have no class-tree entry, among them Azure King, General and Dark God, get tier 1 and no upgrades from the game. A class with no movement tag moves as normal infantry at normal speed, and one with no range tag has a range of 0 to 1.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 8077–8096 (classtree_assoc: the note's <classtree assoc> tag, else the entry whose class_id is the class's; no entry is :nil); script 591, lines 8118–8121 (classups: the entry's classup list, none for :nil); script 591, lines 8247–8250 (classtree_tier: the entry's class_tier, 1 for :nil); script 591, lines 7837–7840 (class_archetype: <archetype x>, else :default); script 591, lines 333–337 (the moveset tags' patterns); script 591, lines 6688–6690 (a unit's note is its class's); script 591, lines 6839–6859 (parse_note_for_move: type and speed default to :normal); script 591, lines 360–361 (the combatrange and preferredrange patterns); script 591, lines 7862–7873 (RPG::Class parse_combatrange: 0 to 1 unless <combatrange min:max>); Classes.rvdata2 (the entries the table spec reads); script 279, lines 121–1552 (the lines the table spec reads); script 591, line 8078 (the lines the table spec reads); script 591, line 7838 (the lines the table spec reads); script 591, line 333 (the lines the table spec reads); script 591, line 334 (the lines the table spec reads); script 591, line 360 (the lines the table spec reads). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
The equipment a squad carries, which the scripts call artifacts, is the 89 entries of the database's armor list that have an item-type tag: 31 weapons, 20 armors and 38 accessories. For each the table gives its rarity tag (17 common, 21 uncommon, 11 rare, 19 epic and 21 legendary), its capacity cost, its flat stats, and the effect lines the shop shows for it, from a table in the scripts (blank for 19 that have none). An artifact adds its stats to every unit in the squad that carries it, after the units' own rates. The capacity cost is the tag's value: New Game+'s artifact capacity option multiplies a cost above 0 by 1.8 or 2.5 (and by 1.8 on Lunatic difficulty when the option holds none of its three values), rounded down, and a technology then takes 1 off a cost that isn't 0.
In the game's files (Symphony of War 1.10.23 (Steam)): script 211, lines 445–471 (parse_itemgroups: <itemgroup>, <itemrarity>, <itemtrait>, <itemtype>; rarity :none and type nil without a tag); script 211, lines 385–393 (itemgroups and item_rarity); script 211, lines 431–439 (item_type); script 591, lines 7494–7501 (capacitycost: the tag (0 without one), plus the rule's additive change and times its multiplier for a cost above 0, then 1 off with the artifact_cost_down technology); script 297, lines 280–297 (artifact_cost_mod is 0; artifact_cost_multiplier is 1.0, 1.8 or 2.5 by the ng_artifactcapacity option, and 1.8 on Lunatic otherwise); script 924, lines 750–754 (an equip item's params_base is its editor stats); script 924, lines 61–65 (squad_param_add: the sum of each equipped artifact's params_base for the stat); script 591, lines 7381–7384 (a unit's equipped artifacts are its squad's); script 924, lines 37–59 (param: squad_param_add comes after param_mod_sow and the state and buff rates); script 211, lines 492–504 (sdesc: an armor's lines are ARMORS_SDESC[id]); script 731, line 394 (the shop's item window reads sdesc); Armors.rvdata2 (the entries the table spec reads); script 211, line 466 (the lines the table spec reads); script 211, line 458 (the lines the table spec reads); script 591, line 7495 (the lines the table spec reads); script 291, lines 28–357 (the lines the table spec reads). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit doesn't weigh its skills. For each action it takes the skills its class gives it, swaps each for the skill's upgrade where its team has the upgrade's tech, keeps those whose range covers the distance between the two squads, drops those a restriction rules out (skill-restrictions), and uses the one with the highest priority. A skill in the high-ground group reaches one further when the unit stands on high ground, and techs can add range to a skill's groups. The tactics' weights choose only the target (target-value).
In the game's files (Symphony of War 1.10.23 (Steam)): script 456, lines 398–404 (ActionManagerSoW: a battler's action is make_actions_sow); script 462, lines 283–294 (make_actions_sow: the first of valid_skills_sow); script 462, lines 312–318 (valid_skills_sow: usable_skills, restrictions removed, sorted by priority, highest first); script 460, lines 27–30 (Game_Soldier usable_skills: skills_by_range at the battle's range); script 591, lines 7348–7362 (all_skills (the added skills), get_skill_object (the tech swap), skills_by_range); script 591, lines 7364–7366 (feature_objects: states, the class and the squad's artifacts); script 421, lines 30–32 (features_set: the data ids of the Add Skill features); script 591, lines 8486–8492 (combat_range_max: the tag's maximum plus the tech and high-ground bonuses); script 591, lines 8522–8538 (attackgroup_tech_range_bonus and highground_range_bonus); script 595, lines 3202–3206 (init_battle: the battle's range is the squads' distance on the map). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A restriction drops a skill for the action. turn1 and turn2 keep it to the battle's first or second round; offenseonly to the squad that attacked and defenseonly to the squad attacked; cavcharge to a cavalry unit whose squad is charging; useammo to a unit with ammunition of the skill's type left (a free action needs none); norain bars it in rain, unless indoors or the team has the weatherproof firearms tech; ambush bars it always. Three restrictions hold heals back at range 0 or 1 (from range 2 they don't apply): clericheal always heals when defending, and when attacking once a unit has lost HP; qodheal heals when defending, and when attacking once the squad's average HP is at most 90%; valkheal heals once the weakest unit is below 75%, below 25% under the aggressive tactic and 99% under cautious, and under the leader tactic only a unit below 25% while the enemy leader lives (below 75% once it's dead). Besides these, a stealth skill is barred when the enemy leader has Spencer's Spectacles, and a melee skill when one squad stands on a wall and the other doesn't, with neither on a ramp, unless the unit has the toolkit trait.
In the game's files (Symphony of War 1.10.23 (Steam)): script 462, lines 1105–1126 (make_skill_restrictions: <skillrestriction useammo x>, <skillrestriction x>, <skillpriority n>, default priority 10); script 462, lines 321–334 (qodheal and clericheal: thresholds 1.0 defending, 0.9 and 0.999 attacking; skipped from range 2); script 462, lines 335–353 (valkheal: by the squad's tactic); script 462, lines 354–379 (offenseonly, defenseonly, norain, turn1, turn2, cavcharge, ambush, useammo); script 462, lines 382–399 (stealth against Spencer's spectacles; the wall check on melee; weatherproof, a firearms tech). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A Samurai at range 1 fights with its spear, not its 1-range arrow: both reach range 1, and the spear's priority of 100 beats the arrow's 10. The arrow flies only when the spear is barred, which at range 1 means one squad on a wall and the other not, with neither on a ramp. From range 2 the Samurai shoots its arc arrows.
In the game's files (Symphony of War 1.10.23 (Steam)): Classes.rvdata2, entry 7 (Samurai: Add Skill 41, 64 and 15); Skills.rvdata2, entry 15 (samurai spear: <combatrange 0:1>, <skillpriority 100>, melee); Skills.rvdata2, entry 64 (samurai arrow 1 range: <combatrange 1:1>, <skillprioirty 10>); Skills.rvdata2, entry 41 (Samurai Arc Arrow Attack: <combatrange 2:2>, high ground); script 462, lines 387–392 (the wall check on melee); Classes.rvdata2, entry 17 (Ranger: <ammotype xbow 1>; Add Skill 85, 14, 16); Classes.rvdata2, entry 73 (Mercenary: <ammotype xbow 1>; Add Skill 85, 16); Skills.rvdata2, entry 16 (ranger bolt: <skillrestriction useammo xbow>, <skillpriority 100>, <combatrange 1:1>); script 462, lines 372–378 (useammo: barred with no ammunition left, unless on a free action); script 462, lines 907–922 (reset_ammo, max_ammo, current_ammo); script 902, lines 150–153 (on_battle_start resets the ammunition). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
For each enemy a skill would hit, the AI predicts the damage and scores the hit with its tactic's weights: the damage weight times the damage / 100; for a killing blow, less the wasted-damage weight times the damage past the kill / 100. Unless the target was already killed earlier in the volley, the score is then multiplied by the kill or no-kill weight. To it are added the same-column weight times (1 − the columns between them / 5), the high-HP weight times the share of HP the target has left, the low-HP weight times the share it has lost, the shields-leader weight if it shields its leader, the leader weight if it's the leader, and 10 if it is a claw of Zanatus. A target already killed is multiplied by the already-dead weight, and no score is below 0.0001. A heal scores an ally by the share of HP it's missing, or 0 if the ally is risen; a shield scores every ally 1.
In the game's files (Symphony of War 1.10.23 (Steam)): script 902, lines 212–226 (evaluate_item_with_target_sow, as the optimization fixes redefine it: the damage predicted on the target); script 902, lines 227–246 (HP left before this hit, the kill tests, damage and wasted damage / 100); script 902, lines 249–265 (kill weights, distance, HP, leader, zclaw, overkill, the floor); script 902, lines 266–276 (shield 1; a risen ally 0; a heal's missing HP share). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A squad's tactic sets the weights its units use to pick targets. A player squad always has Normal; Force Surrender joins from the third mission unless its leader has the Hand of Zanatus trait, Target Leader comes with the first battle-tactics tech, and Aggressive and Cautious with the second. A player squad defending with Force Surrender fights as Normal. Enemy squads use the enemy weights and neutral squads the neutral ones: both count a hit's damage only when it kills (their no-kill weight is 0) and weigh the same column four times as much as the player's tactics, and enemies also favor targets with more HP left.
In the game's files (Symphony of War 1.10.23 (Steam)): script 285, lines 212–223 (tactics_symb: normal; merciful from mission 3 without handofzanatus; leader with battletactics1; aggressive and cautious with battletactics2); script 285, lines 231–251 (equipped_tactic: merciful read as normal for a defending player squad; the defaults by team); script 285, lines 257–259 (a squad's tactic_data); script 285, lines 283–286 (a unit's tactic_data is its squad's); script 285, lines 13–204 (the lines the table spec reads). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A skill's score for a target is the sum of its scores for every unit the skill's area would hit from there; under Target Leader, when the enemy leader is a candidate, only the leader's counts, and an arbalest counts only the first. A heal goes to the ally with the highest score above 0. An attack's score gets a random bonus of up to the tactic's random weight (0.15 in every tactic) if it's above 0, then 0.1 more. Then it is multiplied by the target's block factor and lowered by its row / 100, except for a straight shot, a skill that ignores blocking, a unit with the guile trait, or a pouncing unit striking down from high ground; a reverse-block skill multiplies by the reversed factor and keeps the row. A target with the protect-me trait scores −0.1 instead. A straight shot then adds the best score times each target's straight-shot block factor to every score above 0. Finally each score v is turned into a random number, rand^(1/v) below 1 and 1 + rand^(1/v) from 1 up (a score below 0 stays below 0), and the largest wins: a higher score wins more often, not always.
In the game's files (Symphony of War 1.10.23 (Steam)): script 461, lines 366–382 (the sum over the area; Target Leader counts the leader only; arbalest the first); script 461, lines 386–406 (heals kept as scored; random bonus, 0.1, protectme, the block branches); script 461, lines 425–433 (a straight shot's added block term); script 461, lines 449–467 (the roll: heal by the highest; sniper by the highest; else rand ** (1 / v)); script 264, line 42 (TARGET_VALUE_NORMAL_MOD = 0.1). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Cannon shots and dragon breaths aim at a random candidate, unless the attacker's squad leader has the bombardment specialist trait, when they're scored like other attacks (target-pick). An arc shot's target doesn't matter: it looses 3 arrows, 4 for an archer once the team has the bow upgrade tech, and three times as many for an arbalest, each at a random living enemy (under Target Leader, while the leader lives, a quarter of the arrows go to it and the rest are drawn from all living enemies, the leader included, so each arrow hits it with chance 1/4 + 3/4 × 1/N among N living enemies), each dealing 33% of a hit. The arc shots' random preference and an arbalest's aim at the leader under Target Leader set a target first, but the scoring runs after them and its draw replaces it.
In the game's files (Symphony of War 1.10.23 (Steam)): script 461, lines 334–346 (random_pref: a random candidate (the leader under Target Leader); no return); script 461, lines 347–356 (arbalest under Target Leader: the leader; no return); script 461, lines 357–365 (random: a random candidate, then return; bombardmentspecialist skips both random branches); script 461, lines 468–473 (the draw sets the main target); script 461, lines 116–133 (get_arrowhail_targets_sow: 3 arrows, +1, ×3, each a random living enemy at 33); script 461, lines 311–313 (a target's splash power is the share of the hit it takes); script 349, lines 67–73 (ranged_arrowhail: aoe arrowhail, target_preference random_pref); script 349, lines 304–320 (cannon: target_preference random); script 349, lines 348–360 (dragon1: target_preference random). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit's traits are those it has learned (from a tome, or a recruit's rolled trait), its personal traits (from its template or the story), the traits of its class (from the class's notes, plus Hit and Run for light cavalry and Guerilla for other light units), and the traits of its squad's artifacts. A unit outside the player's army also has its division's traits, and an enemy, under a New Game+ option, its class tree's specialist trait. A class change swaps the class traits; nothing adds a trait at a level-up.
In the game's files (Symphony of War 1.10.23 (Steam)): script 924, lines 633–645 (all_traits (the live definition): basic traits, squad traits and division traits); script 591, lines 5719–5740 (innate_traits: the class's and actor's, plus the light-unit traits); script 591, lines 7948–7955 (RPG::Class parse_innate_traits: <trait add innate x>); script 591, lines 7174–7177 (Game_Soldier squad_traits: the squad's); script 924, lines 699–701 (Game_Squad squad_traits: its artifacts' traits); script 591, lines 7084–7098 (specialist_traits (enemies, under the option) and division_traits (not the player's team)); script 283, lines 1941–2160 (AI_DIVISIONS: Desert Warrior for the chapter 23 to 25 divisions); script 283, lines 2782–2798 (AI_DIVISIONS: Desert Warrior for the gold divisions); script 283, lines 3297–3401 (AI_DIVISIONS: Desert Warrior for a Legends mission's divisions); script 274, lines 797–805 (Story Triggers: Immortal Spirit for the protagonist); script 274, lines 844–846 (Story Triggers: Mentor for Barnabas); script 274, lines 1406–1425 (Story Triggers: Monarch, Liberator, Mirage, Donar's Presence, Finish the Millenium War!); script 591, lines 7100–7110 (display_traits: what the unit's trait list shows). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit made from a template rolls one random trait with the template's chance, drawn from a pool by weight: each trait's chance is its weight over the pool's total (traits). Mercenaries roll with chance 1 unless their template sets another, so the shop's ordinary recruits, dragons and big cats always roll one; the conscripts, the named mercenaries and the one-class mercenaries set 0, and story and enemy templates default to 0. On a recruit that is neither a story character nor unique, the first personal trait then moves into a learned slot, so a tome can replace a rolled trait.
In the game's files (Symphony of War 1.10.23 (Steam)): script 217, lines 52–58 (ROLLABLE_TRAITS: the pool and its weights); script 217, lines 101–109 (the Legends DLC's seven additions at weight 6); script 740, lines 170–177 (get_rolled_trait: the key with the largest rand ** (1/weight)); script 740, lines 297–304 (new_unit (mercenaries): template traits, the roll, and the learned-slot fix); script 207, line 83 (MERC_TEMPLATE_DEFAULTS: roll chance 1.0); script 207, line 831 (the tier templates' own chance lines are commented out); script 207, line 675 (the fighter conscript: 0.0); script 207, lines 1290–1295 (the shop's base slot: tier 2 and tier 3 templates); script 203, line 32 (UNIT_TEMPLATE_DEFAULTS: roll chance 0.0); script 205, line 62 (PLAYER_UNIT_TEMPLATE_DEFAULTS: roll chance 0.0); script 280, line 11 (Automercs: every one-class mercenary 0); script 591, lines 2295–2301 (other units: the template's chance, else NON_TEMPLATE_ROLL_TRAIT_CHANCE); script 203, line 10 (NON_TEMPLATE_ROLL_TRAIT_CHANCE = 0.0); script 591, lines 7193–7202 (fix_learned_traits: the first personal trait into the learned list). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A unit has two learned-trait slots, or one if it is a story character or a unique mercenary; the protagonist has two. Enemy units and allied neutral units have no empty ones. A tome works on a unit that doesn't already have its trait, learned, personal or from its class, and Beacon can't go on a risen unit. It fills the first slot when all are empty, replaces the trait in a one-slot unit's slot, and otherwise goes into the slot the player picks, replacing what is there. Personal and class traits can't be replaced.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 7205–7221 (learn_trait_slots and empty_trait_slots); script 591, lines 118–122 (team numbers: 1 enemy, 2 neutral player-aligned); script 591, lines 5491–5495 (trait_replace_allowed?: not one it has; no Beacon on a risen unit); script 924, lines 647–649 (tome_trait_check: learned, personal and innate traits); script 360, line 1412 (item_test: a tome is usable where the trait is allowed); script 700, lines 108–124 (check_trait_selection: which slot); script 344, lines 135–138 (the trait written into that slot). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
A trait marked leader-only counts only for the unit that leads its squad, or one being previewed as leader; on any other unit the game ignores it. It acts for the squad where its effect's code asks the squad's leader: the captain traits take 2 off the capacity cost of each unit of their class group, Finish the Millenium War! adds 20 to the squad's capacity, and Hand of Zanatus and the specialists are read from the leader. Nothing copies a trait to the rest of the squad.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 7131–7142 (is_leader? and active_trait_objects: leader-only traits dropped off the leader); script 902, lines 183–192 (active_traits (the live definition): the same, cached); script 591, lines 3071–3074 (Game_Squad leader_trait_objects: the leader's leader-only traits); script 591, lines 5365–5379 (capacity_trait_mod: the leader's class-group reductions on each unit); script 217, line 507 (Archer Captain: archers 2); script 591, lines 3076–3081 (squad_capacity_max: +20 for lightfury); script 453, line 76 (perform_surrender: Hand of Zanatus from the opposing leader); script 692, lines 93–94 (the trait list marks a leader-only trait (Leader)); script 450, line 261 (morale damage doubled when the attacker has Hand of Zanatus); script 285, line 217 (the merciful tactic offered unless the leader has Hand of Zanatus). We don't reproduce the code or data.
- ^ abCodeSymphony of War 1.10.23 (Steam)
How we know
In battles the game resolves on the map, enemies still surrender to a squad led by a unit with Hand of Zanatus, though the trait says they won't. The test that should stop it looks in a list of the squad's traits that never matches its leader's: the list holds the leader's leader-only traits as their setup entries, not their ids, so a test for an id finds only traits from the squad's artifacts. Five tests use the list, and only that surrender test runs. In the battle scene each enemy's surrender also checks the opposing leader directly and becomes a retreat.
In the game's files (Symphony of War 1.10.23 (Steam)): script 591, lines 3064–3074 (active_squad_traits: the leader's trait entries (.values) as keys); script 217, line 134 (TRAITS: a hash whose missing keys get a new empty entry); script 455, lines 127–138 (surrender_possible?: tests the player's squad for handofzanatus (L130, L134)); script 453, lines 72–93 (the battle scene's perform_surrender: the leader checked directly; the squad still marked); script 549, lines 470–486 (the map battles' perform_surrender: only surrender_possible? and nosurrender); script 456, lines 517–518 (check_forced_surrender_old: Silver-Tongued, called by nothing); script 591, lines 3191–3201 (free_archer, free_soldier, free_knight); script 591, lines 3120–3122 (their only callers, commented out); script 217, lines 1811–1816 (Hand of Zanatus: enemies will not surrender; leader only); script 205, line 476 (dkzelosplayer: Hand of Zanatus as a personal trait). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Twelve skills in Symphony of War's database reach no unit: samurai arrow, Guard, Cannon 3 range, the three jammed-gun skills (JAMMED, Cannon 2 jammed, and Cannon 3 jammed), Beatrix range 2+, the three Nephilim attacks (Beatrix NEPH, Zelos NEPH, and Diana NEPH), Map Revive, and Beatrix 2. No class gives them, no state or artifact adds a skill, no tech upgrades another skill into one of them, and no class's map heal or Zanatus's map attacks name them; the five Nephilim abilities name no skill at all.
In the game's files (Symphony of War 1.10.23 (Steam)): Skills.rvdata2 (the twelve entries: ids 13, 21, 22, 44, 46, 50 to 52, 54, 55, 62 and 63); Classes.rvdata2 (no class's Add Skill feature or map heal names them (class-skills)); script 591, lines 7348–7350 (all_skills: a unit's battle skills are its added skills); script 591, lines 7364–7366 (feature_objects: states, the class and the squad's artifacts); States.rvdata2 (no state has an Add Skill feature); Armors.rvdata2 (no artifact has an Add Skill feature); script 591, lines 5697–5702 (the map heal: the class's mapheal_skill_id); script 591, lines 8618–8638 (get_swapped_skill_id: an upgrade is the id in the skill's <skillswapwithtech> tag); script 287, lines 45–48 (the Zanatus map attacks' skill ids: 72, 72, 71, 73); script 270, line 51 (Cyrene's ability: skill_id nil); script 270, line 90 (Landis's: nil); script 270, line 111 (Galzus's: nil); script 270, line 129 (Ishtar's: nil); script 270, line 156 (Donar's: nil). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Several tags in the skills' notes change nothing in play. 92 skills carry a use condition and 4 a per-turn use limit, both from a skill-conditions design no running script reads, and 19 carry an ammunition count nothing reads, a unit's ammunition coming from its class; these skills behave as if untagged. Three skills misspell their priority tag, so they keep the default priority of 10.
In the game's files (Symphony of War 1.10.23 (Steam)): script 258, lines 27–47 (script 258, Skill Conditions_Tactics: the <usecondition> and <usepriority> tags as documented, a weighted choice of 10% per priority point); script 258, lines 58–60 (<turn use limit x type>); script 258, lines 76–86 (CONDITION_SET); script 266, lines 83–104 (Volley Segements: <ammotype> on the class replaces the old <ammo n> tag); script 462, lines 1078–1086 (make_ammotypes: a unit's ammunition is its class's <ammotype type n>); script 462, line 1120 (the priority pattern, <skillpriority n>); Skills.rvdata2 (<usecondition none> on 92 skills, <turn use limit 1 firearms> on 4, <ammo n> on 19; <skillprioirty> on Cannon 3 range (22), Cannon 2 range (47) and samurai arrow 1 range (64)). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Two of the tactics' settings do nothing. The AI raises a target's threat rate to the tactic's threat weight and never uses the result, so the threat weight (1, or 2 for enemy and neutral squads) changes nothing; and no running script reads the tactics' consider-max-HP and absolute-calculation flags. The Ranger's bolt names a sniper targeting preference, which nothing reads, and the AI's sniper branches look for a sniper group, which no skill has: the bolt's group is snipe, which only the damage code reads, softening cover against its straight shot to the square root.
In the game's files (Symphony of War 1.10.23 (Steam)): script 461, lines 387–388 (effective_tgr, assigned and never read); script 461, lines 453–456 (the sniper group's roll, by the highest); script 349, lines 60–65 (ranged_sniper: target_preference sniper); script 285, lines 46–56 (the flags consider_mhp and absolute_calc, as documented); script 360, lines 394–401 (calc_cover_mod: a straight shot's cover, square-rooted for snipe). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Nine of the ten deprecated traits do nothing in play: Press the Attack, Clarity, Vigor, Ambush, Geomancer, Stoic, Formations, Scout, and Relentless. No code reads any of them, and nothing grants eight; Stoic reaches a squad only through the Genbu Shell Fragment artifact, and its "cannot be moved by any enemy action" has no code.
In the game's files (Symphony of War 1.10.23 (Steam)): script 218, lines 1–6 (DEPRECATED TRAITS: 'all these traits have been removed or repurposed to items'); script 218, lines 4–264 (the ten entries (deprecated-traits)); script 5, lines 191–198 (the name marks that blank a script; 218's name has none, so it runs); Armors.rvdata2 (Genbu Shell Fragment's note: <equip trait stoic>). We don't reproduce the code or data.
- ^CodeSymphony of War 1.10.23 (Steam)
How we know
Most of a trait entry's settings do nothing in play: no running script reads the innate, natural, learnable, removable, hidden, squad-share, category, tags, or effect settings. The arcane settings go unread because the code writes the arcane traits' rates in by trait, and the rollable flags fill a list nothing reads, since the recruit roll uses a separate pool.
In the game's files (Symphony of War 1.10.23 (Steam)): script 217, lines 122–128 (TRAIT_PROPERTIES: the setup's list of settings (itself unread)); script 924, lines 152–169 (arcane_param (the live definition): rates by trait id); script 217, line 573 (Arcane Vigor's setting, the rate the code also uses); script 740, lines 7–16 (ROLL_TRAITS from rollable and rollable_weight); script 740, lines 170–171 (the roll clones ROLLABLE_TRAITS instead). We don't reproduce the code or data.
Sources
Code
- n.d. “Symphony of War: The Nephilim Saga 1.10.23 (Steam, Windows), Game.rgss3a.” Version 1.10.23. original · licence, all uses