Implements skill chaining system, there are still bugs to be fixed though.