• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] help with a spell

Status
Not open for further replies.
Level 7
Joined
Oct 15, 2005
Messages
283
well im making a map about a card game i really like ( mtg ) and i need help with a spell

the spell name is Megrim

i was wondering how do i make a spell where a hero is kill'D ( the team he is on) loses 150 health ( thats the level 1 dmg, goes up 4 levels )

if some one can help me out with this. thank you
 
Level 5
Joined
May 22, 2006
Messages
150
And that it is.
... I do not get it, what this spell shall do...
Kill a hero of the own team and drain 150 health points from the caster!?
 
Level 11
Joined
Jul 12, 2005
Messages
764
Event - Unit Dies
Cond - Level of <PassiveAbility> is greater than 0
Action
Pick all units in playable map matching ((Matching Unit is a hero) and (Owner of Triggering Unit) is an ally of (Owner of Matching Unit))
Set life of Picked Unit to ...

or:

Pick all units in playable map matching ((Matching Unit is a hero) and (Owner of Matching Unit) is in Team[1])
Set life of Picked Unit to ...

But note that, you cannot get the ammount of damage that killed a unit...

If that's not what you want, then refrase your post pls!
 
Level 7
Joined
Oct 15, 2005
Messages
283
what you mean you can not get the amount of dmg?

hmm ill put it this way
think of DOTA zeus's ulti every hero gets hit by a ligtning blast the diffrence between the move i want is

this move is a passive move that whena enamy hero is killd all enamy heros get dmg taken
so if team 1 losses a hero by death all the heros on team 1 will lose x life
 
Status
Not open for further replies.
Top