In combat: PC has 50% chance to learn and be able to instantly use any magic, ability or feat of an enemy entity. If the learned magic, ability or feat is of a higher level it can only be used once until level requirements are met.
Outside combat: PC can spend time equal to 1d6 hours to learn any magic, abilities or feats of a single enemy the PC has encountered as long as the entity used the magic, ability or feat.