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