Add damage interval function