mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-04 09:27:17 +00:00
fix evasion: now is only when normal attack or raid
This commit is contained in:
@@ -1026,7 +1026,7 @@ class Automation {
|
|||||||
$cannotsend = 1;
|
$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;
|
$totaltroops = 0;
|
||||||
for($i=1;$i<=10;$i++){
|
for($i=1;$i<=10;$i++){
|
||||||
$playerunit += $i;
|
$playerunit += $i;
|
||||||
|
|||||||
Reference in New Issue
Block a user