Sleeping Spell

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Sleeping Spell

Post by ZilvaX »

Hey everyone, Well I would like to ask for a sleeping spell. Well first of all its a self casting spell, And when casted the casting unit will play the death animation, unable to move and be healing at about 1% health a second.
Image
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Sleeping Spell

Post by Arabidnun »

Basically all you really need to do is make the Sleep spell from Dreadlord, remove some of the targets so its only castable on self. Then create a trigger for whatever, to increase life of casting unit like so.

Set life of Casting unit = (Life of casting unit) + (max life of casting unit/100)
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Sleeping Spell

Post by ZilvaX »

Well I have already tried something like that but there are two main problems,
1) I want it so that it is X% hp per second,
2) I want it so that the unit can stop when someone attacks them (If this is to hard then maybe they can stop by themselves)
Image
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: Sleeping Spell

Post by Arabidnun »

Simple fix?

Condition:
((Triggering unit) is sleeping) Equal to True
User avatar
Syre
Forum Staff
Posts: 506
Joined: November 17th, 2008, 3:49 pm

Re: Sleeping Spell

Post by Syre »

I dont think thats quite what he wants. You had it right with the self-sleep, but he also wants it so that when its casted on the unit, that the unit goes and plays the units Death Animation.

Code: Select all

Animation - Play (Casting unit)'s death animation

Also, he wants it so when hes laying on the ground, he gets automatically healed 1% of life per sec the duration of the sleep. Then when he wants it so hes able to wake up on his own as well instead of just the time expiring or being attacked.
Image
User avatar
ZilvaX
Member
Posts: 52
Joined: December 16th, 2007, 2:23 am

Re: Sleeping Spell

Post by ZilvaX »

Its been awhile so Bump?
Image