So since the :tp_gain => "(blocked_damage / 4)", cannot be a negative value, all blocking would result in a 0 TP gain per attack. The problem is that I would like to have it where it would cost TP to block. Around line #1084 there is this, but I cannot seem to get it to work. Sorry if I sound ed.
#--------------------------------------------------------------------------
# new method : charge_tp_by_block # Charge TP by Damage Blocked
#--------------------------------------------------------------------------
def charge_tp_by_block(blocked_damage)
self.tp += Float(eval(tp_gain_on_block_formula))
end
Original script:
https://dl.dropboxusercontent.com/u/89346660/Bubs%20-%20Shield%20Blocking.txt
Help with Bubble's shield script.
● ARCHIVED · READ-ONLY
-
-
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
I don't believe that's the right method. That is GAINING TP when you block. If you want it to COST TP, can't you just set it up in the skill as TP Cost?