1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Welcome to the new Hive! Be advised that we're still working on the site. There are still many rough edges, so please bear with us.
    Dismiss Notice
  3. The member Kam is making HIVE coasters. Take a look. For every coaster you buy, Hive gets $1.
    Dismiss Notice
  4. The poll for Icon Contest #14 - Seven Deadly Sins is out!
    Dismiss Notice
  5. The 25th Texturing Contest has started! Contestants are to create a skin representing a dark elf person/being or any construct related to it using the vanilla models or the custom ones found on the site.
    Dismiss Notice
  6. Buy it, use it, break it, fix it, trash it, change it, mail - upgrade it. Join (Optionally) Paired Techtree Contest #11 - Techno Magic now!
    Dismiss Notice
  7. Voting squad, line up! Cast your vote on the poll for Modeling Contest #29 - Squads!
    Dismiss Notice
  8. 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
  9. The poll for the theme of our StarCraft II Terraining Contest is up. Cast your note now!
    Dismiss Notice
  10. The ninth Concept Art Contest has launched. Enter now!
    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,128
    • 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,970
    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,970
    What I meant was, the +32% damage against creep, thank you
     
  6. ic3_water

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

    -Kobas-
    Joined:
    Jan 17, 2010
    Messages:
    5,959
    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)