• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Soul-absorb effect

Status
Not open for further replies.
Level 16
Joined
Jun 25, 2008
Messages
1,043
Hmm, I'm going to try to explain this easily.

Basics of the trigger I need would be this:

a unit dies
dying unit has my buff = true

then the tricky part comes.
I need to get the hero that applied the buff in the first place and increase a skill level to +1.
Then, after 5 seconds, the recently added skill level should be removed.

I have been troubling with this shit for a while, yet I really can't understand how to get the unit I want without using custom values..
 
Level 12
Joined
Mar 26, 2005
Messages
790
well, I just dont understand that part with giving +1lvl to hero for few seconds.

You mean only giving him one more level, without skill point? or skill point without lvl up?

everything else is easy, but i just dont get this idea of "getting his soul"
 
Level 12
Joined
Mar 26, 2005
Messages
790
I think it works now, but as it work now, every hero who cast the spell on the unit, will get the bonus to ability if the unit dies within few sec, (thats illogical, but you can fix it somehow)

now it is set that "buff" will take 5 sec, and bonus to ability will take 5 sec also

I hope it helps
 

Attachments

  • soul steal.w3x
    18.7 KB · Views: 59
Level 12
Joined
Mar 26, 2005
Messages
790
I just think, that recyclator must be set to 0 when it will be 8191, couse I used

...
Set Caster(array_index+1)=Casting unit
....
Set Array_index=Array_index+1


if it would be
Set Array_index=Array_index+1
Set Caster(array_index)=Casting unit
....

then it can be 8192, but thats just detail
 
Status
Not open for further replies.
Top