How to use

Release the scroll to spend DAMAGE_EXCHANGE_MANA_COST and add five stored conversions, up to DAMAGE_EXCHANGE_CAP.

Function

Converting incoming damage

When the caster next takes eligible damage, one stored conversion changes the incoming amount to DAMAGE_EXCHANGE_REDUCE_TO. It also restores DAMAGE_EXCHANGE_MANA_GAIN × floor(incoming damage seen by Damage Exchange) personal mana, capped by the caster's maximum mana.

Damage below 1 point restores no mana but still uses a conversion and is changed to the configured amount.

Charges

The GUI displays the number of stored conversions.

Setting DAMAGE_EXCHANGE_MANA_GAIN to 0 still reduces eligible damage and consumes a stored conversion, but awards no mana. The saved charge count is also one of the requirements for creating Replica.

Excluded damage

Damage from falling out of the world and the generic kill source bypasses Damage Exchange.

Configuration

SettingDefaultRangeEffect
DAMAGE_EXCHANGE_MANA_COSTmahoutsukai-server.tomlexchangedamage400–100000000 mana per castMana cost of releasing a Damage Exchange scroll.
DAMAGE_EXCHANGE_MANA_GAINmahoutsukai-server.tomlexchangedamage200–100000000 mana per whole incoming damage pointMana restored for each whole point of the eligible hit's original incoming damage; zero still reduces damage and consumes a conversion but awards no mana.
DAMAGE_EXCHANGE_REDUCE_TOmahoutsukai-server.tomlexchangedamage10–100000000 damage pointsReplacement incoming damage amount when one stored Damage Exchange conversion activates.
DAMAGE_EXCHANGE_CAPmahoutsukai-server.tomlexchangedamage50–1000000000 stored conversionsMaximum number of Damage Exchange conversions a player can store.