wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > Code Resources > Spells
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 05-12-2006, 09:26 PM   #1
vile
n00b map maker
 
Join Date: Jul 2005
Posts: 599

Submissions (5)

vile will become famous soon enough (60)vile will become famous soon enough (60)vile will become famous soon enough (60)

Send a message via ICQ to vile Send a message via AIM to vile Send a message via MSN to vile
Default Spell Making Session #3 - Lightning Grapple

Electricutes nearby enemies over time, draining mana from the caster over time. If the man target unit steps out of range, the channeling will stop. The bolt will seek other nearby targets until the max targets are fully taken, however it will deal less damage for each target it extracts to, and drain extra mana from the caster.

Follows the JESP standard.

Update:
Fixed the GetHighestHPFromGroup to follow the JESP.

Update #2:
Fixed some minor variable leaks. (thanks to blu)
Attached Images
File Type: jpg LightningGrapple.jpg (87.2 KB, 635 views)
Attached Files
File Type: w3x SpellMakingSession#3-vile(v1.4).w3x (61.9 KB, 562 views)
__________________
Check out my maps:
Age of Myths
Deadly Games
Magic & Steel New Project is kicking in!

TEASER TRAILER

Last edited by vile : 05-13-2006 at 10:38 AM.
vile is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 05-12-2006, 09:31 PM   #2
blu_da_noob
Nonchalant
 
blu_da_noob's Avatar


Respected User
 
Join Date: Mar 2006
Posts: 1,933

Submissions (2)

blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)

[Quicksilver #2] - 2nd Place[Quicksilver#1] 1st place

Send a message via MSN to blu_da_noob
Default

Checking for JESP standard, pending approval.

Edit: function GetHighestHPFromGroup needs to either be moved out of the trigger to your custom script section, or be prefixed with the name of the spell and '_' to comply with the JESP standard. Then it can be approved (looks fine otherwise).
__________________
blu_da_noob is offline   Reply With Quote
Old 05-12-2006, 10:18 PM   #3
vile
n00b map maker
 
Join Date: Jul 2005
Posts: 599

Submissions (5)

vile will become famous soon enough (60)vile will become famous soon enough (60)vile will become famous soon enough (60)

Send a message via ICQ to vile Send a message via AIM to vile Send a message via MSN to vile
Default

Done
__________________
Check out my maps:
Age of Myths
Deadly Games
Magic & Steel New Project is kicking in!

TEASER TRAILER
vile is offline   Reply With Quote
Old 05-12-2006, 10:21 PM   #4
blu_da_noob
Nonchalant
 
blu_da_noob's Avatar


Respected User
 
Join Date: Mar 2006
Posts: 1,933

Submissions (2)

blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)blu_da_noob is just really nice (398)

[Quicksilver #2] - 2nd Place[Quicksilver#1] 1st place

Send a message via MSN to blu_da_noob
Default

Approved

A couple of minor leaks found on detailed inspection:
function LightningGrapple_GetHighestHPFromGroup - unit variable lastresort should be nulled before returning highesthpunit
function LightningGrapple_Damage - group variable temp not set to null
__________________
blu_da_noob is offline   Reply With Quote
Old 05-13-2006, 10:38 AM   #5
vile
n00b map maker
 
Join Date: Jul 2005
Posts: 599

Submissions (5)

vile will become famous soon enough (60)vile will become famous soon enough (60)vile will become famous soon enough (60)

Send a message via ICQ to vile Send a message via AIM to vile Send a message via MSN to vile
Default

Thanks, well done on noticing those. Fixed.
__________________
Check out my maps:
Age of Myths
Deadly Games
Magic & Steel New Project is kicking in!

TEASER TRAILER
vile is offline   Reply With Quote
Old 06-07-2006, 07:59 PM   #6
Fulla
Evil Overlord
 
Fulla's Avatar
 
Join Date: Jan 2006
Posts: 1,416

Submissions (3)

Fulla has a spectacular aura about (79)Fulla has a spectacular aura about (79)Fulla has a spectacular aura about (79)

Default

NOTE: You have been redirected in order for our attachments to be made available to you. This will only last two minutes; these measures where taken to avoid hotlinking and bandwidth theft.
To avoid these restrictions Log in or Register

I followed instructions>

- Created the variables
- Copied the ability
- Copied the trigger
- Copied the custom script
- Set rawcode = ability
Attached Images
File Type: jpg Bug.JPG (105.0 KB, 127 views)
__________________
Fulla is offline   Reply With Quote
Old 06-09-2006, 02:17 PM   #7
vile
n00b map maker
 
Join Date: Jul 2005
Posts: 599

Submissions (5)

vile will become famous soon enough (60)vile will become famous soon enough (60)vile will become famous soon enough (60)

Send a message via ICQ to vile Send a message via AIM to vile Send a message via MSN to vile
Default

dont set the t=null
__________________
Check out my maps:
Age of Myths
Deadly Games
Magic & Steel New Project is kicking in!

TEASER TRAILER
vile is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 04:16 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2013, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services