You are viewing a potentially older version of this package. View all versions.
PapitaConPure-StackFix-1.3.0 icon

StackFix

Balances the initial/additional stack behavior of a few items. Configurable.

Date uploaded 2 weeks ago
Version 1.3.0
Download link PapitaConPure-StackFix-1.3.0.zip
Downloads 121
Dependency string PapitaConPure-StackFix-1.3.0

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.4 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.4
RiskofThunder-R2API_Language-1.1.0 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.1.0
RiskofThunder-R2API_Core-5.3.0 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.3.0
bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122

README

Stack Fix

masterpiece

Makes some items have a better initial effect + stacking behavior.

It's server-side, and everyone needs the mod. The default values are what I personally use and should be a good starting point for balancing.

Features

  • Bolstering Lantern: Lesser change. Very small reduction of initial attack speed per close character with slightly more scaling (configurable). Maximum character count for the buff is the same as vanilla, but was made configurable as well.
  • Eclipse Lite: Lesser change. Reduced initial barrier gain (configurable), but increased barrier gain per stack (configurable).
  • Warped Echo: Substantial change. Reduced initial damage absorption (configurable) and removed damage spread count stacking (configurable). Damage absorption and cooldown reduction now scale per stack (fully configurable).
  • Faraday Spur: Great initial nerf, great stacking buff. Reduced initial movement speed and jump height gains (configurable), as well as initial and per-stack explosion damage (configurable). Movement speed and jump height gains now scale linearly per stack (configurable).
  • Networked Suffering: Initial nerf, stacking buff. Reduced initial maximum spread count and damage (configurable). Percentage of damage sent to the global pool now scales linearly a bit per stack (configurable).
  • There's more planned, but that's it for now...

Configuration

Some settings determine which formula is used to control how a particular effect scales per stack. These are available choices:

  • Linear: effect scales by a fixed amount per stack.
  • Hyperbolic: effect scales with diminishing returns per stack, approaching a limit.
  • Reciprocal: effect decreases proportionally per stack.
  • Exponential: effect compounds by a constant factor per stack.

General

Name Type Default Vanilla Description
Enable Mod Toggle On Off Turn this whole thing on or off (or maybe).
Fix Bolstering Lantern Toggle On Off Enable Bolstering Lantern fixes.
Fix Eclipse Lite Toggle On Off Enable Eclipse Lite fixes.
Fix Warped Echo Toggle On Off Enable Warped Echo fixes.
Fix Faraday Spur Toggle On Off Enable Faraday Spur fixes.
Fix Networked Suffering Toggle On Off Enable Networked Suffering fixes.

General settings act as umbrella toggles for their respective features. Turn off whatever you don't want.

Item: Bolstering Lantern

Name Type Default Vanilla Description
Base Attack Speed Percent 6% 6.5% Initial percentage of attack speed gained per character in close proximity.
Attack Speed per Stack Percent +4% +3.5% Percentage of attack speed gained per character in close proximity per stack (linear).
Base Max Character Count Integer 3 3 Initial maximum number of characters in close range that count towards the effect.
Max Character Count per Stack Integer +1 +1 Maximum number of characters in close range that count towards the effect per stack (linear).

With default settings, Bolstering Lantern is almost exactly the same as vanilla but with a slightly worse initial attack speed and slightly better attack speed stacking.

Item: Eclipse Lite

Name Type Default Vanilla Description
Base Cooldown Barrier Percent 0.5% 1% Initial percentage of max health gained in barrier for each second of a skill's cooldown.
Cooldown Barrier per Stack Percent +0.5% +0.25% Percentage of max health gained in barrier per stack (configurable formula) for each second of a skill's cooldown.
Cooldown Barrier Stacking Type Choice Hyperbolic Linear Determines how "Cooldown Barrier per Stack" scales with each additional stack.

With default settings, Eclipse Lite starts a bit weaker but catches up to vanilla at 3 stacks and becomes ~1.6x as effective as vanilla at ~20 stacks.

If you change "Cooldown Barrier Stacking Type" to the vanilla Linear stacking, it still catches up at 3 stacks but becomes ~1.75x as effective as vanilla at ~20 stacks.

Item: Warped Echo

Name Type Default Vanilla Description
Base Damage Reduction Percent 5% 10% Initial damage absorption percentage on trigger.
Damage Reduction per Stack Percent +5% +0% Damage absorption percentage on trigger per stack (configurable formula).
Damage Reduction Stacking Type Choice Reciprocal N/A Determines how "Damage Reduction per Stack" scales with each additional stack.
Base Damage Spread Integer 3 3 Initial number of instances in which the absorbed damage spreads on trigger.
Damage Spread per Stack Integer +0 +1 Number of instances in which the absorbed damage spreads on trigger per stack (linear).
Base Cooldown Fractional 15.0 15.0 Initial cooldown before damage absorption can trigger again.
Cooldown Reduction per Stack Percent +2.5% +0% Damage absorption cooldown reduction per stack (configurable formula).
Cooldown Reduction Stacking Type Choice Exponential N/A Determines how "Cooldown Reduction per Stack" scales with each additional stack.

With default settings, Warped Echo starts with a bit less damage absorption than vanilla and loses its spread count stacking in favor of stacking both damage absorption and cooldown reduction, which is quite the step up.

Item: Faraday Spur

Name Type Default Vanilla Description
Base Movement Speed Percent 70% 160% Initial movement speed gains at max charge.
Movement Speed per Stack Percent +30% +0% Movement speed gains per stack (linear) at max charge.
Base Jump Height Percent 80% 200% Initial jump height gains at max charge.
Jump Height per Stack Percent +40% +0% Jump height gains per stack (linear) at max charge.
Base Damage Percent 300% 400% Initial discharge explosion damage.
Damage per Stack Percent +200% +280% Discharge explosion damage per stack (linear).

With default settings, Faraday Spur reaches the vanilla speed/jump gains at 4 stacks.

I have wondered for quite a bit if perhaps the first stack feels somewhat underwhelming now, but this should really incentivize printing and actually stacking the item instead of giving you a free win after picking it up once.

Item: Networked Suffering

Name Type Default Vanilla Description
Base Virus Spread Integer 3 4 Initial maximum number of infected enemies.
Virus Spread per Stack Integer +2 +2 Maximum number of infected enemies per stack (linear).
Base Damage Percent 35% 45% Initial virus damage duplication.
Damage per Stack Percent +1% +0% Virus damage duplication per stack (linear).

The initial virus damage duplication needed a small nerf for a long time. I also went aheand and reduced the maximum spread by 1 on the first stack.

With default settings, you can actually stack the damage duplication, but need TEN STACKS of the thing to reach the vanilla value. It isn't really a small effect, though. Every 1% is impactful and the default spread per stack of 2 also contributes to the total damage. In fact, I'd say you should consider lowering the damage per stack to +0% (disable stacking). Still, I personally like +1~5% per stack as it's a red item.

Megumin

Name Type Default Vanilla Description
Megumin Megumin Megumin Megumin Megumin

Megumin.

Contact

If something breaks real bad, there's some incompatibility you think I should know about, or think I'm very bad at explaining shit (I am), feel free to let me know (please be nice or I'll cry).

  • Discord: papitaconpure

Compatibility notes

I don't knowwwwwwwwwwwwwwwwwwwwwwwwwww but if any single item breaks because of another mod or something, you can disable the individual fix. Edit as of 1.3.whatever - yes I still can't be bothered to test this extensively, but I've played a few games with QoL mods in singleplayer and things seem to work.

Nerd

I've never really worked with IL Hooks nor overriden any item behavior before, and as of writing this, I haven't tested the thing in multiplayer, but I can at least confirm it works perfectly in singleplayer.

Changelog

Read the thing on Thunderstore or GitHub.

Additional Info

Build info here.

in megumin i trust for she is the light ahead

CHANGELOG

v2.5.2

  • Fixed an ItemQualities description replacement pattern for Breaching Fin.

v2.5.1

  • Renamed all "Cooldown Stacking Type" settings to "Cooldown Reduction Stacking Type" for consistency. If you've changed these before, you'll need to change them again. Sorry!
  • Added some null checks to avoid NREs.
  • Improved logging.

v2.5.0

  • Added Breaching Fin item fix.
  • Added "Display Non-Vanilla Stacking Types" setting to "General" section.

v2.4.0

  • Added Luminous Shot item fix.
  • Fixed Quality Mod descriptions not updating when changing settings in-game.

v2.3.0

  • Added Box of Dynamite item fix.
  • Added support for Quality Mod descriptions.
  • Corrected some setting inconsistencies
  • Corrected a lot of description inconsistencies.
  • Corrected a few README mistakes.

v2.2.0

  • Added Chronic Expansion item fix.
  • Added Sonorous Whispers item fix.
  • Moved Faraday Spur from Damage chests to Utility chests (configurable).
  • Bumped Faraday Spur's default initial discharge damage from 300% to 360%.
  • Reduced Faraday Spur's default discharge damage per stack from 200% to 0%. This means that, with default settings, it will only stack mobility and never proc bands.
  • Renamed Faraday Spur's "Base Damage" and "Damage per Stack" to "Base Discharge Damage" and "Discharge Damage per Stack" respectively.
  • Made Faraday Spur's discharge distance configurable (same as vanilla by default).

v2.1.3

  • Fixed Chance Doll's chance stat display through LookingGlass not taking luck into account.
  • Improved mod description in Thunderstore/Risk Of Options

v2.1.2

  • Fixed Warped Echo cooldown stat display through LookingGlass.
  • Added to some more Thunderstore categories.

v2.1.1

  • Fixed exception when LookingGlass is not installed due to a silly oversight.

v2.1.0

  • Added Prayer Beads item fix.
  • Introduced LookingGlass support!
  • Fixed Faraday Spur description incorrectly using a plus sign in: "Trigger an explosive discharge for +X% damage".
  • Improved item fix exception handling.
  • Actually ZIP the LICENSE file.

v2.0.0

  • [Breaking] Removed RiskOfOptions integration build option (Risk Of Options integration is now always included - DO NOT CONFUSE with dropped support).
  • Added Chance Doll item fix.
  • Warped Echo damage reduction Reciprocal scaling type removed in favor of Hyperbolic, which is the new default choice.
  • Fixed Warped Echo incorrectly using the reciprocal scaling formula when "Damage Reduction Stacking Type" is set to Exponential.
  • Corrected a few descriptions for real now.

v1.3.0

  • Added Bolstering Lantern item fix.
  • If there's a problem matching the original code of one item, only that item will fail.
  • Refactor. I really need to sleep.
  • Probably fixed a few descriptions idk i don't remember anymore man.

v1.2.0

  • Added Warped Echo item fix.
  • Improved Risk Of Options stack settings display.
  • "(...) Stacking Type" entries now only show choices that make sense.

v1.1.0

  • Added Eclipse Lite item fix.

v1.0.1

  • Fixed Faraday Spur discharge threshold description.
  • Fixed Faraday Spur and Networked Suffering not getting disabled when the general "Mod enabled" setting is disabled... silly me!
  • Added reference vanilla values to each configuration entry's description.

v1.0.0

  • made thing. wao.
  • Added Faraday Spur item fix.
  • Added Networked Suffering item fix.