RPG Maker VX Ace - Spell Design Question

Hey there,


I'm currently trying to design some more advanced spells in RPG maker VX ace and was wondering if I could get help with a few~ (I wasn't certain if I should post this in here or the script section, I decided to post it here since it doesn't really involve much scripting)


The first one I'm attempting to create is a buff that increases the user's attack stat and increases the rest of your party's LUK stat. Not both though, they each get their own separate one. It seems I'm only allowed to do one main target for each spell, how can I work around this?


The other spell I'm trying to figure out is one where each time it's cast, the following one is a little bit more powerful. And on the fourth consecutive cast it hits 4 targets instead of one.


I'd love any help I can get!


Thanks c:
The first one I'm attempting to create is a buff that increases the user's attack stat and increases the rest of your party's LUK stat. Not both though, they each get their own separate one. It seems I'm only allowed to do one main target for each spell, how can I work around this?

Target the entire party for the luk state, and write into the damage formula a sequence to add the attack state to the skill user (should be something like a.add_state(?)).


However, that will get the user both attack and luck states, you might need to remove the luck state in the damage formula as well, but I don't know if that sequence will work.


Search for the topic about the damage formula and how to use it and ask for details there (if the solution isn't already in it)


the other spell is a bit more complex, but again an application of the damage formula codes and game variables this time - add one to the game variable of your choice and check the number before getting the damage for the result. the additional targets however probably need to be triggered by a common event called by that skill that first checks the variable to see if it should work or not.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-spell-design-question.63652/