I’m currently trying to create a deck-building roguelike game using RPG Maker.
As a starting point for creating skills, I have set up a skill with the following parameters:
Damage Type: HP Damage
Attribute: Normal Attack
Damage Formula: a.atk * 4
Variance: 0
Critical Hit: No
Is it possible to display the description field as “Deals 1.4 times the current attacker’s ATK”?
For example, if a character with an ATK of 5 uses this skill (let’s call it Skill A), I want the skill description to read “Deals 7 damage.”
If the character’s ATK increases to 10 due to items or passive skills, I want the description for Skill A to automatically update to reflect this, displaying “Deals 14 damage.”
Are there any features or plugins that can accomplish this?
Looks like there’s a free plugin that looks like it does exactly what you’re describing, Lheku Qhukyaru’s Formula Escape Code for MZ/MV:
From what I can tell on its page it adds a \f{} escape code you can put in the skill description that evaluates a formula and shows the result, and a is the actor. So something like Deals \f{a.atk * 4} damage. in your Skill A description would read Deals 7 damage at 5 ATK and Deals 14 damage at 10 ATK. Nothing in the default engine does this, the description field won’t evaluate your damage formula on its own.