draftNewPolicyId: function(oldPolicy) { if (!this.restAndHeal(oldPolicy)) { if (policyKeeperSectorMarshal.readyAttackKeeper(oldPolicy)) { return policyFrameworks.policyKeeperSectorAttack(oldPolicy, true); } else { oldPolicy.cleared = false; return policyFrameworks.policyKeeperSectorMarshal(undefined, undefined, true, oldPolicy); } } if (this.hurryItUp(oldPolicy) && policyKeeperSectorMarshal.readyAttackKeeper(oldPolicy)) { return policyFrameworks.policyKeeperSectorAttack(oldPolicy, true); } return oldPolicy; },
draftNewPolicyId: function(oldPolicy) { if (this.readyAttackKeeper(oldPolicy)) { var insideKeeperRoom = roomBase.justInsideNextRoom( oldPolicy.flag.pos.roomName, oldPolicy.keeperRoom, oldPolicy.flag.pos); if (insideKeeperRoom) { oldPolicy.flag.setPosition(insideKeeperRoom); this.creepsMoveToFlag(currentPolicy) return policyFrameworks.policyKeeperSectorAttack(oldPolicy, true); } } return oldPolicy; },