When using magic on an NPC during combat, if you mage them and hit them before they hit you back and you run, they will chase you and attack you if you run. I've tested with both a Paladin and Hero in Ardougne. I don't recall this happening in real RSC.