fix evasion: now is only when normal attack or raid

This commit is contained in:
unknown
2013-04-24 11:28:06 +03:00
parent e8505ac1e8
commit 953c992690
+1 -1
View File
@@ -1026,7 +1026,7 @@ class Automation {
$cannotsend = 1;
}
}
if($evasion == 1 && $maxevasion > 0 && $gold > 1 && $cannotsend == 0){
if($evasion == 1 && $maxevasion > 0 && $gold > 1 && $cannotsend == 0 && $dataarray[0]['attack_type'] > 2){
$totaltroops = 0;
for($i=1;$i<=10;$i++){
$playerunit += $i;