mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Admin panel fixes
+Plus and bonuses duration, can now be decreased or resetted, by inserting a negative value of days +Artifacts and artifacts villages created on a user account, won't contain any troops +Some clean up
This commit is contained in:
@@ -102,7 +102,7 @@ class funct
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
//Return the artifacts to the Natars' account
|
||||
$artifact->returnArtifactToNatars($artifactInfo);
|
||||
break;
|
||||
|
||||
@@ -139,7 +139,7 @@ class funct
|
||||
$artifactArrays[$selectedArtifact[2]][] = $chosenArtifact;
|
||||
|
||||
//Add the artifacts
|
||||
$artifact->addArtifactVillages($artifactArrays, $playerId);
|
||||
$artifact->addArtifactVillages($artifactArrays, $playerId, $playerId == Artifacts::NATARS_UID);
|
||||
break;
|
||||
|
||||
case "addWWVillages":
|
||||
@@ -154,7 +154,7 @@ class funct
|
||||
}
|
||||
|
||||
//Create the desired WW villages
|
||||
$artifact->createWWVillages($numberOfVillages, $playerId);
|
||||
$artifact->createWWVillages($numberOfVillages, $playerId, $playerId == Artifacts::NATARS_UID);
|
||||
break;
|
||||
|
||||
case "killHero":
|
||||
|
||||
Reference in New Issue
Block a user