- Joined
- May 21, 2014
- Messages
- 15
- Reaction score
- 1
- First Language
- German
- Primarily Uses
Hello everyone!
Now before you close this thread and redirect me to Neonblacks "CP Passive Skills script" or Yanflys "Passive States" let me explain my issue:
I need a way to apply buffs/debuffs to characters in battle in a way, that the skill can be learned by leveling and affect the target with custom formulars. So it isn't enough to simply use the named scripts to assign states to skills, because if I do so the following example can't be achieved.
Example: The buff strengthens ATK by 1% for each 2% of health the char has lost. 100% health = 100% ATK, 1% health = 150% ATK, for example. That can only be achieved by using custom formulars, which isn't possible for states.
I thought about calling a common event at the beginning of every battle, that tests each skill of every character on Skilltype "Passive" (which i created) and applies the skill every turn, if it isn't active yet. That is neccessery, because buffs vanish with death. But there are a few problems and it's very complicated for a ruby/rgssx noob like me. For example to test, if the skill was already applied, so that the effect doesn't stack, without having to create a complicated hashmap, etc.
Is there an easy way to do what i wish for? Or maybe a script? I searched for nearly an hour, because i didn't believe, that nobody had the same issue.
Please help me and excuse my bad english, I'm no native speaker
Now before you close this thread and redirect me to Neonblacks "CP Passive Skills script" or Yanflys "Passive States" let me explain my issue:
I need a way to apply buffs/debuffs to characters in battle in a way, that the skill can be learned by leveling and affect the target with custom formulars. So it isn't enough to simply use the named scripts to assign states to skills, because if I do so the following example can't be achieved.
Example: The buff strengthens ATK by 1% for each 2% of health the char has lost. 100% health = 100% ATK, 1% health = 150% ATK, for example. That can only be achieved by using custom formulars, which isn't possible for states.
I thought about calling a common event at the beginning of every battle, that tests each skill of every character on Skilltype "Passive" (which i created) and applies the skill every turn, if it isn't active yet. That is neccessery, because buffs vanish with death. But there are a few problems and it's very complicated for a ruby/rgssx noob like me. For example to test, if the skill was already applied, so that the effect doesn't stack, without having to create a complicated hashmap, etc.
Is there an easy way to do what i wish for? Or maybe a script? I searched for nearly an hour, because i didn't believe, that nobody had the same issue.
Please help me and excuse my bad english, I'm no native speaker


