mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-13 16:16:07 +00:00
@@ -2515,7 +2515,7 @@ class Automation {
|
|||||||
if(($toF['loyalty']-$rand)>0){
|
if(($toF['loyalty']-$rand)>0){
|
||||||
$info_chief = "".$chief_pic.",The loyalty was lowered from <b>".floor($toF['loyalty'])."</b> to <b>".floor($toF['loyalty']-$rand)."</b>.";
|
$info_chief = "".$chief_pic.",The loyalty was lowered from <b>".floor($toF['loyalty'])."</b> to <b>".floor($toF['loyalty']-$rand)."</b>.";
|
||||||
$database->setVillageField($data['to'],loyalty,($toF['loyalty']-$rand));
|
$database->setVillageField($data['to'],loyalty,($toF['loyalty']-$rand));
|
||||||
} else {
|
} else if (!$village_destroyed) {
|
||||||
//you took over the village
|
//you took over the village
|
||||||
$villname = addslashes($database->getVillageField($data['to'],"name"));
|
$villname = addslashes($database->getVillageField($data['to'],"name"));
|
||||||
$artifact = $database->getOwnArtefactInfo($data['to']);
|
$artifact = $database->getOwnArtefactInfo($data['to']);
|
||||||
|
|||||||
Reference in New Issue
Block a user