Skip to content

Overcharge

Drehverschluss edited this page Nov 26, 2026 · 1 revision

Overcharge

(since 0.2.0) RunelessRPG's attribute runelessrpg:overcharge makes spells cost more and hit harder. Since version 0.2.0 it also works on Iron's and Ars spells, with the same rules as for Spell Engine spells, in every mode. It needs RunelessRPG 0.4.1 or newer. The attribute itself and where it comes from are described in the RunelessRPG wiki → Overcharge and leech.

Iron's spell book with Shift: the Fireball costs 14.4 with overcharge 0.2 and deals 10 % more damage

The rules

  • Cost: the spell's own cost × max(lower limit, Mana Cost) × (1 + Overcharge). Overcharge comes after the lower limit of Mana Cost (RunelessRPG's minManaCostPercent, default 50 %). For Ars spells Ars' own discounts (Rings of Discount, Caster Tome) come first.
  • Damage and healing: × (1 + Overcharge × overchargeDamageFactor). With RunelessRPG's default factor 0.5, overcharge 0.2 costs 20 % more and deals 10 % more damage. Healing gets the bonus only while overchargeAffectsHealing is on.
  • One value everywhere: the check before a cast, the payment, every tick of a channeled spell, the client's own check and every converted cost display (Iron's spell tooltip, spell wheel and Inscription Table, the cost bar of Ars' spell book) use the same cost with the surcharge.
  • Debt: the surcharge follows the same debt rules as the rest of the cost (foreignSpellsUseDebt, RunelessRPG's DEBT modes, Borrowed Power).
  • Creative mode: free casting (RunelessRPG's creativeFreeCasting) pays nothing but still gets the bonus, as with Spell Engine spells.
  • Spell Mana Leech counts the raised damage.
  • Every mode: the surcharge is the same share of the pool whichever mod leads; with overcharge 0.2 an Iron's Fireball costs 14.4 RunelessRPG mana, 72 Iron's mana or 72 Ars mana, which is the same share (measured in all three modes).

overchargeDamageFactor, overchargeAffectsHealing and overchargeAffectsSummons are RunelessRPG's own options (runelessrpg-server.toml, section [overcharge]), so a pack sets them once for all magic. The bridge only has the switch applyOvercharge per adapter.

Examples

Measured in my tests with RunelessRPG leading (factor 0.2) and overchargeDamageFactor = 0.5:

Spell Overcharge 0 Overcharge 0.2 Overcharge 1.0
Iron's Fireball (60 Iron's mana) 12 14.4 (= 72 Iron's mana) 24 (= 120)
Iron's Fireball with Mana Cost 0.3 (lower limit 0.5) 6 7.2 (= 36 Iron's mana) 12
Iron's Electrocute, every half second 0.6 0.72 1.2
Ars projectile + Harm (25 Ars mana) 5 6 (= 30 Ars mana) 10
Ars projectile + Harm with the Caster Tome (half cost) 2.6 3.12 5.2
Damage and healing × 1.0 × 1.1 × 1.5

With overchargeDamageFactor = 1.0 the bonus is × 1.2 at overcharge 0.2 and × 2.0 at overcharge 1.0; my tests got exactly these factors for every form of Iron's and Ars spells in the tables below. A pool that is enough for the spell but not for the surcharge blocks the cast as usual (13 mana are not enough for a Fireball at overcharge 0.2).

What counts as paid

Only spells that the player pays through the bridge get the bonus, as with Spell Engine spells (only spells that cost the caster mana).

No surcharge and no bonus:

  • Iron's scrolls and other casts without mana (Iron's swords while Iron's swordsConsumeMana is off). A recast of an Iron's spell counts as part of its paid first cast.
  • Ars turrets (they pay with source), runes from Runic Chalk or inscribed with a spell parchment, familiars and every other Ars caster that is not the player.
  • Spells that Ars 'n Spells pays itself (see below).
  • Spells that cost nothing, and spells of Iron's mobs.

Surcharge but no bonus (as with Spell Engine spells): damage over time and effects stay as they are. Examples: burning after Firebolt or Fire Breath, Iron's Blizzard (it only freezes), poison, Ars Wither, Hex and Ignite, and buffs without damage such as Haste or Oakskin.

Summons, zones and runes keep their bonus

What a spell leaves in the world keeps the bonus it was paid with: the overcharge at the moment it is made is stored on it and used for its whole lifetime, also after the chunk is saved and loaded again. Switching weapons or taking off gear afterwards changes nothing. Entities that such an entity makes (for example the arrows of a summoned skeleton) get the same value.

  • Summons and zones follow RunelessRPG's overchargeAffectsSummons (default true); with false they get no bonus at all, as Spell Engine summons.
  • Iron's projectiles and cones take the value when they are fired: at the hit, Iron's cannot tell a projectile of a spell book from one of a scroll.
  • Ars projectiles use the value at the hit, because the bridge marks the paid spell itself.
  • Ars runes that you lay with a paid spell take the value when they are laid, like zones.
  • Ars zones are the spell parts after a glyph in leechZoneGlyphs (Linger, Wall and Orbit by default), the same list as for Spell Mana Leech.

Spell Engine summons with RunelessRPG's own overcharge are not raised a second time: the bridge only reads values it stored itself (a Fire Hydra gave × 1.1, not × 1.21, in my tests).

Iron's spells

Form Examples Bonus Value taken
Instant Lightning Bolt, Shockwave yes at the cast
Channeled Electrocute, Ray of Frost yes at every tick
Projectile Firebolt, Fireball, Magic Missile, Icicle yes when fired
Cone Fire Breath, Poison Breath, Dragon Breath yes when fired
Zone Earthquake, Fire Eruption, Black Hole, the poison cloud of Poison Splash with overchargeAffectsSummons when made
Summon Summon Vex, Summon Polar Bear, Raise Dead with overchargeAffectsSummons when summoned
Hits after the cast Burning Dash, Volt Strike (at the hit); Thunderstorm, Echoing Strikes (the last paid cast of that spell, with overchargeAffectsSummons) yes see examples
Healing Heal, Greater Heal, Blessing of Life, Cloud of Regeneration; Healing Circle and Ice Tomb as zones with overchargeAffectsHealing at the cast or when made
Damage over time burning, poison, bleeding no –
Scroll every spell from a scroll no, and no surcharge –

Tested in game: Lightning Bolt, Electrocute, Firebolt, Fireball, Fire Breath, Earthquake, Poison Splash, Summon Vex, Heal, Greater Heal and Healing Circle, each at overcharge 0, 0.2 and 1.0, with both damage factors, with applyOvercharge = false, from a scroll and in creative mode. Burning Dash, Volt Strike, Thunderstorm and Echoing Strikes follow the same code but were not cast in my tests. Thunderstorm and Echoing Strikes keep the last cast only in memory: after a relog during a running Thunderstorm there is no bonus until the next cast.

Ars spells

Form Bonus Value taken
Projectile, Touch, Self, Underfoot yes at the hit
Burst, Delay yes at the hit
Linger, Wall, Orbit with overchargeAffectsSummons when made
Rune laid by your paid spell with overchargeAffectsSummons when laid
Summon Vex, Summon Wolves, Summon Undead with overchargeAffectsSummons when summoned
Lightning, Fangs yes when made
Explosion, Wind Burst yes at the hit
Heal (also Heal on undead, which damages them) with overchargeAffectsHealing at the hit, in a zone the zone's value
Turret, rune from Runic Chalk, familiar no, and no surcharge –
Wither, Hex, Ignite, poison no –

Tested in game: every form of the table with Harm, Heal, Fangs, Explosion and Lightning, a rune laid by the player, a turret and Wither, each at overcharge 0, 0.2 and 1.0, with both damage factors, with applyOvercharge = false and in creative mode, plus the Caster Tome and a Ring of Lesser Discount for the cost. Summon Vex was measured; Summon Wolves and Summon Undead follow the same rule, but their summons did not attack in my test setup.

Ars spell book with the overcharge line

What you see

  • Iron's: the tooltip of the active spell (the spell book with Shift, staves, swords) shows "Overcharge: +10% damage" below the cost, or "+10% healing" for healing spells. Scrolls, spells without damage or healing (Haste) and overcharge 0 show no line. The cost already includes the surcharge (Fireball "14.4 Mana Cost"), also in the spell wheel and the Inscription Table.
  • Ars: every Ars casting item (spell book, Caster Tome, wand …) shows the same line for its selected spell, and the cost bar of the spell book includes the surcharge.
  • Status: /runelessrpg_bridge status shows "overcharge 0.2 (cost x1.2, bonus x1.1)" in the player line, see Commands and bug reports.
  • Spells that Ars 'n Spells pays show no line and no surcharge (see below).
  • A client without the bridge shows Iron's and Ars' own numbers and no line; the server still takes the surcharge and gives the bonus.

Options

Option File Default Effect
applyOvercharge in [irons_spellbooks] and [ars_nouveau] runelessrpg_bridge-server.toml true Overcharge applies to that mod's spells. Cost and bonus only together. Works at runtime
overchargeDamageFactor runelessrpg-server.toml, [overcharge] 0.5 Bonus = overcharge × this factor
overchargeAffectsHealing runelessrpg-server.toml, [overcharge] true Healing gets the bonus too
overchargeAffectsSummons runelessrpg-server.toml, [overcharge] true Summons, zones and runes keep the bonus they were made with; off: no bonus for them
leechZoneGlyphs in [ars_nouveau] runelessrpg_bridge-server.toml Linger, Wall, Orbit Ars glyphs after which a spell counts as a zone, for the snapshot and for Spell Mana Leech

Ars 'n Spells

Ars 'n Spells pays some spells itself, and these get neither the surcharge nor the bonus:

Mana unification of Ars 'n Spells Iron's spells Ars spells
iss_primary surcharge and bonus paid by Ars 'n Spells: none
ars_primary paid by Ars 'n Spells: none paid by Ars 'n Spells: none
separate surcharge and bonus paid by Ars 'n Spells: none
enable_mana_unification = false surcharge and bonus surcharge and bonus

Ars 'n Spells pays Ars spells itself in every mode of its mana unification, also in separate. If overcharge (and Mana Cost and the debt rules) should work for Ars spells too, set enable_mana_unification = false in ars_n_spells-server.toml. See Other mana bridges.

While Ars 'n Spells pays a spell itself, the bridge shows what Ars 'n Spells really takes: the cost bar of the Ars spell book and the other converted Ars costs come without Mana Cost and the surcharge of the bridge, and there is no overcharge line. The server tells the clients within a second when the mode of Ars 'n Spells changes, also with /ans mode set.

Clone this wiki locally