07-12-2015, 08:25 PM
You're right. There is an error in the script. It uses base_absorb to hold the amount of damage that is initially inflicted on the target, which is fine by me. But the script attempts to check how much damage the target suffers before the damage is even applied. Ow. No damage inflicted, no value pushed into base_absorb.
Lines 75-79 read as
Change them to
Lines 75-79 read as
Code:
alias step4_part1_drain step4_part1
def step4_part1(battler)
step4_part1_drain(battler)
set_drain_damage(battler)
end
Change them to
Code:
alias step4_part2_drain step4_part2
def step4_part2(battler)
step4_part2_drain(battler)
set_drain_damage(battler)
end