I'm using Yanfly's battle extensions 1 2 3 and yanfly's absorption barrier and during the whole action I have the user take damage using the
"HP -variable 38: user, show"
and that works just fine, problem is this damage doesn't reduce any barrier points from the absorption barrier script and I need it to.
I have tried the "user.loseBarrier(x)" and tried several things for x and it doesn't do it even for a set number like "1"
I can't use the damage formula unfortunately which I know is the easiest fix for this problem because of other features in my design and need it to work during the <whole action> phase of the battle extension
I have tried even tried to add a state to the user then "Common Event: x" which had the common event find the battler who is inflicted with the state and remove the barrier points that way but I must be doing that wrong as well
$gameTroop.members()[3].loseBarrier($gameVariables.Value(39))
$gameActors.actor(1).loseBarrier($gameVariables.Value(39))
any help on this would be very appreciated.
"HP -variable 38: user, show"
and that works just fine, problem is this damage doesn't reduce any barrier points from the absorption barrier script and I need it to.
I have tried the "user.loseBarrier(x)" and tried several things for x and it doesn't do it even for a set number like "1"
I can't use the damage formula unfortunately which I know is the easiest fix for this problem because of other features in my design and need it to work during the <whole action> phase of the battle extension
I have tried even tried to add a state to the user then "Common Event: x" which had the common event find the battler who is inflicted with the state and remove the barrier points that way but I must be doing that wrong as well
$gameTroop.members()[3].loseBarrier($gameVariables.Value(39))
$gameActors.actor(1).loseBarrier($gameVariables.Value(39))
any help on this would be very appreciated.