tell me if didnt work i might try update it.test
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Your Ability
Actions
Set Gold = ((Triggering player) Current gold)
Set Mana = (Percentage mana of (Triggering unit))
Set Mana = (Mana + (Real(Gold)))
Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - Gold)