mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-17 23:57:18 +00:00
Update db_MYSQL.php
This commit is contained in:
@@ -3307,9 +3307,14 @@ class MYSQL_DB {
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (($type == 1 && ($villageartifact || $accountartifact)) || (($type == 2 || $type == 3)&& $accountartifact)) {
|
if (($type == 1 && ($villageartifact || $accountartifact)) || (($type == 2 || $type == 3)&& $accountartifact)) {
|
||||||
return TRUE;
|
if($this->getVillageField($from,"capital")==1) {
|
||||||
|
$form->addError("error","Ancient Construction Plan cannot kept in capital village");
|
||||||
|
return FALSE;
|
||||||
|
}else{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$form->addError("error","Level treasury is low. Your hero could not claim the artefact and");
|
$form->addError("error","Your level treasury is low. Your hero could not claim the artefact");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user