Damaging Spell Detection

Status
Not open for further replies.
Level 21
Joined
Mar 27, 2012
Messages
3,231
I've recently devised a way to perfectly know which object editor spell is doing damage. It's based on dummy casters and using a damage detection system.

Attached is a test map that illustrates what can be done with this functionality. For the sake of proving a point, I've made it GUI-friendly.

I'm thinking of providing a step-by-step tutorial on how to do this trick. It's quite noob-friendly IMO, so it could noticeably spice up maps submitted by people who don't know how to code in vJASS yet.
 

Attachments

EDIT:
Another thing... you do realize that dummy units now deal the damage instead of the caster right?

Yeah. This has some side-effects. For instance, units hit by spells might run away despite the "caster" being visible and attackable.
However, most other problems can be accounted for.

PDD already done this right?

It doesn't. PDD detects damage type and source, but not which spell did the damage. This method does use PDD though.
 
Yeah. This has some side-effects. For instance, units hit by spells might run away despite the "caster" being visible and attackable.
However, most other problems can be accounted for.



It doesn't. PDD detects damage type and source, but not which spell did the damage. This method does use PDD though.

oh. I didn't read the whole post completely.
 
Status
Not open for further replies.
Back
Top