For an experience system, I am calculating the experience gained from killing enemies. The "GhostExperienceMultiplier" is a real variable. For this instances, lets assume the variable equals 1.25. Here's the action:
- Hero - Add ((Supply used by (Triggering unit)) x (Integer(GhostExperienceMultiplier))) experience to (Picked unit), Show level-up graphics