events: unit begins casting an ability conditions: ability comparison => ability is equal to 'that hero sell ability' actions: remove 'unit type var for hero' from the game player add property => add gold and wood (the amount u paid for last hero
ps: when u choose a hero, set it as a variable (so the trigger above works)
this rly should work. also create a new selector for the player ofcourse