mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 09:06:08 +00:00
update: now artefacts not affect on natars
This commit is contained in:
@@ -2855,9 +2855,9 @@ class MYSQL_DB {
|
||||
|
||||
function getOwnUniqueArtefactInfo2($id, $type, $size, $mode) {
|
||||
if(!$mode){
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "artefacts WHERE owner = $id AND type = $type AND size=$size";
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "artefacts WHERE owner = $id AND owner != 3 AND type = $type AND size=$size";
|
||||
}else{
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "artefacts WHERE vref = $id AND type = $type AND size=$size";
|
||||
$q = "SELECT * FROM " . TB_PREFIX . "artefacts WHERE vref = $id AND owner != 3 AND type = $type AND size=$size";
|
||||
}
|
||||
$result = mysql_query($q, $this->connection);
|
||||
return $this->mysql_fetch_all($result);
|
||||
|
||||
Reference in New Issue
Block a user