HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Help... Very simple

12-24-2003, 05:24 PM#1
ZZiNo
Hey guys i want to make a necromancer spell that targets a corpse and raises a skeleton

Now i want it so that at lvl 1: it raises 1 skeleton and thats it, you try raising again it will replace the old one

Lvl 2: It raises UP TO 2 skeletons. So that u cast it once, u get 1 skeleton from 1 corpse, cast it again, u get another one. cast it a third time and it will replace one of the other 2

Its pretty much just like the diablo 2 "Raise Skeleton/Mage" spells


P.S: Is there a flesh golem in wc3? one with blood all over it? Or am i just trippin'?
12-24-2003, 05:31 PM#2
AllPainful
Base it off the "Carrion Beattles" ability, its the same, can only raise a certain number.

Or base your spell off of the "Avatar of Vengance" spell that raises dead to invincible spirits. That spell will only raise up to 5 at a time, try to raise more and a previous one disappears.

I am sure you can change the number of summons for both of those spells.
12-24-2003, 05:32 PM#3
ZZiNo
omg im a moron lol

thx alot man
12-24-2003, 05:33 PM#4
AllPainful
No problem, glad to help. :D
12-24-2003, 05:39 PM#5
Eriond
Ok, this will have to be trigger enhanced.

There is a flesh golem, but only for those with The Frozen Throne Expansion.

Note: This trigger will only be availiable in the Frozen Throne editor, so if you don't have it, I can't help you.

The spell should be based off thunderbolt and should be allowed to target only dead people.

Events: Unit - Unit finishes casting an ability

Conditions: None

Actions:
If: Custom Value of (Target unit of spell being cast) is equal to Level of Hero ability being cast

Then: Unit - Add X mana to casting unit. (X would be the cost the spell, for a mana refund when he's already raised too many units)

Else: Unit - Set Custom Value of (Target unit of spell being cast) to Custom Value of (Target unit of spell being cast) + 1.
Unit - Create a Skeleton at position of (Target unit of spell being cast)
Unit - Add a skeleton (does this exist? If not, just use generic) expiration timer set for Y. (Y is how long you want the skeleton to last)
(Also if you want to have some special effect, here's how you would go about doing it.
Create a special effect at position of (Target unit of spell being cast) (Then click choose model, and you can choose a special effect.)

Sorry if it's a bit cluttered. To get it all, you may have to read it several times, and you'll have to sort out what the actual functions are called in the WE, but I know they're all there.

Hope this helps :ggani:

Oh. Carion Beetles.
I see.

I'm a moron!
(Though in mine you can actually target corpses, though it's alot more work.)

Good luck with your map :D