1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
  3. After a long wait, the results for Terraining Contest #18 are finally out! Drop by and congratulate the winners!
    Dismiss Notice
  4. The poll for Concept Art Contest #9 is up! Cast your vote for your favourite entry!
    Dismiss Notice
  5. Hero Contest #8 is up and running! This time it's a joint contest between artists and coders. Go here for team matchmaking.
    Dismiss Notice
  6. Our first StarCraft contest, The Galaxy Terraining Contest #1 - World Wonders has started. Enter to show off your Galaxy Editor skills and win a custom rank icon among other things.
    Dismiss Notice
  7. Ever wanted to get your sets ready for fast texturing while still having fun? Now it is possible with our newest Mini-Texturing Contest.
    The Skeleton Units need your dire help!
    Dismiss Notice
  8. The poll for Techtree Contest #11 is up! Cast your vote for your favorite entry.
    Dismiss Notice
  9. Take part in a Futuristic musical experience with our very own Music Contest. The 5th edition has finally arrived after a long time.
    Dismiss Notice

DOTA's Magic wand and Quelling Blade - questions

Discussion in 'World Editor Help Zone' started by redblack, Sep 4, 2010.

  1. redblack

    redblack
    Joined:
    Nov 29, 2007
    Messages:
    112
    1. How to make Blade - Here's description:
    +32% bonus attack damage against NON-HERO units if wielder is melee, +12% bonus attack damage against non-hero units if wielder is ranged. Also second one's DAMAGE not stacking so if we got 2 we will only got 32% not 64%.

    Tree Chop
    Destroys a target tree
    Has a 10 second cooldown, and 100 cast range


    2.Magic Wand
    Gains 1 charge every time an enemy unit casts an ability in a 1600 AoE
    Maximum of 15 charges
    Certain abilities, such as arrow abilites (Frost Arrow, Poison Attack, etc) and item abilities, will not add a charge


    Energy Charge
    Restores 15 HP and mana for each charge
     
  2. Pharaoh_

    Pharaoh_
    Joined:
    Nov 6, 2008
    Messages:
    8,127
    • Trigger
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
    • Actions
      • Set Point1 = (Position of (Triggering unit))
      • Set TempGroup = (Units within 1600.00 of Point1 matching (((Matching unit) is a Hero) Equal to True) and ((Matching unit) belongs to an enemy of (Owner of (Triggering unit)) Equal to True) and ((Matching unit) has an item of type Magic Wand) Equal to True) and (Charges remaining in (Item carried by (Matching unit) of type Magic wand) Less than 15))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Item - Set charges remaining in (Item carried by (Picked unit) of type Magic Wand) to ((Charges remaining in (Item carried by (Picked unit) of type Magic Wand)) + 1)
      • Custom script: call RemoveLocation (udg_Point1)
      • Custom script: call DestroyGroup (udg_TempGroup)


    • Trigger
    • Events
      • Unit - A unit uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Magic Wand
    • Actions
      • Unit - Set life of (Triggering unit) to ((Life of (Triggering unit) + (15 x (Charges remaining in (Item being manipulated)) + 1))
      • Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit) + (15 x (Charges remaining in (Item being manipulated)) + 1))
      • Item - Set charges remaining in (Item being manipulated) to 0
     
  3. defskull

    defskull
    Joined:
    Mar 27, 2008
    Messages:
    7,969
    What about Quelling Blade trigger ?
     
  4. millzy

    millzy
    Joined:
    Jul 9, 2008
    Messages:
    1,206
    for the chop tree item give the item the eat tree abilty and remove the stats so it just chops the tree
     
  5. defskull

    defskull
    Joined:
    Mar 27, 2008
    Messages:
    7,969
    What I meant was, the +32% damage against creep, thank you
     
  6. ic3_water

    ic3_water
    Joined:
    Sep 7, 2008
    Messages:
    303
    Demolish Ability - ANde
     
  7. -Kobas-

    -Kobas-
    Joined:
    Jan 17, 2010
    Messages:
    5,958
    Pharaoh_ you forget to add condition in first one!
    This go below Group
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Charges remaining in (Item carried by (Picked unit) of type Magic Wand)) Equal to 15
      • Then - Actions
      • Else - Actions
        • Item - Set charges remaining in (Item carried by (Picked unit) of type Magic Wand) to ((Charges remaining in (Item carried by (Picked unit) of type Magic Wand)) + 1)