HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

fountain

06-17-2003, 01:48 AM#1
SkylineGT[FB]
how do i make a fountin of restoration? so it restores mana and HP. i tryied but it doesnt work right.
06-17-2003, 02:01 AM#2
bludragn
Did you try giving it Life Regeneration Aura and Mana Regeneration abilities? If that alone doesn't work try giving the fountain to neutral passive or a player.
06-17-2003, 02:09 AM#3
playamarz
How about trying to trigger in the code. Of course the regular way of adding mana regen and health regen would work..... There is a trigger that specifies if unit's get within range of another unit....

EVENT
If Unit gets within 600 length away from Fountain of Restoration.
CONDITION
Triggering unit is a unit. (ie.. not a building)
ACTIONS
Place Special Effect (some cool effect) over triggering unit;
Health of Triggering Unit = Health of Triggering Unit + 10;
Mana of Triggering Unit = Mana of triggering unit + 3;
Wait 1.0 seconds.

And that's that... Of course you have to use the specific commands.. But it should look like that pretty much... Not too hard huh? :)
06-17-2003, 02:11 AM#4
SkylineGT[FB]
hmm, that could be an iteresting way to do it. i like the idea of adding a spiecial effect on the unit! i have to think of a cool effect now.
06-17-2003, 11:04 PM#5
SkylineGT[FB]
is there a way that i can add 10 HP to a unit via tirggers?