Until more plugins are made, I was hoping to use states to accomplish a magic system I'm thinking of using.
Basically, magic has to be charged for at least 1 turn before it can be used, and I want an enemy attack to interrupt the charge.
So I was thinking of doing this by having a skill called "charge magic" that the player would use first. It would give a "add skill type: magic" state. I would then make every magic spell remove this state, so after casting a spell you'd have to charge the magic again. Finally, I would have enemy skills remove the "charge magic" state.
Would this work? Or can anyone think of a simpler way of doing this? Thanks!
Basically, magic has to be charged for at least 1 turn before it can be used, and I want an enemy attack to interrupt the charge.
So I was thinking of doing this by having a skill called "charge magic" that the player would use first. It would give a "add skill type: magic" state. I would then make every magic spell remove this state, so after casting a spell you'd have to charge the magic again. Finally, I would have enemy skills remove the "charge magic" state.
Would this work? Or can anyone think of a simpler way of doing this? Thanks!
