Slay the Spire

Slay the Spire

Slay the Spire Modding
Customize Slay the Spire with player created mods to add new characters, relics, game mechanics, and more. Create and upload your own mods to explore new ways to ascend the Spire!
Syma 20 Mar, 2019 @ 11:26am
Modify Damage / Block value depending on buff
Hi, I'm trying to create a mod with a power / buff that will apply a damage multiplier on the next attack played (similar to pen nib). Can someone tell me if there is a way (with BaseMod and Mod the Spire) to change the damage value displayed on the cards when this buff is active ?

I'm stuck trying to find where this value is calculated is the decompiled source code. My only guess is that the displayed value is constantly calculated with 'atDamageGive' and 'atDamageReceive'. If this is the case, the 'pen nib'-like power will be easy to implement, but I would like to be sure that there is a way to modify the text displayed before I start.