mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 07:11:02 +00:00
fix: spies fixed via armando1980
This commit is contained in:
@@ -20,3 +20,5 @@ GameEngine/Notes/*
|
|||||||
|
|
||||||
# Install instalation_done marker left by install script
|
# Install instalation_done marker left by install script
|
||||||
install/installation_done
|
install/installation_done
|
||||||
|
/.buildpath
|
||||||
|
/.project
|
||||||
|
|||||||
@@ -168,6 +168,13 @@ class Battle {
|
|||||||
$walllevel=$post['walllevel'];
|
$walllevel=$post['walllevel'];
|
||||||
$wall = $walllevel;
|
$wall = $walllevel;
|
||||||
$palast = $post['palast'];
|
$palast = $post['palast'];
|
||||||
|
|
||||||
|
if($scout ==1 && $defscout==0) {
|
||||||
|
$walllevel = 0;
|
||||||
|
$wall = 0;
|
||||||
|
$palast = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if($scout ==1) {
|
if($scout ==1) {
|
||||||
$palast = 0; //no def point palace n residence when scout
|
$palast = 0; //no def point palace n residence when scout
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user