(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 12-03-2008, 04:39 PM   #1 (permalink)
Kit
 
Kit's Avatar

User
 
Join Date: Aug 2008
Posts: 6

Kit is an unknown quantity at this point (0)


A spell wh(ich) heal you with a percentage of the damages inflicted

Hi all

I want to create a spell where a percentage of the damages inflicted is converted to healing to the unit using the skill

thanks for your help !
Kit is offline   Reply With Quote
Old 12-03-2008, 04:42 PM   #2 (permalink)
 
TheBlooddancer's Avatar

Cute Kargo is Cute :3
 
Join Date: Jun 2008
Posts: 2,674

TheBlooddancer is just really nice (419)TheBlooddancer is just really nice (419)TheBlooddancer is just really nice (419)TheBlooddancer is just really nice (419)TheBlooddancer is just really nice (419)


Easy.

Just use the 'Real - Damage taken'.
Then divide it using.. Division '/', into what you want.
__________________
Last edited by The Administration; Today at 15:08 PM.. Reason: Do not spam, flame, harass and discriminate other users in a such way.



TheBlooddancer is offline   Reply With Quote
Old 12-03-2008, 04:55 PM   #3 (permalink)
Spell and Map Moderator
 
Dr Super Good's Avatar

The Helpful Personage
 
Join Date: Jan 2005
Posts: 4,269

Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)Dr Super Good is a name known to all (691)


Base it off life drain, set the duration of the effect to be very short and trasnfer a lot of life instantly. YOu should also be able to adjust the reheal % as well as all usual stats. If I am not mistaken this is exactly what you want and does not even need triggers.
Dr Super Good is offline   Reply With Quote
Old 12-03-2008, 04:55 PM   #4 (permalink)
Kit
 
Kit's Avatar

User
 
Join Date: Aug 2008
Posts: 6

Kit is an unknown quantity at this point (0)


Thanks but....
where do you found this "'Real - Damage taken'" ??? (i'm just really a noob on the editor ><)
Kit is offline   Reply With Quote
Old 12-03-2008, 04:58 PM   #5 (permalink)
 
bounty hunter2's Avatar

Mapper
 
Join Date: Sep 2005
Posts: 785

bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)


it is a variable type real

set variable = damage taken
__________________
[12-20-47] bounty hunter2 has joined the channel
[12-32-46] iSky: bounty hunter2, u die u pandaria fan
bounty hunter2 is offline   Reply With Quote
Old 12-03-2008, 05:07 PM   #6 (permalink)
Kit
 
Kit's Avatar

User
 
Join Date: Aug 2008
Posts: 6

Kit is an unknown quantity at this point (0)


i'm lost :(
I've got the variable, but after...
Kit is offline   Reply With Quote
Old 12-03-2008, 05:14 PM   #7 (permalink)
 
bounty hunter2's Avatar

Mapper
 
Join Date: Sep 2005
Posts: 785

bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)


This is a off trigger, and when you cast the ability it turns on.
Get it?

Unit - A unit Is attacked
(Attacked unit) Equal to (caster)
Set variable = (Damage taken)
__________________
[12-20-47] bounty hunter2 has joined the channel
[12-32-46] iSky: bounty hunter2, u die u pandaria fan
bounty hunter2 is offline   Reply With Quote
Old 12-03-2008, 05:18 PM   #8 (permalink)
Kit
 
Kit's Avatar

User
 
Join Date: Aug 2008
Posts: 6

Kit is an unknown quantity at this point (0)


Okay, i got it, thanks :)
Kit is offline   Reply With Quote
Old 12-03-2008, 05:24 PM   #9 (permalink)
 
bounty hunter2's Avatar

Mapper
 
Join Date: Sep 2005
Posts: 785

bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)bounty hunter2 will become famous soon enough (108)


np, you can heal your unit then by using a variable to set the amount of heal

Set i = ((Integer(variable)) + (Integer((Life of (Triggering unit)))))

and then seting the units life to i

I think :D
__________________
[12-20-47] bounty hunter2 has joined the channel
[12-32-46] iSky: bounty hunter2, u die u pandaria fan
bounty hunter2 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] heal spell MeEsA Triggers & Scripts 4 10-11-2008 06:41 PM
[Trigger] Mass heal spell Selphie Triggers & Scripts 14 09-29-2008 09:52 AM
Aoe Heal Spell! Acvong Triggers & Scripts 4 07-08-2008 09:01 AM
How Would I Make This Spell Heal Allies MINIMAN10000 Triggers & Scripts 8 11-14-2007 12:51 PM
Problems with heal based spell LordOfBunnys Triggers & Scripts 4 09-04-2006 12:32 AM

All times are GMT. The time now is 08:05 AM.






Your link here 
Cell Phones | MPAA | Mobile Phones | Loans | Mortgage Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle