Skip to content

Commit

Permalink
Update Automation.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowss committed Feb 14, 2014
1 parent 7274234 commit ef45f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GameEngine/Automation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1395,8 +1395,8 @@ private function sendunitsComplete() {
}
//to battle.php
//fix by ronix
$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,$AttackerID,$DefenderID,$AttackerWref,$DefenderWref,$conqureby);
$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
$unitssend_att = ''.$data['t1'].','.$data['t2'].','.$data['t3'].','.$data['t4'].','.$data['t5'].','.$data['t6'].','.$data['t7'].','.$data['t8'].','.$data['t9'].','.$data['t10'].'';
$herosend_att = $data['t11'];
Expand Down

0 comments on commit ef45f95

Please sign in to comment.