Auto-translated
There is a goal to obtain "Urghash's Call" with the OBJECTIVE_KIND_MANUAL parameter, script name - SA. It should be done so that as soon as the player receives the "Urghash's Call" ability, the aforementioned script is activated - giving the player experience up to level 26, completing this very task, and setting the "flag" variable to "1".
Best regards.
As far as I remember, obtaining Super Abilities through scripts was a troublesome task - using the editor, you can give a Super Ability to even a level 1 hero, but with scripts, certain conditions must be met.
Provide the entire script - then we can see what's not working (i.e., I don't understand yet - do you want to give a Super Ability, or do you want to give experience for a Super Ability, or do you want to give experience when the hero has a Super Ability???)