Me again. Sorry guys XD
I'm trying to create a weapon type that deals less damage than normal weapons, but that has a chance to, on an attack, release an "Unstable Burst" that will deal additional damage to the enemy. The only way I can think of doing this is by creating a state and having the STATE deal the additional damage, but I'm running into a couple problems with it.
Obviously, the state will have no icon. The state will only last 1 Action so that the extra damage may be procced multiple times. The state will deal a flat 2 damage (my game uses small numbers, and this particular weapon type deals 1 less base damage than comparable weapons). The only real problem I'm running into, is how do I accomplish the extra damage? I'm using Yanfly's Buffs and States Core (http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/) and Ellye's State Damage (http://forums.rpgmakerweb.com/index.php?/topic/48631-ellyes-state-damage/), but they don't seem to work the way I want it to. Ellye's plugin would be exactly what I wanted if there were a way to make the Damage proc at the state's application, rather than the end of the turn, and while I know Yanfly's Buffs and States Core has the <Custom Apply Effect> notetag, I'm not sure what to put in it. When I tried:
<Custom Apply Effect>
b.gainHp(-2)
</Custom Apply Effect>
or "a.gainHp(-2), nothing happened. So my question is: Is it the command I'm trying to use, or is there something else that will work? Any help would be appreciated (and don't worry, I'm almost done with the parts I'll need help with, I promise XD)
I'm trying to create a weapon type that deals less damage than normal weapons, but that has a chance to, on an attack, release an "Unstable Burst" that will deal additional damage to the enemy. The only way I can think of doing this is by creating a state and having the STATE deal the additional damage, but I'm running into a couple problems with it.
Obviously, the state will have no icon. The state will only last 1 Action so that the extra damage may be procced multiple times. The state will deal a flat 2 damage (my game uses small numbers, and this particular weapon type deals 1 less base damage than comparable weapons). The only real problem I'm running into, is how do I accomplish the extra damage? I'm using Yanfly's Buffs and States Core (http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/) and Ellye's State Damage (http://forums.rpgmakerweb.com/index.php?/topic/48631-ellyes-state-damage/), but they don't seem to work the way I want it to. Ellye's plugin would be exactly what I wanted if there were a way to make the Damage proc at the state's application, rather than the end of the turn, and while I know Yanfly's Buffs and States Core has the <Custom Apply Effect> notetag, I'm not sure what to put in it. When I tried:
<Custom Apply Effect>
b.gainHp(-2)
</Custom Apply Effect>
or "a.gainHp(-2), nothing happened. So my question is: Is it the command I'm trying to use, or is there something else that will work? Any help would be appreciated (and don't worry, I'm almost done with the parts I'll need help with, I promise XD)