JonathanSafer / screeps

Screeps AI
MIT License
25 stars 7 forks source link

Quad react to enemy creeps #153

Open jordansafer opened 4 years ago

jordansafer commented 4 years ago

In the quad advance function, if there are enemy creeps consider 3 cases:

  1. if enemy damage will be greater than heals when enemy creeps step towards us, retreat
  2. else if our damage is greater than the enemy creep heal power & it's in range, than pursure it
  3. else keep working on the target structure