Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Spell] How do I do this ability? [SOLVED]

Discussion in 'World Editor Help Zone' started by lachferagh, Oct 20, 2020.

Tags:
  1. lachferagh

    lachferagh

    Joined:
    Jan 18, 2016
    Messages:
    20
    Resources:
    0
    Resources:
    0
    Screenshot 2020-10-20 15.51.16.png
    My concept is a passive ability where everytime he is attacked, he gains 1 Strength for 5 seconds. So like a warrior - the more people attacking him, the more strength he gets. So I want him to get this skill when he learns the spell: in this case as a test, its the devotion aura.

    But it's not working. Which condition should I be using because it's not working here.
     
  2. biridius

    biridius

    Joined:
    Apr 3, 2018
    Messages:
    197
    Resources:
    4
    Maps:
    4
    Resources:
    4
    (Learned Hero Skill) only works if your trigger's event is "a hero learns skill", not "unit is attacked".
    Use "Integer - Level of (ability) for (unit) > 0" instead to check if your unit has the ability.
     
  3. lachferagh

    lachferagh

    Joined:
    Jan 18, 2016
    Messages:
    20
    Resources:
    0
    Resources:
    0
    Okay it worked now. Thanks so much. I know this was probably easy but I was struggling so much. I guess the issue is searching through all the options and not knowing what does what.
    Thanks again