1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] Some help with a spell

Discussion in 'Triggers & Scripts' started by Giantr, Dec 21, 2008.

  1. Giantr

    Giantr

    Joined:
    Dec 4, 2007
    Messages:
    108
    Resources:
    0
    Resources:
    0
    Ok now I managed to actually make a spell similar to a Dota spell Berserker's call, but I don't know how to make the armor bonus on the hero I'll attach the spell here so can anyone help me. I think this would be easy, but I'm not that good at spell making
     

    Attached Files:

  2. LordOglog

    LordOglog

    Joined:
    Feb 19, 2007
    Messages:
    112
    Resources:
    1
    Tools:
    1
    Resources:
    1
    The only idea I have is if you make a passive ability that adds extra armor then add it to your hero using:
    • Unit - Add (Your Ability) to (Triggering unit)

    Then remove it at the end of the spell.
     
  3. Giantr

    Giantr

    Joined:
    Dec 4, 2007
    Messages:
    108
    Resources:
    0
    Resources:
    0
    Thanks I'll try this
     
  4. terradont

    terradont

    Joined:
    Jan 21, 2007
    Messages:
    1,471
    Resources:
    2
    Icons:
    1
    Template:
    1
    Resources:
    2
    A much easier way is to use the Battle Roar ability as a base spell.
     
  5. LordOglog

    LordOglog

    Joined:
    Feb 19, 2007
    Messages:
    112
    Resources:
    1
    Tools:
    1
    Resources:
    1
    But battle roar is an aoe spell so any allies standing close would also get bonus?Also it is only attack damage Battle Roar adds i think? <----- ignore this

    Ahh i see now, much better idea, set targets to self and it can also add def. pretty versatile.
     
  6. terradont

    terradont

    Joined:
    Jan 21, 2007
    Messages:
    1,471
    Resources:
    2
    Icons:
    1
    Template:
    1
    Resources:
    2
    It's as simple as this. Change AoE to 0. Now it only affects the casting unit.

    Battle roar does indeed change damage, but the ability has slots for armor, health regen and mana regen too. Just change that to the armor bonus.

    Simple data editing can get you far ;)
     
  7. LordOglog

    LordOglog

    Joined:
    Feb 19, 2007
    Messages:
    112
    Resources:
    1
    Tools:
    1
    Resources:
    1
    yeah i noticed that just after i clicked ok on my previous post.
     
  8. Giantr

    Giantr

    Joined:
    Dec 4, 2007
    Messages:
    108
    Resources:
    0
    Resources:
    0
    Ok now I see.... It is a better way, Thank you terradont
     
  9. terradont

    terradont

    Joined:
    Jan 21, 2007
    Messages:
    1,471
    Resources:
    2
    Icons:
    1
    Template:
    1
    Resources:
    2
    No problem :)