dramtic_word-ArcanaTuner icon

ArcanaTuner

Set any Arcana card's values from an in-game panel (per rarity, plus fixed thresholds). Works with modded card sets such as Flip the Arcana.

Last updated an hour ago
Total downloads 3
Total rating 0 
Categories Mods Tools
Dependency string dramtic_word-ArcanaTuner-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

SGG_Modding-ModUtil-4.0.1 icon
SGG_Modding-ModUtil

Utility mod for mod interactions within lua for SGG's games

Preferred version: 4.0.1
LuaENVY-ENVY-1.2.1 icon
LuaENVY-ENVY

A plugin to allow ReturnOfModding plugins greater control of their environment.

Preferred version: 1.2.1
SGG_Modding-ReLoad-1.0.3 icon
SGG_Modding-ReLoad

Provides helpers for managing hot reloading and waiting for the right time to load

Preferred version: 1.0.3
SGG_Modding-Chalk-2.1.2 icon
SGG_Modding-Chalk

System for handling config files in ReturnOfModding

Preferred version: 2.1.2
SGG_Modding-SJSON-1.0.3 icon
SGG_Modding-SJSON

A plugin for handling .sjson files in ReturnOfModding.

Preferred version: 1.0.3
Hell2Modding-Hell2Modding-1.0.125 icon
Hell2Modding-Hell2Modding

Lua Mod Loader for Hades 2

Preferred version: 1.0.125

README

ArcanaTuner

Tune any Hades II Arcana card from an in-game panel: per-rarity values, fixed thresholds, and even the hardcoded numbers in Flip the Arcana's reversed cards.

What it does

Arcana values are computed by the game from each card's trait:

MetaUpgradeCardData[card].TraitName -> TraitData[trait].RarityLevels[rarity].Multiplier
    -> GetProcessedValue(BaseValue, rarityMultiplier) -> final number

ArcanaTuner rewrites those multipliers (and plain-number fields such as thresholds) so that the effect and the numbers agree. You type the value you want; the mod back-solves the multiplier.

  • Works with any card set: cards are enumerated at runtime from MetaUpgradeCardData, so Flip the Arcana's Reversed* cards are included automatically.
  • Two kinds of values:
    • Per-rarity values — the main stat of a card at Common / Rare / Epic / Heroic (additive values scale linearly; multiplier-type values scale by strength).
    • Fixed values — plain numbers that never scale with rarity, e.g. AddOutgoingDamageModifiers.FullManaThreshold, NoLastStandDamageOutputMultiplier, ActivatedDamageReductionThreshold.
  • Card-text patch for seven Flip cards whose descriptions hardcode their numbers (The Blacksmith, Retribution, Sleep, The Wanderer, The Witch, The Sirens, The Titaness) — the text is rewritten at load to match your values.

Install

Install with r2modman (Thunderstore). Dependencies are listed in the manifest and installed automatically.

Usage

  1. Launch the game, open the Hell2Modding GUI (default Backspace) and find the Arcana Tuner window (also available from the top Windows menu).
  2. Search by card name or card key, or page through with 25 cards per page (ordered like the in-game 5x5 layout, then Flip's three sets).
  3. Type a value and press Enter; it is applied to the game data immediately. * marks changed cards.
  4. Press Save to write the values to tweaks.lua (the mod folder). Reset (next to a modified card's name) restores that card; the top bar can reset everything.
  5. Press G in game to (re)write the card list to plugins\<Team>-ArcanaTuner\arcana_cards.txt.

Config file

Values live in plugins\dramtic_word-ArcanaTuner\tweaks.lua:

return {
    cards = {                                 -- per-rarity target values
        ["ChanneledCast"] = { Common = 0.6, Rare = 0.55, Epic = 0.5, Heroic = 0.45 },
    },
    fixed = {                                 -- plain numbers, not scaled by rarity
        ["LowHealthBonus"] = { ["AddOutgoingDamageModifiers.NoLastStandDamageOutputMultiplier"] = 1.3 },
    },
    multipliers = { },                        -- simple mode: same multiplier for all rarities
    fields = { },                             -- optional: which value field to target
}

Mod options (Config editor in r2modman): enabled, verbose, dump_hotkey, dump_on_start, auto_save.

Notes and limitations

  • Values are baked when the game processes a trait (equipping a card / starting a run). Changing a value mid-run affects cards processed afterwards — start a new run to be sure.
  • Card descriptions that hardcode numbers (Flip's reversed cards) are rewritten at load, so a game restart is required for the text to change; the effect itself follows the data.
  • Flip the Arcana only ships English text, so those cards show English descriptions in any language.
  • If another mod also rewrites the same trait, the last writer wins; ArcanaTuner re-applies on every map setup and when the game rebuilds its trait tables.

中文说明

游戏内按 Backspace 打开 Hell2Modding 界面,里面有 Arcana Tuner 面板:按卡名/卡键搜索,每页 25 张,改完按回车立即生效,点「保存」写回 tweaks.lua。支持按稀有度设数值、设固定数值(阈值等),并兼容 Flip the Arcana 的 75 张反向卡(含 7 张卡面文字的数值补丁)。数值在开局/装备时生效,卡面文字需重启游戏后更新。

Credits