HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stat-based chain heal.

11-29-2006, 04:10 PM#1
Zankor
Im working on a sort of rpg, and theres a hero that i made a chain heal spell for, shortly after making my fourth hero i realized i wanted abilities to scale outside of actual level of the ability, so i decided to make them have larger effects based on stats, the problem i realized i was going to have the second i finished the trigger was that only the first target gets the stat based extra healing power. here is what i came up with for the other stat based abilities ive already made.
Trigger:
Chain Heal
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Healing Wave
Collapse Actions
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 3.50))
Anyone know how to make multiple targets get the bonus hit points? and if possible reduce those in the same way a normal chain spell reduces its effect. I tried to have chain heal apply a buff to see if i could somehow add the units with said buff to a unit-group or something but it didn't work.

Edit: i just realized i put this under general development instead of triggers >.<
11-29-2006, 04:56 PM#2
shadowange1
I believe "Target unit of ability being cast" only work for single target spells. So you may have to trigger your own healing wave by creating a spell based off a single target spell.
11-29-2006, 05:27 PM#3
Zankor
yea i thought i would have to do this the problem i think im going to have though if i try it is that i don't know how to keep track of what units are hit by the healing wave, if i can't figure this out im not sure how id trigger it.
11-29-2006, 05:39 PM#4
shadowange1
I dont think you can keep track of which units are hit by healing wave in gui.
But what you can do is base this ability off channel. Then have it target a unit and have it create a unit group that are hurt units. Then you can create lightning between initial unit and a random(or lmore damaged) unit in the unit group. Then from randomed unit to another in unit group as many times as you want.
However, there may be a better way to do this i just thought of this like in 10 secs cause im about to take a shower but see what other people think.
11-29-2006, 05:48 PM#5
Zankor
hmm that would probably work...but its a lot more work then i bargained for i think im just going to modify the use of the spell to a direct heal bomb + weak chain heal, all that bonus hp was probably gonna be wasted on the extra units except the first anyway.
11-29-2006, 06:07 PM#6
shadowange1
Actually its not that hard to make you should give it a shot and if you get any errors you can just post it and someone is surely likely to help you. First just try making it heal units by intel and dont worry about any lightning or eye candy. And if that works then you can add eye candy. All you really need for this spell if a unit group along with a few if statements.
11-29-2006, 06:14 PM#7
PhoenixFeather
Perhaps this can help you.
11-29-2006, 06:24 PM#8
Zankor
hmm ok ill give it a shot, i just figured from all that you wrote it would take a very long time to get it working right.