Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!neverOutnumbered)
- {
- if(self.AI_skill > 0.30)
- {
- if(!Backdooring)
- {
- if(self.area == OWN_TEAM_AREAHOME)
- {
- Outnumbered = no
- }
- else
- {
- /*Am i outnumbered?*/
- if(area(2.00, 1.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 3)
- {
- /*No Teammates?*/
- if(area(2.00, 1.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 minimum 2)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- /*Am i outnumbered?*/
- if(area(2.00, 1.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 2)
- {
- /*No Teammates?*/
- if(area(2.00, 1.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- if(!AttackingBase)
- {
- /*they have higher health?*/
- if(LowerHealth2)
- {
- /*No Teammates?*/
- if(area(2.00, 1.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 minimum 2)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- /*they have higher health?*/
- if(LowerHealth)
- {
- /*No Teammates?*/
- if(area(2.00, 1.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- /*Super droid nearby?*/
- if(area(1.00, 0.40) has character CREEPS who CreepDroidSuper from ENEMY_TEAM)
- {
- /*no allys?*/
- if(area(1.00, 0.40) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 ||
- area(0.70, 0.40) has character CREEPS who CreepDroidSuper from OWN_TEAM ||
- area(0.70, 0.40) has character CREEPS from OWN_TEAM minimum 2 ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- /*Flying droids nearby?*/
- if(area(1.00, 0.40) has character CREEPS who CreepDroidFlying from ENEMY_TEAM minimum 2)
- {
- /*no allys?*/
- if(area(1.00, 0.40) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 ||
- area(0.70, 0.40) has character CREEPS who CreepDroidSuper from OWN_TEAM ||
- area(0.70, 0.40) has character CREEPS from OWN_TEAM minimum 2 ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- /*they have full team?*/
- if(area(2.00, 2.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 3)
- {
- /*they have friends?*/
- if(area(1.00, 1.00) has character CREEPS who CreepDroidFlying from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidSuper from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidMelee from ENEMY_TEAM minimum 2 ||
- area(1.00, 1.00) has character CREEPS who CreepMawTurret from ENEMY_TEAM minimum 2 ||
- area(2.00, 1.00) has turret from ENEMY_TEAM)
- {
- /*no allys?*/
- if(area(1.00, 1.00) has character CREEPS who CreepDroidSuper from OWN_TEAM ||
- area(1.00, 1.00) has character CREEPS from OWN_TEAM minimum 2 ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*Enemy players?*/
- if(area(2.00, 2.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 2)
- {
- /*they have friends?*/
- if(area(1.00, 1.00) has character CREEPS who CreepDroidFlying from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidSuper from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidMelee from ENEMY_TEAM minimum 2 ||
- area(1.00, 1.00) has character CREEPS who CreepMawTurret from ENEMY_TEAM minimum 2 ||
- area(2.00, 1.00) has turret from ENEMY_TEAM)
- {
- /*no allys?*/
- if(area(2.00, 2.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 minimum 2 ||
- area(1.00, 1.00) has character CREEPS who CreepDroidSuper from OWN_TEAM ||
- area(1.00, 1.00) has character CREEPS from OWN_TEAM minimum 2 ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*Enemy player?*/
- if(area(2.00, 2.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00)
- {
- /*he has friends?*/
- if(area(1.00, 1.00) has character CREEPS who CreepDroidFlying from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidSuper from ENEMY_TEAM ||
- area(1.00, 1.00) has character CREEPS who CreepDroidMelee from ENEMY_TEAM minimum 2 ||
- area(1.00, 1.00) has character CREEPS who CreepMawTurret from ENEMY_TEAM minimum 2 ||
- area(2.00, 1.00) has turret from ENEMY_TEAM)
- {
- /*no allys?*/
- if(area(2.00, 2.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 ||
- area(1.00, 1.00) has character CREEPS who CreepDroidSuper from OWN_TEAM ||
- area(1.00, 1.00) has character CREEPS from OWN_TEAM minimum 2 ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*don't want to fight around their turret*/
- if(area(2.00, 1.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 3)
- {
- if(area(1.40, 1.00) has turret from ENEMY_TEAM clos)
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*don't want to fight around their turret*/
- if(area(2.00, 1.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00 minimum 2)
- {
- if(area(1.40, 1.00) has turret from ENEMY_TEAM clos)
- {
- /*players*/
- if(area(2.00, 2.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00 minimum 2)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*don't want to fight around their turret*/
- if(area(2.00, 1.00) has character PLAYERS from ENEMY_TEAM where health percentage >= 30.00)
- {
- if(area(1.40, 1.00) has turret from ENEMY_TEAM clos)
- {
- /*players*/
- if(area(2.00, 1.00) has character PLAYERS from OWN_TEAM where health percentage >= 30.00)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- /*Normal droids nearby?*/
- if(area(1.00, 1.00) has character CREEPS who CreepDroidMelee from ENEMY_TEAM minimum 2)
- {
- if(area(1.00, 1.00) has character PLAYERS OR CREEPS from OWN_TEAM ||
- area(0.70, 0.20) has turret from OWN_TEAM)
- {
- Outnumbered = no
- }
- else
- {
- /*I am outnumbered*/
- Outnumbered = yes
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- Outnumbered = no
- }
- }
- else
- {
- Outnumbered = no
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement