Cite as
Symphony of War 1.10.23 (Steam)
Original
https://steamdb.info/depot/1488201/
Version
1.10.23
Accessed
2026-11-17
Licence
proprietary; never redistributed (docs/data-policy.md#roms)
Notes
The game's RPG Maker VX Ace archive, as Steam installed it: app 1488200, depot 1488201, manifest 5724874370166225891, build 17854598 (the install's appmanifest_1488200.acf). Game.ini titles it "Symphony of War: The Nephilim Saga 1.10.23", and the VERSION CONTROL script sets GAME_VERSION to "Version 1.10.23". The game's scripts are the 943 entries of Data/Scripts.rvdata2; a locator scripts/N#La-Lb is entry N (from 0) and its lines (docs/verification.md, Installed games). The url is the depot's page on SteamDB, a pointer to the manifest, not a source. The install has no patches/ folder (script 5 would load one over the archive's scripts), and its loose Data/ holds only Translations/, so the archive is the whole game.

Cited on

Claims (82)

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.scripts/438 L57–60scripts/438 L202scripts/438 L670–673scripts/438 L677–702scripts/269 L71scripts/591 L4309–4333scripts/591 L5120–5128Code
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.scripts/438 L227–248scripts/438 L276–277scripts/438 L1269–1277scripts/438 L1504–1517Code
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.scripts/438 L151scripts/438 L164scripts/438 L629–660scripts/438 L703–718scripts/438 L1279–1291scripts/438 L1303–1312Code
Experience is multiplied by 1.5, 2 and 2.5 in the Silver, Gold and Platinum Arenas, and by 1 in the Bronze Arena and every other mission. New Game+'s Inexperienced option (off by default) replaces that multiplier with 0.25 and counts every enemy's level at 85%, rounded, for the level gap; an experience codex then gives 25 experience instead of a level.scripts/297 L534–548scripts/297 L504–506scripts/298 L123scripts/438 L1512–1517scripts/344 L126–128scripts/187 L1992scripts/187 L2036scripts/187 L2080scripts/187 L2124Code
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.scripts/591 L4309–4333Code
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).scripts/257 L3–11scripts/257 L42–83scripts/257 L104–138scripts/257 L136scripts/907 L28–41scripts/591 L6098–6110scripts/591 L5458–5462Code
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.scripts/257 L42–83scripts/257 L104–138scripts/907 L28scripts/438 L1303–1312scripts/907 L140–159scripts/740 L239scripts/907 L173scripts/591 L5458–5462Code
A unit created at level N gets its stats in one calculation. It starts from its class's level-1 value with an opening roll (HP up 0 to 5% and 0 to 10 points; Strength, Magic and Skill up 0 to 5% and 0 to 3), then adds the class's whole rise from level 1 to N, plus that rise times one roll: the average of four random numbers, times 10% for HP or 5% for the others, so it lands near the middle more often than a single roll would. Story characters and unique mercenaries take every roll at its middle.scripts/257 L42–102scripts/907 L156–218scripts/591 L5458–5462scripts/740 L239Code
A unit's affinity tilts its growth each level: earth adds 0.9 HP and costs 0.15 Skill; water adds 0.45 HP and 0.15 Magic and costs 0.075 Strength and Skill; lightning adds 0.15 Strength and Skill and costs 0.45 HP; fire adds 0.15 Strength and costs 0.15 Magic; dark adds 0.3 Strength and Magic and costs 0.45 HP; light changes nothing. A new unit starts with ten levels' worth.scripts/247 L136–167scripts/257 L97scripts/257 L124–133scripts/907 L111–118Code
On Ludicrous, the hardest of the four difficulties, every unit's growth changes: what a level adds to Strength and Magic is multiplied by 0.8, and Armor's rise above its level-1 value by 1.1. Cadet, Captain and Warlord leave growth alone.scripts/268 L774–789scripts/257 L136scripts/907 L213scripts/591 L6098–6110scripts/814 L219–235scripts/812 L323scripts/154 L86–89Code
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.Data/Classes.rvdata2[2]Data/Classes.rvdata2[3]Data/Classes.rvdata2Code
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.scripts/438 L65–75scripts/438 L375–391scripts/438 L1044–1084scripts/591 L6039–6062scripts/297 L436–441scripts/297 L551–565Code
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.scripts/279 L113–119scripts/591 L8232–8235scripts/591 L8048–8066scripts/438 L588–609scripts/438 L1122–1131scripts/279 L904scripts/279 L920scripts/279 L1058scripts/279 L1149scripts/279 L1455scripts/438 L624–627Code
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.scripts/694 L266–318scripts/695 L3–20scripts/591 L8210–8215scripts/279 L125scripts/591 L8118–8121scripts/591 L5581–5584scripts/591 L5646–5658scripts/697 L38–46scripts/438 L329–358scripts/591 L6098–6110Code
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.scripts/591 L5422–5440scripts/591 L5464–5472scripts/591 L6142–6147scripts/344 L131–132scripts/924 L235–241scripts/924 L301–305scripts/257 L10–12Data/Items.rvdata2[9]scripts/591 L5520–5525scripts/924 L6scripts/924 L81–91scripts/770 L240Code
Leadership rises with leadership experience, not levels. A point costs 10 while Leadership is 20 or less, 30 up to 30, 50 up to 40, 75 up to 50 and 100 up to 60, then 115 plus 3 per point over 60 up to 75, 160 plus 5 per point over 75 up to 90, and 250 after that. A squad's leader earns 12 for a win or 6 for a loss, 0.5 per enemy killed and 5 per surrender (7.5 under a Benevolent leader); the others 3 win or lose, 0.25 per kill and 5 per surrender. A unit more than 2 levels above the highest-level enemy loses a quarter of that per extra level, to no less than 10%, unless it has the Mentor trait. With the mentorship technology, a member also gains its leader's Leadership minus its own minus 10, when that's above 0.scripts/438 L462–482scripts/438 L544–553scripts/438 L101–123scripts/438 L915–1001scripts/438 L939scripts/438 L966–971scripts/438 L972scripts/438 L803–813scripts/247 L107–119Code
Symphony of War's database has 97 named skills; 3 of its 100 slots are empty. 72 are on a class, which gives them to its units in battle; 6 more replace a bow or crossbow skill once the team has the tech that upgrades it; 4 are classes' heals on the map; and 3 are Zanatus's attacks on the map. The other 12 reach no unit (unreached-skills). For each skill the table gives what the battle scripts read: the damage formula it names and the share of it dealt, its range in battle, how many times it strikes, the targeting it names, its element, its priority, the ammunition it spends, its restrictions and groups, the skill it becomes with an upgrade tech, whether it ignores the target's cover, its row, or (in the AI's choice of target) its blockers, whether that choice counts the units behind the target as its blockers instead, whether a miss becomes a glancing hit, and whether it always hits. A skill with no range tag reaches 0 to 1, one with no priority tag has priority 10, and one with no damage tag deals 100%.scripts/360 L1614–1620scripts/360 L1746–1748scripts/360 L577–580scripts/591 L8507–8520scripts/591 L8640–8641scripts/349 L2342–2350scripts/462 L1110–1126scripts/591 L8549–8557scripts/591 L8618–8638scripts/042 L365–371scripts/591 L5697–5702scripts/591 L7942–7943scripts/287 L45–48scripts/595 L1060–1073Data/Skills.rvdata2scripts/360 L1747scripts/591 L360scripts/349 L2343scripts/462 L1120scripts/462 L1115scripts/462 L1118scripts/591 L8552scripts/591 L8634scripts/311 L12scripts/311 L6–13scripts/360 L1762–1780scripts/360 L394–396scripts/360 L414–415scripts/461 L385–405scripts/462 L97scripts/360 L1380–1382scripts/360 L1131scripts/360 L1147scripts/360 L1287–1293scripts/341 L74–76scripts/349 L1662–1667Code
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.Data/Skills.rvdata2Data/Classes.rvdata2scripts/591 L7348–7350scripts/591 L7364–7366Data/States.rvdata2Data/Armors.rvdata2scripts/591 L5697–5702scripts/591 L8618–8638scripts/287 L45–48scripts/270 L51scripts/270 L90scripts/270 L111scripts/270 L129scripts/270 L156Code
A class gives its units their battle skills through Add Skill features in the database. 103 of the 105 classes have one to three; the Girl and Boy classes have none. 20 classes also name a heal they can use on the map. A class's units fight with these and nothing else: the scripts read a unit's battle skills only from its class, its states and its squad's artifacts, and no state or artifact adds one.scripts/591 L7348–7350scripts/041 L359–361scripts/421 L30–32scripts/591 L7364–7366scripts/591 L5697–5702Data/States.rvdata2Data/Armors.rvdata2Data/Classes.rvdata2scripts/278 L58Code
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.scripts/285 L212–223scripts/285 L231–251scripts/285 L257–259scripts/285 L283–286scripts/285 L13–204Code
The database names 13 elements, numbered 1 to 13; entry 0 has no name. A skill's damage names its element by this number (skills).Data/System.rvdata2Code
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).scripts/456 L398–404scripts/462 L283–294scripts/462 L312–318scripts/460 L27–30scripts/591 L7348–7362scripts/591 L7364–7366scripts/421 L30–32scripts/591 L8486–8492scripts/591 L8522–8538scripts/595 L3202–3206Code
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.scripts/462 L1105–1126scripts/462 L321–334scripts/462 L335–353scripts/462 L354–379scripts/462 L382–399Code
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.scripts/258 L27–47scripts/258 L58–60scripts/258 L76–86scripts/266 L83–104scripts/462 L1078–1086scripts/462 L1120Data/Skills.rvdata2Code
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.scripts/902 L212–226scripts/902 L227–246scripts/902 L249–265scripts/902 L266–276Code
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.scripts/461 L366–382scripts/461 L386–406scripts/461 L425–433scripts/461 L449–467scripts/264 L42Code
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.scripts/461 L334–346scripts/461 L347–356scripts/461 L357–365scripts/461 L468–473scripts/461 L116–133scripts/461 L311–313scripts/349 L67–73scripts/349 L304–320scripts/349 L348–360Code
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.scripts/461 L387–388scripts/461 L453–456scripts/349 L60–65scripts/285 L46–56scripts/360 L394–401Code
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.Data/Classes.rvdata2[7]Data/Skills.rvdata2[15]Data/Skills.rvdata2[64]Data/Skills.rvdata2[41]scripts/462 L387–392Data/Classes.rvdata2[17]Data/Classes.rvdata2[73]Data/Skills.rvdata2[16]scripts/462 L372–378scripts/462 L907–922scripts/902 L150–153Code
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.scripts/341 L66–76scripts/591 L4269–4295scripts/349 L1662–1667scripts/264 L13–17scripts/264 L60–63Data/Classes.rvdata2Code
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.scripts/591 L3076–3086scripts/591 L5416–5420scripts/268 L26–33scripts/591 L2890–2908scripts/217 L1857–1862scripts/591 L3088–3102scripts/252 L245–249Code
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.scripts/591 L5289–5316scripts/591 L5326–5363scripts/591 L5365–5389scripts/591 L3108–3133scripts/217 L504–507scripts/217 L519–522scripts/217 L534–536scripts/217 L1774–1776scripts/217 L2060–2068Data/Classes.rvdata2Code
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.scripts/591 L3148–3172scripts/297 L78–87scripts/298 L144scripts/298 L247–248scripts/754 L264Code
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.scripts/591 L5276–5280scripts/591 L8264–8267scripts/152 L49–62scripts/279 L961scripts/279 L978scripts/635 L279–280scripts/606 L27–28scripts/591 L3071–3074scripts/591 L2774–2777Code
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.scripts/461 L391–406scripts/461 L457–466scripts/462 L66–117scripts/462 L168–173scripts/462 L36–44scripts/264 L52–84scripts/264 L107–110scripts/360 L1766–1776Data/Skills.rvdata2Data/Classes.rvdata2Code
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.scripts/360 L394–410scripts/358 L328scripts/360 L321–326scripts/264 L26–30Data/Skills.rvdata2Code
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.scripts/462 L184–227scripts/462 L25–33scripts/264 L107–108Data/Classes.rvdata2scripts/360 L397–402Data/Skills.rvdata2Code
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.scripts/456 L59–82scripts/456 L88–169scripts/456 L398–409scripts/456 L704–710scripts/266 L119–132scripts/591 L5199–5210scripts/591 L5251–5257scripts/457 L55–61scripts/458 L70–77scripts/458 L116–122scripts/591 L2784–2799Code
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.scripts/456 L608–631scripts/456 L70–82scripts/265 L11–13scripts/265 L524–531Code
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.scripts/265 L223–238scripts/265 L267–278scripts/265 L337–374scripts/265 L394–412scripts/265 L37scripts/265 L70–81scripts/265 L524–531scripts/217 L1763–1764scripts/217 L1892scripts/217 L1788Code
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.scripts/265 L151–189scripts/265 L39–50scripts/902 L282–305scripts/591 L4522–4532scripts/573 L1851–1864Code
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.scripts/450 L257–262scripts/450 L321–335scripts/549 L316–332scripts/265 L61–65scripts/265 L578–584scripts/362 L163–165Code
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.scripts/265 L293–316scripts/297 L382–395scripts/298 L264–265scripts/754 L260scripts/360 L188–192scripts/591 L4533–4538scripts/462 L1016–1022Code
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.scripts/591 L8077–8096scripts/591 L8118–8121scripts/591 L8247–8250scripts/591 L7837–7840scripts/591 L333–337scripts/591 L6688–6690scripts/591 L6839–6859scripts/591 L360–361scripts/591 L7862–7873Data/Classes.rvdata2scripts/279 L121–1552scripts/591 L8078scripts/591 L7838scripts/591 L333scripts/591 L334scripts/591 L360Code
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_add tags, 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.scripts/257 L26–36scripts/422 L854–871scripts/191 L51–59scripts/257 L3scripts/591 L6098–6110scripts/257 L87–102scripts/907 L161–164scripts/217 L2217–2218scripts/257 L42–77scripts/924 L37–59scripts/924 L28–34scripts/924 L93–105scripts/422 L348–349scripts/422 L576–586scripts/422 L480–496scripts/424 L29scripts/591 L265scripts/591 L7880–7892scripts/924 L272–330scripts/924 L188–194Data/Classes.rvdata2scripts/422 L349scripts/591 L7883Code
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.scripts/211 L445–471scripts/211 L385–393scripts/211 L431–439scripts/591 L7494–7501scripts/297 L280–297scripts/924 L750–754scripts/924 L61–65scripts/591 L7381–7384scripts/924 L37–59scripts/211 L492–504scripts/731 L394Data/Armors.rvdata2scripts/211 L466scripts/211 L458scripts/591 L7495scripts/291 L28–357Code
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.scripts/192 L136–162scripts/590 L117–134scripts/590 L300–318scripts/590 L104–115scripts/867 L130–150Data/Tilesets.rvdata2scripts/192 L172–638scripts/192 L146–156scripts/619 L129Code
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.scripts/597 L778–809scripts/591 L3550–3561scripts/192 L138–144Code
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.scripts/597 L106–108scripts/597 L135–165scripts/591 L1018–1050scripts/591 L1116–1130scripts/591 L1215–1229Code
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.scripts/193 L66–123scripts/591 L3942–3949scripts/591 L3608–3612scripts/591 L3550–3553scripts/591 L3396–3401scripts/187 L99scripts/591 L6803–6805scripts/187 L99scripts/591 L3639–3641scripts/591 L3350–3353scripts/591 L3894–3949Code
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.scripts/591 L3894–3949scripts/591 L3760–3761scripts/193 L102–123scripts/193 L72–85scripts/591 L6839–6858scripts/591 L6788–6793scripts/591 L3396–3401scripts/591 L3550–3553scripts/591 L6819–6835Data/Classes.rvdata2Code
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.scripts/597 L804–808scripts/597 L829–850scripts/228 L235–243scripts/924 L732–746scripts/228 L986–988scripts/646 L431–434scripts/187 L58scripts/5 L193scripts/1 L2scripts/297 L516–518scripts/298 L18scripts/298 L63scripts/298 L129scripts/591 L3580–3585scripts/646 L443–448Code
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.scripts/591 L3618–3637scripts/195 L65scripts/195 L141–157scripts/297 L525–527scripts/298 L21scripts/298 L65scripts/298 L132Code
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.scripts/360 L1130–1144scripts/360 L333–340scripts/195 L141–157Code
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.scripts/360 L1040–1051scripts/360 L593–595scripts/360 L1199–1224scripts/358 L323–324scripts/358 L5scripts/360 L823–829scripts/217 L1597–1598Data/Skills.rvdata2Code
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.scripts/360 L1146–1171scripts/360 L1180–1191scripts/360 L1199–1224Data/Skills.rvdata2Code
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.scripts/591 L4079–4081scripts/591 L6696–6698scripts/591 L6716–6730scripts/591 L8486–8493scripts/591 L8533–8538scripts/360 L1033–1038scripts/358 L289–290scripts/358 L388scripts/358 L451Data/Classes.rvdata2Data/Skills.rvdata2Code
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.scripts/573 L1851–1858scripts/573 L1921–1932scripts/287 L140scripts/217 L887scripts/573 L1935–1958scripts/192 L129–130Code
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.scripts/265 L39–50scripts/265 L151–189Code
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.scripts/591 L3704–3747scripts/591 L3677–3689scripts/591 L3254–3291scripts/597 L246–250scripts/591 L3691–3702scripts/228 L268scripts/228 L504Code
Symphony of War's trait setup defines 163 trait entries; this table holds 152 of them, leaving out the eleven specialists (specialist-traits). Each row gives the trait's name and description, whether it works only on a squad leader, the power it adds to a unit's rating, its weight in the recruit roll, and the tomes and artifacts that grant it. A unit's traits come from its learned slots, its own traits, its class and its squad's artifacts (trait-sources); the other settings the game reads, each used by a few traits, are in trait-settings.scripts/591 L6935–6937scripts/591 L7049–7054scripts/591 L7076–7078scripts/591 L4088–4091scripts/465 L5–8scripts/217 L2265–2318scripts/740 L170–177scripts/217 L134–2263scripts/154 L6–66scripts/217 L52–97scripts/217 L2224scripts/217 L2242Code
47 items are tomes: each teaches the one trait its notes name, written into one of the unit's learned slots when it is used (trait-learning).scripts/344 L135–138Data/Items.rvdata2scripts/591 L8603Code
Eleven specialist traits exist for enemy squads, all leader-only. With the New Game+ option for enemy specialists, an enemy unit has its class tree's specialist trait. Ten are assigned to class trees and act through the enemy squad's leader; Anti-Armor Specialist is in no class tree and no script reads it, so it does nothing.scripts/591 L7084–7088scripts/297 L488–490scripts/591 L8315–8318scripts/279 L326scripts/360 L716–718scripts/217 L2265–2318Code
Ten more traits, kept in a script of deprecated traits that still runs, mostly do nothing: nothing grants eight of them and no code reads them. Two reach a unit through artifacts: Guerilla Armor's Woodsman, which makes woods tiles cost the squad carrying it 20 move points, as they cost light squads; and Genbu Shell Fragment's Stoic, which no code reads.scripts/005 L191–198scripts/218 L1–6scripts/597 L786scripts/597 L793–801scripts/218 L4–264Code
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.scripts/218 L1–6scripts/218 L4–264scripts/005 L191–198Data/Armors.rvdata2Code
51 artifacts carry traits, named by an equip-trait or item-trait tag in their notes; a squad's artifacts' traits count as traits of every unit in it (trait-sources).scripts/211 L445–467scripts/924 L699–701Data/Armors.rvdata2scripts/211 L464scripts/211 L462Code
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.scripts/924 L633–645scripts/591 L5719–5740scripts/591 L7948–7955scripts/591 L7174–7177scripts/924 L699–701scripts/591 L7084–7098scripts/283 L1941–2160scripts/283 L2782–2798scripts/283 L3297–3401scripts/274 L797–805scripts/274 L844–846scripts/274 L1406–1425scripts/591 L7100–7110Code
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.scripts/217 L52–58scripts/217 L101–109scripts/740 L170–177scripts/740 L297–304scripts/207 L83scripts/207 L831scripts/207 L675scripts/207 L1290–1295scripts/203 L32scripts/205 L62scripts/280 L11scripts/591 L2295–2301scripts/203 L10scripts/591 L7193–7202Code
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.scripts/591 L7205–7221scripts/591 L118–122scripts/591 L5491–5495scripts/924 L647–649scripts/360 L1412scripts/700 L108–124scripts/344 L135–138Code
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.scripts/591 L7131–7142scripts/902 L183–192scripts/591 L3071–3074scripts/591 L5365–5379scripts/217 L507scripts/591 L3076–3081scripts/453 L76scripts/692 L93–94scripts/450 L261scripts/285 L217Code
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.scripts/591 L3064–3074scripts/217 L134scripts/455 L127–138scripts/453 L72–93scripts/549 L470–486scripts/456 L517–518scripts/591 L3191–3201scripts/591 L3120–3122scripts/217 L1811–1816scripts/205 L476Code
The running scripts read only a few of a trait entry's settings: its name, description and icon, whether it is leader-only, the power it adds, a capacity cost, the captain traits' class-group capacity cuts and Imposing's targeting rate, and, for one trait each by name, Beacon's heal ratio and Guerilla's hit, skill and evasion figures. Every capacity cost the setup gives is 0. The rest go unread (unread-trait-settings).scripts/217 L122–128scripts/338 L113scripts/692 L93–94scripts/591 L6935–6937scripts/591 L5373–5385scripts/591 L6001–6006scripts/217 L442scripts/450 L210scripts/360 L1320–1325Code
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.scripts/217 L122–128scripts/924 L152–169scripts/217 L573scripts/740 L7–16scripts/740 L170–171Code
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.scripts/360 L296–326scripts/360 L448–462scripts/360 L1674–1679Code
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.scripts/358 L277–295scripts/358 L334–341scripts/358 L353–369scripts/358 L378–384scripts/358 L456–462scripts/297 L303–315Code
With New Game+'s damage rebalance on (it's off by default), a stat counts in full only up to 30 for Strength, Armor and Magic and 100 for Weapon. Past that, the excess is multiplied by a rate and raised to a power: 0.8 and 0.9 for Strength and Armor, 0.75 and 0.9 for Magic, 0.9 and 0.95 for Weapon. Off, every stat counts in full.scripts/360 L69–79scripts/297 L303–357scripts/297 L508–510scripts/298 L150Code
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.scripts/358 L77–90scripts/360 L1130–1133scripts/360 L1294–1305scripts/360 L1317–1318scripts/360 L1340–1348scripts/360 L1367–1375Code
A glancing blow multiplies damage by 0.4. Bows, guns and crossbows also take their attack power to 0.8 first.scripts/358 L280scripts/358 L289–290scripts/358 L314scripts/358 L323–324scripts/358 L353–369scripts/360 L932–936Code
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.scripts/358 L77–81scripts/360 L1296–1297scripts/360 L1384–1386scripts/358 L316scripts/358 L323–324scripts/360 L857–859Code
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.scripts/358 L328–329scripts/360 L321–326scripts/360 L414–422scripts/462 L54–64Code
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.scripts/358 L32–40scripts/358 L379scripts/358 L409scripts/358 L437scripts/360 L1081–1106scripts/462 L936–944scripts/360 L577–590Code
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.scripts/265 L20–30scripts/360 L924–930scripts/358 L323–324Code