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

How to make auto attack gives mana?

Discussion in 'World Editor Help Zone' started by Shaddark, Jun 16, 2016.

  1. Shaddark

    Shaddark

    Joined:
    Jun 12, 2016
    Messages:
    73
    Resources:
    0
    Resources:
    0
    ?
    I want every attack to heal a constant amount of mana. Can I do it without any dds?
     
  2. Alright

    Alright

    Joined:
    May 20, 2014
    Messages:
    230
    Resources:
    0
    Resources:
    0
    Nope. Using the event 'an unit is attacked', it checks if an unit starts the attack (but not when actually being hit), and then runs that way. So, no, DDS is the only way to actually do it.

    And even then using a DDS is super simple, just the event from any DD system and then add mana.
     
  3. Arrr

    Arrr

    Joined:
    Jun 15, 2012
    Messages:
    430
    Resources:
    20
    Maps:
    20
    Resources:
    20
    if you dont mind using orb effects, you could have some dummy arrow spell or orb of lighting(new) with negative manacost

    the DDS option remains superior tho
     
  4. Shaddark

    Shaddark

    Joined:
    Jun 12, 2016
    Messages:
    73
    Resources:
    0
    Resources:
    0
    Nvm, just did it with Searing Arrows with negative mana cost. ;)
     
  5. Alright

    Alright

    Joined:
    May 20, 2014
    Messages:
    230
    Resources:
    0
    Resources:
    0
    That seems weird but whatever works for you. Although if the unit has an orb or some similar spell that modifies an attack, the orb will override iirc unless depending on the orbs themselves. Orb effects are super fishy about that, and at least triggering with a DDS would make it more easier/simpler than creating an orb exclusively for mana restoration.
     
  6. Shaddark

    Shaddark

    Joined:
    Jun 12, 2016
    Messages:
    73
    Resources:
    0
    Resources:
    0
    It worked, just hidden with spellbook and i'm not going to use any other orb effect in my map, but... I give up, I'm going to use dds, this solution is just bad. I'm trying to avoid dds because I've never used it before, don't know how to use it, I guess it's time to learn. :/