From b80ef1367678ecdb103cfffe9680c437403d2d8e Mon Sep 17 00:00:00 2001 From: Shadow Date: Tue, 23 Feb 2016 14:16:48 +0200 Subject: [PATCH] Update Automation.php --- GameEngine/Automation.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 6b1224ed..26bfd0ed 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -1397,12 +1397,6 @@ class Automation { //to battle.php //fix by ronix //MUST TO BE FIX : You need to filter these values - //$battlefirst = $battle->calculateBattle($Attacker,$Defender,$def_wall,$att_tribe,$def_tribe); - //$battlesecond = $battle->calculateBattle($residence,$attpop,$defpop,$type,$def_ab); - //$battlethird = $battle->calculateBattle($att_ab1,$att_ab2,$att_ab3,$att_ab4,$att_ab5,$att_ab6,$att_ab7,$att_ab8); - //$battleforth = $battle->calculateBattle($tblevel,$stonemason,$walllevel,0,0,0); - //$battlefifth = $battle->calculateBattle($AttackerID,$DefenderID,$AttackerWref,$DefenderWref,$conqureby); - //$battlepart = $battlefirst+$battlesecond+$battlethird+$battleforth+$battlefifth; $battlepart = $battle->calculateBattle($Attacker,$Defender,$def_wall,$att_tribe,$def_tribe,$residence,$attpop,$defpop,$type,$def_ab,$att_ab1,$att_ab2,$att_ab3,$att_ab4,$att_ab5,$att_ab6,$att_ab7,$att_ab8,$tblevel,$stonemason,$walllevel,0,0,0,$AttackerID,$DefenderID,$AttackerWref,$DefenderWref,$conqureby); //units attack string for battleraport