added a trigger controller, damage caluclations