1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The SharpCraft World Editor Extended (WEX) has been updated for the latest Warcraft 3 version: Forum.
    Dismiss Notice
  3. The Paired Modeling/Texturing Contest #3 - Leaders has begun! Artists group up and struggle! May the best team lead the run.
    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,125
    • 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,215
    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:
    312
    Demolish Ability - ANde
     
  7. -Kobas-

    -Kobas-

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