- Joined
- Jul 22, 2018
- Messages
- 183
- Reaction score
- 37
- First Language
- Italian
- Primarily Uses
- RMMV
Hi, how to use the loop "for" for checking if my switches(21 to 29) are on in battle?
I'm doing interaction through elements for example:
turn 1 player use spell fire so switch fire ON
turn 2 player use spell Ice so switch ice ON
at the end of ice spell, IF fire or earth or (etc..) is ON AND comboFIRE/ICE switch is ON
DO additional damage,
it's simple as that but I have only little knowledge in javascript and still learning.
I'm using yanfly general battle condition(the first troop is a general common event for all battles)
what I can do instead eventing every single interaction of elements?
it's used the "for", right?
thanks
I'm doing interaction through elements for example:
turn 1 player use spell fire so switch fire ON
turn 2 player use spell Ice so switch ice ON
at the end of ice spell, IF fire or earth or (etc..) is ON AND comboFIRE/ICE switch is ON
DO additional damage,
it's simple as that but I have only little knowledge in javascript and still learning.
I'm using yanfly general battle condition(the first troop is a general common event for all battles)
what I can do instead eventing every single interaction of elements?
it's used the "for", right?
thanks
Last edited:
