- Joined
- Aug 27, 2013
- Messages
- 103
I want to make item that have ability that have 20% chance casting crushing wave on attacked unit. I dont know what condition to use for hero manipulating item
Is there no way to set like: if attacking unit have that item than if random number between 1 and 100 is below 20 than create dummy on position of attacking unit that will cast crushing waveIf you're okay with it being an orb ability, there is the Orb of Slow ability, which can be customised to have crushing wave as a spell effect. (Might post pics later showing the ability field)
Dont want cooldown just plain passive abilityIf you're comfortable with using a damage engine you could also trigger it that way, and even add a visible passive cooldown for it.
Using the event "A unit is Attacked" is exploitable as an attacking unit can animation-cancel their attacks - the event fires when an attack is initiated, not when an attack connects to the victim.
Its for custom campaign so it doesnt matterYeah that works, but as I said earlier, you can abuse that by spamming "S" on the attacking unit. Maybe that doesn't matter for you, but if you're making a multiplayer map people will abuse it. If that is a concern you'll need a damage engine and different triggers.