For example if I'm a white mage and I kill a mob is there a way so another class can share the exp? A friend told me this was possible not sure if he was blowing smoke or not

Thanks in advance