-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to the creep elf rush logic but still left disabled
Current issues: - never uproots if its training units. - Team alliance targeting overrides the rush logic.
- Loading branch information
1 parent
bbc7d30
commit 84dc1ff
Showing
1 changed file
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84dc1ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone has given feedback that trees do not always win by uproot, and sometimes they are often eliminated by uproot , so I add GetLocationCreepStrength check
If can't fight, avoid it , There's no need to lose a tree for rush
84dc1ff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
racial_rushcreep set -1 when build Success
elseif GetOwningPlayer(u) == ai_player and GetUnitTypeId(u) == old_id[racial_rushcreep]
cannot work