- Joined
- Oct 28, 2012
- Messages
- 231
Greetings, I am working on some boss fight and I need your help with two spells. I am using classic triggers and I don't know how can I create these:
1) SPAWN
When: Map initialization
If: (NO CONDITIONS)
Than: Create unit in random region defined by distance AB of unit XY.
(I want to create unit in random point in circle with radius AB arround unit XY)
2) MULTIPLE SHOCKWAVE
When: Unit XY uses shockwave
If: (NO CONDITIONS)
Than: Cast another 2 shockwaves comming from unit XY in random angle
(If unit XY casts shockwave, two another are casted in random angle)
Additional question: Can I create trigger event "If life of unit XY becomes less than 75% (50%, 25% etc.)? I found only "if life of unit XY becomes less than 400/300/200 any number. But I need percentage.
Thanks to all of you

1) SPAWN
When: Map initialization
If: (NO CONDITIONS)
Than: Create unit in random region defined by distance AB of unit XY.
(I want to create unit in random point in circle with radius AB arround unit XY)
2) MULTIPLE SHOCKWAVE
When: Unit XY uses shockwave
If: (NO CONDITIONS)
Than: Cast another 2 shockwaves comming from unit XY in random angle
(If unit XY casts shockwave, two another are casted in random angle)
Additional question: Can I create trigger event "If life of unit XY becomes less than 75% (50%, 25% etc.)? I found only "if life of unit XY becomes less than 400/300/200 any number. But I need percentage.
Thanks to all of you
