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

Merging two Hero Auras into one?

Discussion in 'World Editor Help Zone' started by MrRious, Aug 26, 2020.

Tags:
  1. MrRious

    MrRious

    Joined:
    Jul 7, 2018
    Messages:
    135
    Resources:
    0
    Resources:
    0
    Hey. As the title says I want to make a custom Aura which would use the benefits of two already existing ones. Of course this would also include leveling up this passive skill. I know I could probably figure this out on my own, but since you already know the best solution, I figured it would be a good idea to ask here.

    Bonus points if it's trigger free.
     
    Last edited: Aug 26, 2020
  2. nedio95

    nedio95

    Joined:
    Mar 24, 2011
    Messages:
    1,060
    Resources:
    1
    Spells:
    1
    Resources:
    1
    You stick the two auras in a spellbook.
    Not sure about this (absolutely sure somebody would be kind enough to correct me if I am wrong), you can experiment with: A spellbook can be made passive (uncastable) so you just use the spellbook.

    Otherwise you need triggers :) Make a dummy ability, anything passive that would show on the hero and the player can level it up himself.
    And a trigger that detects when the ability is leveled and levels up a hidden spellbook containing the two auras.

    regards
    -Ned
     
    Last edited: Aug 26, 2020
  3. DoomBlade

    DoomBlade

    Joined:
    Feb 5, 2018
    Messages:
    264
    Resources:
    0
    Resources:
    0
    This should absolutely work. :)
     
  4. Uncle

    Uncle

    Joined:
    Aug 10, 2018
    Messages:
    2,383
    Resources:
    0
    Resources:
    0
    The Hero learns 1 of the Auras and you add the other Aura with triggers. The added Aura would be hidden, which can be done in the Object Editor by setting its button position to 0,-11.

    The Learnable Aura would give the illusion that it contains both effects.

    If you use 2 Auras you'll end up with 2 Buffs but there's no real way of getting around that unless you use something other than an Aura for 1 of the effects.

    • Example
      • Events
        • Unit - A unit Learns a skill
      • Conditions
        • (Learned Hero Skill) Equal to Devotion Aura
      • Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Level of Devotion Aura for (Triggering unit)) Equal to 1
          • Then - Actions
            • Unit - Add Endurance Aura (Hidden) to (Triggering unit)
          • Else - Actions
            • Unit - Set level of Endurance Aura (Hidden) for (Triggering unit) to (Level of Devotion Aura for (Triggering unit))

    ^ Combining Devotion Aura + Endurance Aura