Dealing damage based on a selected G amount

amptcat

Villager
Member
Joined
Jun 3, 2013
Messages
7
Reaction score
0
First Language
English
Primarily Uses
So what i want to do is have a skill open a choice box where i select a gold amount (i'm content with the six choice slots, but if someone knows how to select any number, please let me know)
From there i want the choice to take the selected amount of G away from the party, set a variable to that amount, and then enter that variable into the skill's damage equation.

My only problem is that the skills effects resolve *after* the damage formula, so i cant open the dialogue box before the ability goes off. Is there a way I can call the effects before damage is resolved? Or another way I should be going about this?
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Yanfly action sequences have the ability to use common events. You can implement the gold window there easily.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top