How do I make a State change skills' affects? For example, Multi-Attacks (Attack an enemy for 2 times) could attack 4 times under the state "Dual Wield". Another example is Elemental Attack. Players can choose or change their "Element State" in order to change the effect of the "Element Attack".
How do I change the skills' effect when a certain state applied?
RPG Maker MV SupportI'm currently using Yanfly's plugins, and it might be achieved under Lunatic Mode, but I'm bad in coding. I'm also considering changing skills if specific states apply, but I can't do that while in the battle.
Look at Ramza's Dual Wield plugin if you want to have skills do different stuff when dual wielding. As for the elemental state, assuming you're wanting to have it be a different element based on what state the user has, the lunatic tag would be something like
<target action>
if user.isStateAffected(A)
force element: B
else if user.isStateAffected(C)
force element: D
end
</target action>
Note that this requires the Elements Core plugin. A and C are state IDs and B and D are the element IDs or names you want the skill to be.
<target action>
if user.isStateAffected(A)
force element: B
else if user.isStateAffected(C)
force element: D
end
</target action>
Note that this requires the Elements Core plugin. A and C are state IDs and B and D are the element IDs or names you want the skill to be.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-change-the-skills-effect-when-a-certain-state-applied.83483/