|
|
#2 |
Member
Join Date: Jan 2010
Location: Germany
Posts: 5,142
|
It is. But it checks for the 'Bcyc' and the 'Bcy2' buffs (they are applied to a cycloned unit), and won't change the HP if the unit is affected by one of them.
And i just noticed, technically EMP has nothing to prevent the known 0.405 HP suicide bug.
Jass:
if GetUnitState(GetEnumUnit(),UNIT_STATE_LIFE)>loc_real02 then
call SetUnitState(GetEnumUnit(),UNIT_STATE_LIFE,GetUnitState(GetEnumUnit(),UNIT_STATE_LIFE)-loc_real02)
__________________
I might edit my p0sts frequently and rapidly after posting.
DotA code of the week:
Jass:
if loc_real01>650 then
else
call GroupAddUnit(group002,GetEnumUnit())
endif
|
|
|
|
#3 |
Member
Join Date: Sep 2009
Location: Chennai/Pune, India
Posts: 1,469
|
That means it will still affect a unit which is invulnerable through other means?
|
|
|
|
#4 |
Member
Join Date: Jan 2010
Location: Germany
Posts: 5,142
|
Yes. It will however ignore magic immune units.
__________________
I might edit my p0sts frequently and rapidly after posting.
DotA code of the week:
Jass:
if loc_real01>650 then
else
call GroupAddUnit(group002,GetEnumUnit())
endif
|
|
|
|
#5 | |
Member
Join Date: Jun 2009
Posts: 430
|
Quote:
|
|
|
|
|
#6 |
Member
Join Date: Jan 2010
Location: Germany
Posts: 5,142
|
Yeah, i checked that later and didn't think of going back to this thread cos i was mailing icefrog.
__________________
I might edit my p0sts frequently and rapidly after posting.
DotA code of the week:
Jass:
if loc_real01>650 then
else
call GroupAddUnit(group002,GetEnumUnit())
endif
|
|
|
|
#7 |
Member
|
quick question, Bcyc and Bcy2 are buffs for Tornado and Eul? or is it only used on Tornado?
__________________
|
|
|
|
#8 |
Member
Join Date: Jan 2010
Location: Germany
Posts: 5,142
|
Oddly enough, Cyclone (the base ability) always places two buffs. I haven't been able to distinguish them.
I tested this once because i wanted a tornadoed unit without the invulnerability, but removing either buff ends the tornado (iirc).
__________________
I might edit my p0sts frequently and rapidly after posting.
DotA code of the week:
Jass:
if loc_real01>650 then
else
call GroupAddUnit(group002,GetEnumUnit())
endif
|
|
|
|
#9 |
Member
Join Date: Jan 2010
Location: Germany
Posts: 5,142
|
Fixed
__________________
I might edit my p0sts frequently and rapidly after posting.
DotA code of the week:
Jass:
if loc_real01>650 then
else
call GroupAddUnit(group002,GetEnumUnit())
endif
|
|