Condition to change single target spell to AoE

Hello there,


Im pretty new and I am trying to figure out how the java scripting class/methods ect works, so I can make my skills do different stuff when meeting certain conditions. Thus making them more interesting and useful.


I am making a single target skill that when targeting an enemy that is currently affected by a specific state, will change the skill damage to be on all enemies.


Does anyone know what needs to be typed to change the targeting scope in a damage formula?


Thank you 🙂

Original thread: https://forums.rpgmakerweb.com/threads/condition-to-change-single-target-spell-to-aoe.62639/