HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

(attribute*hero lvl) dmg by using shockwave?

01-27-2006, 06:27 AM#1
SmileyJeff
How do i detect if enemy has been hit by shockwave? So that i can order the casting unit to damage them base on (attribute*hero lvl) dmg.
Jass is welcome too :) But please explain, i am still new to Jass.

Smiley
01-27-2006, 03:46 PM#2
Immoralis
You use carrion swarm or breath of fire and you do buff dectection within a radius of like the max range of the abilitiy.
01-27-2006, 11:21 PM#3
Vexorian
buff detection is an awful method. Well just use a unit that keeps moving towards a line, and when a unit gets in a range of that unit make the damage happen. I can make a version of this using the caster system if you are interested
01-28-2006, 11:20 AM#4
SmileyJeff
Quote:
Originally Posted by Vexorian
buff detection is an awful method. Well just use a unit that keeps moving towards a line, and when a unit gets in a range of that unit make the damage happen. I can make a version of this using the caster system if you are interested
Really? Cool, i am interested :)
01-28-2006, 11:21 AM#5
SmileyJeff
Quote:
Originally Posted by Vexorian
buff detection is an awful method. Well just use a unit that keeps moving towards a line, and when a unit gets in a range of that unit make the damage happen. I can make a version of this using the caster system if you are interested
Really? Cool, i am interested :)

Quote:
Originally Posted by Immoralis
You use carrion swarm or breath of fire and you do buff dectection within a radius of like the max range of the abilitiy.
I tried it, but it doesn't work perfectly. Thanks anyway :)
01-28-2006, 01:29 PM#6
Mystic Prophet
I had a system where I used a dummy unit moving in a straight line, that picks all units in a 125 radius from it (the radius of shockwave) and had it deal damage. However, it dealt damage before the shockwave actually hit the enemies and sometimes wouldn't hit some that the wave went over cause they were out of range of the dummy unit but not the wave.

So i just switched to damage detection, which by the way, unless you remove all magic reduction whatsoever in your map is a horrible method. But It's effective. Heh in fact I made stat based abilities of pretty much every skill in my map, The majority of them being done with damage detection, while the easier ones like stormbolt and thunderclap were used through starts ability events. Avatar was a mixture of starts ability and buff detection. And devotion aura was a pain because it involves one MUI trigger and four non mui triggers (periodic events) so i had to remake all of them for each player.

Channeling spells are done much the same way as target area spells, but require a trigger to stop them properly when the hero stops channeling.

But vex's way will be much more efficient of course. These are just my newby ways of making things work.
01-28-2006, 01:36 PM#7
Jacek
I think Vexorian told about completely removing of Shockwave's art, and changing dummy unit art to Shockwave's one. That way you'll know exactly where shockwave is.