Fix for completely broken skill proc function.