The combat system of KoTOR is real time with pause, not turn-based, so its not exactly based off the D20 system. And its somewhat dependant of player skill, as all real time games are based off player skill. KoTOR and NWN use both character skills to determine combat outcome, and player skills to activate pause and targtet selection. Unfortunately clunky and not as good as either system on its own.