if unit == "player" and name == "Rampage" and remaining then duration = 30 end
to avoid the Lua error.
It is just a workaround, and you have to replace "Rampage" by the localized version of the technic, "Saccager" for example.
Without this little bug, this add-on would be perfect. Just perfect :)