Draft implementation of spell damage calcuation