Simply put I'm trying to make some skills depend on a state. But i can not find out how to properly implement the following parts about the skill.
- The skill will only work while affected by a certain state. During this state you can only use this one skill to remove the state.
- The skill succes rate would be based on a chance based on the stat diffence between the affected character and the enemy.
- If the skill would fail the character using it would have a better chance of succeeding one turn later.
- If the state is not removed within a certain amount of turns the state is removed and automatically replaced by a worse state.
- this other state would deal damage over time but another skill could be used to enhance this damge over time.
My main question is how I could implement this and if there possibly is a plugin for this?
- The skill will only work while affected by a certain state. During this state you can only use this one skill to remove the state.
- The skill succes rate would be based on a chance based on the stat diffence between the affected character and the enemy.
- If the skill would fail the character using it would have a better chance of succeeding one turn later.
- If the state is not removed within a certain amount of turns the state is removed and automatically replaced by a worse state.
- this other state would deal damage over time but another skill could be used to enhance this damge over time.
My main question is how I could implement this and if there possibly is a plugin for this?