begin gamemode
if power != rean ; If power code isn't reanimation, choose the next effect.
set count to count + 1
set power to getnthactiveeffectcode count
elseif power == rean
set length to (player.GetNthActiveEffectDuration count)
message "Reanimation is %g seconds long" length
set heal to length
modav2 health heal
endif
end
if power != rean ; If power code isn't reanimation, choose the next effect.
set count to count + 1
set power to getnthactiveeffectcode count
elseif power == rean
set length to (player.GetNthActiveEffectDuration count)
message "Reanimation is %g seconds long" length
set heal to length
modav2 health heal
endif
end