Server side spell casting mechanics