User defined damage calculation functions