Unit A cast on unit B ability, that puts buff on unit B. While this buff is on B, he got ability. When buff ends, ability removes.
How to remove ability after buff lost, or after 15 sec f.e. ?
"Set HPChange = (Integer((Life of (Triggering unit))))"
"Unit - Set life of (Target unit of ability being cast) to (Real(RedHPChange))"
It's mistake just with copy. xD
With real variable thanks))
Hero use spell on target. And they change hp. F.e. Hero with 100/800 hp uses spell on unit with 500/900 hp. So hero get 500/800 hp and target get 100/900hp.
Mine doesn't work.
Action
Set HPChange = (Integer((Life of (Triggering unit))))
Unit - Set life of (Triggering unit) to (Life of...
a bit old, but no need for new thread
after I write "-ms"
i got needed movement speed of selected units, but before it I got 0.000
etc:
I post: -ms
I saw: 0.000
Bla has a movement speed of 300.000
Why it's 0.000 always?
yeah, i think it's work, tx
but he takes dmg anyway, even with (Random Integer between 1 and 100) Equal to or greater than (>=) 0
when it's not the one enemy, he won't hit all
mb it should be not tank usual hit, but i.e. spell
i am thinking of dummy so,
when it is block, it is chance to counter...
tx for ur helping, but i said that it is not equal but less than or equal to
so i don't know how to catch chance of block... the way qith pause/unpause isn't correct
can't it be so?
aura
Events
Map initialization
Conditions
((Triggering unit) has buff aura) Equal to True//aura is any aura u want
Actions
Unit - Add evasion to (Entering unit)//evasion is ability that u take
Conditions
(Random integer number between 1 and 100) Less than or equal to 100
I mean less than or equal to, ofc
I thought this make 100% chance, but it doesn't.
I don't get your idea. I have this:
Tb
Events
Unit - A unit Is attacked
Conditions
(Random integer number between 1 and 100) Equal to 100
((Triggering unit) has buff Block(()) ) Equal to True
Actions
Unit - Set life of (Triggering unit) to...
I tried to do a counterattack on block.
Hero has chance to block someone's attack, and when hero got block, he has chance to counterattack.
I tried stone giants spell - stone skin or idk how it's named, i tried footmen spell - rise shield or how its called.
But i don't know how catch block...
Finally i got this and it seems to work:
Aura Attack
Events
Unit - A unit Is attacked
Conditions
((Triggering unit) has buff ImpaleAura Buff) Equal to True
(Random integer number between 1 and 100) Less than or equal to 50
Actions
Set ImpalePoint1 = (Position of (Attacking...