promotional bannermobile promotional banner

RunelessRPG Mana Bridge

One shared mana pool for RunelessRPG, Iron's Spells 'n Spellbooks and Ars Nouveau. The pack picks which mod leads, every player picks the mana bar.

RunelessRPG Mana Bridge

Beta – version 0.2.0. I tested it thoroughly with automated tests (all three modes, the choice of the mana system, costs, overcharge for every form of Iron's and Ars spells, debt, gear of all mods, Ars progress and familiars, displays, other bridges and chains, two players, clients and servers with and without the mod and with 0.1.0). I do not play with Iron's Spells 'n Spellbooks or Ars Nouveau myself, so your reports are the real test. Please report bugs on GitHub Issues and add the output of /runelessrpg_bridge status (one click copies it).

One mana pool for all your magic

RunelessRPG Mana Bridge connects RunelessRPG (mana for Spell Engine spells and the RPG Series), Iron's Spells 'n Spellbooks and Ars Nouveau into one shared mana pool. A Fireball from the RPG Series, a Fireball from Iron's and an Ars spell take their mana from the same pool. The pack chooses which mod leads the pool, and every player chooses which mana bar to see.

New in 0.2.0: choose the mana system in game (a question at the first start, a command, buttons in the config screen) and Overcharge for Iron's and Ars spells. Requires RunelessRPG 0.4.1.

RunelessRPG leads

Client & Server · RunelessRPG 0.4.1+ required · Iron's Spells 'n Spellbooks and Ars Nouveau connected, both optional · Built for pack developers

Installation

  1. Install RunelessRPG 0.4.1 or newer (it needs Spell Engine).
  2. Install Iron's Spells 'n Spellbooks (tested with 1.21.1-3.16.4), Ars Nouveau (tested with 5.13.5) or both, with their dependencies.
  3. Put RunelessRPG Mana Bridge on the server and every client.
  4. At the first login the bridge asks which mana system should lead (in singleplayer, or an operator on a server). Pack makers set askForManaSystem = false in the config they ship.

Without Iron's and Ars the bridge does nothing.

Features

One pool for all mods

  • Iron's spells, Iron's Mana potion, Gluttony and the /mana command, Ars spells of every form, the Ring of Jumping, the Repairing perk and the Void Jar use the same mana as Spell Engine spells.
  • 1 Iron's mana and 1 Ars mana = 0.2 RunelessRPG mana by default, set automatically from the base values of the mods (20 and 100). An Iron's Fireball (60) costs 12 RunelessRPG mana, an Ars projectile with Harm (25) costs 5.
  • Iron's and Ars spells follow RunelessRPG's Mana Cost (with its lower limit and Spell Infinity) and the same debt rules as Spell Engine spells (DEBT modes, Borrowed Power). Ars' own discounts still count first.
  • Iron's mobs, Ars turrets and runes, familiars and fake players keep their own mana.

Three modes

manaSystem Base max mana Regeneration After a respawn
"runelessrpg" (default) 20 0.5 per second plus bonuses full
"irons_spellbooks" 100 (Iron's) 2 % of max mana per second plus bonuses Iron's manaSpawnPercent
"ars_nouveau" 100 plus glyphs and spell book tier (Ars) 5 per second plus glyphs, tier and bonuses Ars' rule: the mana of the moment of death stays

The leading mod keeps its base mana, regeneration and rules for respawn and death. A mode change only changes the regeneration: the same gear and the same spells give the same share of the pool in all three modes. The switch also works at runtime and keeps every player's mana and debt. Packs where Iron's or Ars is the main magic, or with many addons of it, should let that mod lead.

Iron's leads

Ars leads

Choose the mana system in game (new in 0.2.0)

  • A question at the first start: the owner of a singleplayer world or an operator picks the leading pool once. Every button shows the base max mana and regeneration it brings, read from the real configs; "Decide later" asks again at the next login. A client without the bridge gets a chat line with clickable values.
  • A command: /runelessrpg_bridge manaSystem shows the leading pool and the possible values, /runelessrpg_bridge manaSystem <id> changes it (operators, the console and the singleplayer owner).
  • Buttons in the config screen for manaSystem, manaDisplay and displayUnit, with readable names and a tooltip for every value.
  • Every way switches the pool at once, without a restart and without losing mana.

The question at the first start

The manaSystem button with its tooltip

The command

Gear of all mods counts

  • While RunelessRPG leads, Iron's robes, rings, spell books and mana upgrade orbs and Ars' Mana Boost, Mana Regen, armor tiers, curios and potion raise the shared pool: a Pyromancer robe with +125 Iron's max mana gives +25, Mana Boost III (+75 Ars max mana) gives +15.
  • While Iron's or Ars leads, RunelessRPG's enchantments, affixes and gear raise its mana: +25 RunelessRPG max mana gives +125.
  • Flat values are converted, percent values stay percent.

The same gear in RunelessRPG and Iron's units

The same gear in RunelessRPG and Ars units

Ars Nouveau

  • Ars progress counts: learned glyphs and the spell book tier raise the shared pool while Ars follows (50 glyphs and tier 3: +180 max mana and +3.9 per second), so an Ars player keeps about the mana Ars itself would give.
  • Familiars reserve their share of the pool (15 %), and Ars' bar shows it.
  • While Ars leads, Ars works as without this mod: its own regeneration, progress, gear and familiars. Spell Engine spells cost five times their RunelessRPG cost in Ars mana, Iron's spells pay 1 : 1.

A familiar reserves part of the pool

Overcharge for Iron's and Ars spells (new in 0.2.0)

RunelessRPG's Overcharge now works on Iron's and Ars spells with the same rules as on Spell Engine spells: the cost goes up after the lower limit of Mana Cost (an Iron's Fireball costs 14.4 instead of 12 at overcharge 0.2), and damage and healing go up (× 1.1 with RunelessRPG's default factor). Summons, zones and runes keep the bonus they were made with, Iron's projectiles the bonus of the cast that fired them. Only spells you pay through the bridge get it: no scrolls, Ars turrets or runes from Runic Chalk; damage over time stays as it is. Iron's spell tooltips and Ars spell books show "Overcharge: +10% damage", and every cost display includes the surcharge.

Iron's spell book with Shift: cost and overcharge line

Ars spell book with the overcharge line

Your bar, your unit

  • Every player picks the bar: the leading mod's, RunelessRPG's, Iron's, Ars' or all of them.
  • Every mana number is shown in one unit: the bars, Spell Engine tooltips, Iron's spell tooltips, the spell wheel and the Inscription Table, Ars' Rings of Discount and the cost bar of its spell book, max mana and regeneration on gear.
  • Iron's and Ars bars also show while you hold a Spell Engine staff or a spell book of the other mod, and Ars' bar flashes red when a spell of any mod fails for lack of mana.

All three bars with the same pool

Iron's spell costs converted

Ars' bar flashes red after a failed Spell Engine spell

Debt in every mode

Iron's and Ars mana cannot go below 0, so RunelessRPG keeps the debt. Their bars stay at 0 and RunelessRPG's bar appears with the minus. Everything that comes into the pool afterwards (regeneration, potions of all mods) pays the debt first.

Debt

Debt while Ars leads

Spell Mana Leech for Iron's and Ars spells

RunelessRPG's Spell Mana Leech also works on direct hits of Iron's spells (instant, channeled, projectiles, cones) and Ars spells (projectile, touch, burst, delay), with all of RunelessRPG's rules and one shared counter. Zones, runes, turrets, summons and damage over time do not count. Two entity tags and one option change which hits count.

Ars 'n Spells and other bridges

Ars 'n Spells runs in a chain with the bridge: on iss_primary only the Iron's adapter runs, on ars_primary only the Ars adapter, and Ars 'n Spells keeps Ars ↔ Iron's. Ars 'n Spells pays some spells itself, and these skip Mana Cost, the debt rules and overcharge of the bridge: Ars spells in every mode of its mana unification (also on separate), Iron's spells on ars_primary. For every function of the bridge, set enable_mana_unification = false in Ars 'n Spells' server config; it keeps its other functions. Since 0.2.0 the chain on ars_primary no longer lets Iron's own regeneration into the pool, and Ars 'n Spells no longer cancels Iron's casts there. Ars Mana Bridge, Mana Transform, Mana Unifier and Unified Mana are detected: while one of them connects a mod's mana itself, that adapter turns off with a warning in the log and a chat message for operators, so two bridges never pull at the same pool. A self test at startup turns an adapter off if an update of Iron's or Ars changes something, instead of breaking the game.

Status command for bug reports

/runelessrpg_bridge status shows versions, the leading pool, the adapters, other bridges, the config and your own mana and overcharge. One click copies everything as English text. Every player can use it for themselves; operators and the console can name a player.

Status command

Configuration

  • Server: manaSystem and the question at the first start (askForManaSystem), the debt rule for Iron's and Ars spells, the conversion factors, whether Mana Cost and Overcharge apply, which bonuses cross over in each direction, Ars progress and familiars, the own regeneration of the following mods, Spell Mana Leech with the Ars zone glyphs, the chain with Ars 'n Spells, other bridges.
  • Client: the bar, the display unit, converted tooltips, RunelessRPG's bar while in debt, other bars with casting items, Ars' red flash.
  • Every option works at runtime. The sections of Iron's and Ars stay in the config while they are not installed.

Client options

Every option, all three modes with templates and the details of every Iron's and Ars part are in the wiki.

Compatibility

Mod Needed
RunelessRPG (with Spell Engine) required, 0.4.1 or newer
Iron's Spells 'n Spellbooks optional, connected (tested with 1.21.1-3.16.4)
Ars Nouveau optional, connected (tested with 5.13.5)
Iron's and Ars addons their spells and their mana access through Iron's and Ars use the shared pool; not tested one by one (Ars Elemental only for start, spells, max mana and regeneration)
Ars 'n Spells chain on iss_primary and ars_primary, both adapters on separate (Ars 'n Spells still pays Ars spells there), both off on hybrid; every function with enable_mana_unification = false (recommended)
Ars Mana Bridge, Mana Transform, Mana Unifier, Unified Mana detected, the affected adapter turns off while they connect that mod's mana

Install the bridge on the server and every client. A client without it can still join a server with it (pool and costs are right, only the bar choice and the converted numbers are missing), and a client with it can join servers without it. Clients and servers with 0.1.0 can still connect to 0.2.0. Tested on a dedicated server with two players. Mana Transform is detected but was not tested in game.

Links

Credits

  • RunelessRPG Mana Bridge ships no files of other mods; it only refers to their classes and ids. Details in CREDITS.md.
  • It is not made by or affiliated with the authors of Iron's Spells 'n Spellbooks, Ars Nouveau or Spell Engine. License: MIT.

RunelessRPG Mana Bridge Team

profile avatar
  • 2
    Followers
  • 16
    Projects
  • 13.7K
    Downloads

More from DrehverschlussView all