Hey all, so I am trying to create a few passive abilities in my game but I'm not fluent at all in javascript, so I was hoping somebody might be able to help me out. Below are the states/passives that I'm trying to create using Yanfly's plugins. I know how to use the plugins themselves, just need help creating the actual javascript codes to throw into the plugin's notetags.
Here are the passives:
I know that some of these can be easily created in the damage formula boxes themselves, but I want them to be passive states that the character can unlock via my skill learn system.
Any and all help would be greatly appreciated! 😀 Thank you!
PS - Here are the links to the plugins:
http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/
http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/
Here are the passives:
- PASSIVE#1: When this character attacks a target with her own debuffs on it, she regenerates some mana. For example, this character has a total of 4 debuffs she can place on an enemy. I want her to be able to restore MP whenever she attacks an enemy based on how many of those debuffs she has on it, aiming for about 1% MP regeneration per debuff.
- PASSIVE#2: Overall damage is boosted by 1% for ever 5% Critical Hit chance the character has. For example, at 20% critical hit chance, that character would have 4% boosted base damage. (If a flat damage boost in not something that could be done, I would even settle for this passive to boost a parameter, like Agility for example instead)
- PASSIVE#3: Healing done is boosted by the amount of current MP the user has, starting at 10% bonus healing at full MP and going down 1% for every 10% MP missing. (If a flat healing boost in not something that could be done, I would even settle for this passive to boost a parameter, like M.Def for example instead)
- PASSIVE#4: Damage is increased by the amount of current MP the user has missing. At 100% MP, damage is boosted by 0%, and then increases by 1% for every 10% of MP that is currently missing, maxing out at 10% boosted damage at 0% MP. (If a flat damage boost in not something that could be done, I would even settle for this passive to boost a parameter, like M.Atk for example instead)
- PASSIVE#5: Defense and Attack power is increased as HP gets lower. I want this one to be a 2% boost to defense and attack for every 10% of MaxHP that is missing, maxing out at about 20% boost if the character is at about 1% of his MaxHP.
I know that some of these can be easily created in the damage formula boxes themselves, but I want them to be passive states that the character can unlock via my skill learn system.
Any and all help would be greatly appreciated! 😀 Thank you!
PS - Here are the links to the plugins:
http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/
http://yanfly.moe/2015/10/17/yep-13-auto-passive-states/