Hi, I'm making a map that allows players to get XP each time they cast a spell.
Since I want each spell to award different amount of XP, I was wondering if there's a simple solution of making a trigger for this.
Instead of making it like 150 lines of "If spell x, then award 20 xp" in the same trigger, would it be possible to have a simple trigger that tracks which spell it is?
The amount of XP awarded will be based on the manacost + spell cooldown, perhaps even more once I've established it.
You would forever have my grattitude if you manage to solve this for me!
Since I want each spell to award different amount of XP, I was wondering if there's a simple solution of making a trigger for this.
Instead of making it like 150 lines of "If spell x, then award 20 xp" in the same trigger, would it be possible to have a simple trigger that tracks which spell it is?
The amount of XP awarded will be based on the manacost + spell cooldown, perhaps even more once I've established it.
You would forever have my grattitude if you manage to solve this for me!