I've tried to use that, but it doesn't seem to work.
If I put it below RTAB 1.6 (which I am using) and I go into battle and use the Regen skill, it returns this error:
Script 'Real Time Active Battle' line 2671: NoMethodError occurred.
undefined method 'each' for 686:Fixnum
And when I go into the script editor, it points me to this method:
#--------------------------------------------------------------------------
# * Remaining HP estimate
#--------------------------------------------------------------------------
def rest_hp
# Substituting reality HP to rest_hp
rest_hp = @hp
# All damage which the battler receives is made to reflect on rest_hp
for pre_damage in @damage
if pre_damage[1].is_a?(Numeric)
rest_hp -= pre_damage[1]
end
end
return rest_hp
end
I'm not sure where 'each' is or what to do about it, really. So, I tried putting the HoT DoT script above RTAB, and I go into battle and it works, with one strange exception: no matter what I specify in the HoT DoT database, the spell consistently deals about 200 points of damage over time. I tried changing the positives and negatives, the damage numbers and the type of damage and it always will deal 200 points every turn or so. I'm thinking that something in RTAB is overriding its functionality partially so that it's getting mixed signals, but I have no idea what to do about it.
Any thoughts?