mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
Update Battle.php
This commit is contained in:
@@ -282,13 +282,9 @@ class Battle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//get every enforcement in defender village
|
//get every enforcement in defender village/oasis
|
||||||
|
|
||||||
if ($conqureby>0) { //def from oasis
|
$DefendersAll = $database->getEnforceVillage($DefenderWref,0);
|
||||||
$DefendersAll = $database->getOasisEnforce($DefenderWref,1);
|
|
||||||
} else {
|
|
||||||
$DefendersAll = $database->getEnforceVillage($DefenderWref,0);
|
|
||||||
}
|
|
||||||
if(!empty($DefendersAll)){
|
if(!empty($DefendersAll)){
|
||||||
|
|
||||||
// Calculates the total points of the Defender
|
// Calculates the total points of the Defender
|
||||||
|
|||||||
Reference in New Issue
Block a user