HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Comments/suggestions on a "Cross line - Get damaged" spell XD

12-26-2009, 10:02 AM#1
Komaqtion
Hi !

Sorry about the title XD Couldn't come up wit ha decent name for it :P

Anyways, I've made this spell, which in the first place was a request in a thread on TheHelper.net, but I thought that it got quite complicated (According to me XD) so I am thinking about submitting it :S

What do you think ? :o
(After you've looked through the code below, of course :P)

Anyways, this is a spell which links 2 units together with a lightning effect, and whenever a unit crosses that line, it damages/heals ( Depending on wether the unit is ally or enemy ) that unit by an amount, and also heals the caster of the spell for that amount too.

Please, tell me if you would like to see more configurables, and give me suggestions and I'll try to implement them :D

I also have these two constants, FREEZE_OR_TERMINATE and MAX_DISTANCE, and with these I'd like to somehow make a max distance there can be between the two units with the link...
Anyone have any idea on how to do this ? :S

Ok, so my questions are:
  1. Do you think there's any use of submitting this spell ?
  2. Are there any suggestions or comments on the code ?
  3. Is there any way I could make the code even more effective ?
  4. How would I go about adding a max distance to this spell ? :S

Expand Jass Code !:

Please, any comments and critzism is good ! :D

Also, links to the requirements used are here:
And the link to the actual thread with the request is here:
http://www.thehelper.net/forums/showthread.php?t=142361
12-27-2009, 09:15 PM#2
Anitarf
Well, if you submit it like this, it'll just get graveyarded for using resources that are not in our resource section.
12-27-2009, 09:58 PM#3
Komaqtion
Yeah, yeah, yeah... I know that !
Please...

But I can make this work with the resources available here, too...

Anyways, I just want some help here !
12-29-2009, 05:56 PM#4
Komaqtion
Bump ... :(