pguth66 / screeps-pguth66

My Screeps code
Apache License 2.0
0 stars 1 forks source link

gauge threat when room is attacked #31

Open pguth66 opened 6 years ago

pguth66 commented 6 years ago

based on something like total ATTACK parts of hostile creeps, or total parts of hostile creeps or something

should there be any logic for handling how many towers there are, or whether creeps are in range of towers?

pguth66 commented 5 years ago

things we need here

room.gaugeThreat() - returns some number like a defcon to say how bad things are and what action should be taken should be based on 1) strength of attacking force 2) how long they've been present? (maybe not needed right now) strength s/b # of attack + # of heal where boosted parts count as 2x or 3x or something

update to how warriors are spawned or maybe new room method way to make warriors of varying strengths based on 1) threat in room and 2) available energy

pguth66 commented 5 years ago

added gauging threat level in 307dabb5032dc79cc6504ce18dde649a8a47ea72 still need to have varying reponses