Attack Order

Report bugs.
Post Reply
Message
Author
User avatar
Perhaps
Retired
Retired
Posts: 811
Joined: September 14th, 2007, 1:24 am
Contact:

Attack Order

#1 Post by Perhaps »

I don't know if this is intended or not, this was also before 1.12c2...

Attack Order cannot target flying units/heroes and can't target magic immune (like obelisks).
Image

User avatar
DarnYak
Site Admin
Site Admin
Posts: 2364
Joined: August 12th, 2006, 2:54 pm

Re: Attack Order

#2 Post by DarnYak »

Intended. Against air units it got really nasty side effects like footman trying to attack but being unable, or the air hero flying off and fucking up pathing (plus archers focusing harpy drops her insanely fast)

The magic immunity thing is an accident i may correct later. Ob towers may loose their immunity anyway though.

DarnYak

User avatar
Perhaps
Retired
Retired
Posts: 811
Joined: September 14th, 2007, 1:24 am
Contact:

Re: Attack Order

#3 Post by Perhaps »

What about filtration?

Code: Select all

if CanAttackAir(unit) and IsFlying(target) then
   call DoNotInlcudeUnit(unit)
endif
And maybe a level requirement for doing attack order on air? >_>
Image

Post Reply