Yilmas / hCoreAI

Screeps AI
2 stars 3 forks source link

Alliance script #5

Open Yilmas opened 7 years ago

Yilmas commented 7 years ago

Create an alliance script, which enables a prototype on both creep.attack()/rangedAttack()/rangedMassAttack() and tower.attack() that checks whether or not the owner of the creep is part of the alliance, hence avoiding the attack.

Yilmas commented 7 years ago

First implementation was created in 75e2883