• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Quelling Blade Help

Status
Not open for further replies.
Level 6
Joined
Mar 28, 2018
Messages
128
I want to make an item like Quelling Blade from the dota. I tried to do it myself with Demolish, but it doesn't work. I give only 7 damage to the enemy considering that the champion has 58-66 damage. What is the problem?

Untitled1.png
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,513
Quelling Blade should be managed through a Damage Engine.

If Damage Source has Quelling Blade + Damage Target is a Creep then Increase damage dealt by X.
X can vary depending on whether or not the Damage Source is Ranged or Melee.

The Tree destroying functionality can be done with something like the Sentinel ability:
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Quelling Blade (Sentinel)
  • Actions
    • Destructible - Destroy (Target destructible of ability being cast)
 
Last edited:
Level 6
Joined
Mar 28, 2018
Messages
128
Quelling Blade should be managed through a Damage Engine.

If Damage Source has Quelling Blade + Damage Target is a Creep then Increase damage dealt by X.
X can vary depending on whether or not the Damage Source is Ranged or Melee.

The Tree destroying functionality can be done with something like the Sentinel ability:
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast Equal to Quelling Blade (Sentinel)
  • Actions
    • Destructible - Destroy (Target destructible of ability being cast)

I only want to do the damage part. I'm not interested in cutting down a tree.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,513
So only do the damage part. You could also probably get away with something like this:
  • Events
    • Unit - A unit is attacked
  • Conditions
    • Attacking unit has Quelling Blade Equal to True
    • Attacked unit is a Hero Equal to False
    • Attacked unit is a Structure Equal to False
  • Actions
    • If (Attacking unit) is Ranged then Add Quelling Blade Range Bonus to (Attacking unit) ELSE Add Quelling Blade Melee Bonus to (Attacking unit)
You can then Remove these abilities if the Attacked unit IS a Hero or Structure.

The Damage Engine solution:
  • Events
    • Game - DamageEvent becomes Equal to 1.00
  • Conditions
    • DamageEventSource has Quelling Blade Equal to True
    • DamageEventTarget is a Hero Equal to False
    • DamageEventTarget is a Structure Equal to False
  • Actions
    • Set Variable DamageEventAmount = DamageEventAmount + 7
The Damage Engine demo map as well as the Damage Engine thread have examples on how to use the system. I've also posted at least 10 threads on Hive showing examples on how to use it.
 
Last edited:
Use the Damage Engine is the ideal solution, but if you are not still interested the ability seems to doesn't increase the damage, but sets it because 50*0.320=16, so try putting the Damage Multiplier to 1.320
To add, this is the quickest solution if Damage Engine isn't already present in your map.
 
Status
Not open for further replies.
Top