yanfly action sequence multiple damage formulas

I was hoping to get some help designing a skill that will basically be a normal weapon attack using the weapons animation but in the action sequence I want to add a magic elemental burst with a custom damage formula different from what set in the skill.

I am using yanfly's action sequence plugin to design this. I know as much as designing the sequence and adding the animations. Inserting a damage formula during the magic burst sequence is where I am lost. Any help would be appreciated.
I think the easiest way is to include variables in your damage formula:
(a.atk * v[1] - b.def * v[2]) + v[3]
and change them in action sequence:
CHANGE VARIABLE 1 = 4

is that help? 😀
I think the easiest way is to include variables in your damage formula:
(a.atk * v[1] - b.def * v[2]) + v[3]
and change them in action sequence:
CHANGE VARIABLE 1 = 4

is that help? 😀
I will give that a try thank you!

What if I want the first action effect in the sequence to be a.atk*4 but then the second action effect to be a.mat*4? Do I edit the damage formula in skill or something specific in the action sequence? I'll make a rough example below:

Skill: Fire Strike
damage formula: a.atk*4

<target action>
move user: target, front
motion attack: user
action animation
action effect
wait for animation

wait: 20

animation 20: target
action effect (here is where i want mat*4 to occur)
</target action>
Then put this in skill formula box: (v[1] == 2) ? a.atk * 4 : a.mat * 4
if you want to use a.atk * 4 for damage output, change CHANGE VARIABLE 1 = 2
change var1 to anything other than 2 to use a.mat * 4

By the way your game For The Treasure is nice, i've just tried it, the maps are beautiful
Then put this in skill formula box: (v[1] == 2) ? a.atk * 4 : a.mat * 4
if you want to use a.atk * 4 for damage output, change CHANGE VARIABLE 1 = 2
change var1 to anything other than 2 to use a.mat * 4

By the way your game For The Treasure is nice, i've just tried it, the maps are beautiful
Thanks so much I owe you one. I think I can make it work for what I need.

Thanks for the compliment on the game. That is a very old build of it. It has improved so much since then I will update latest demo soon.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequence-multiple-damage-formulas.90092/