diff --git a/.gitignore b/.gitignore index 42b90a25..0d5c3ff0 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ GameEngine/Notes/* # Install instalation_done marker left by install script install/installation_done +/.buildpath +/.project diff --git a/GameEngine/Battle.php b/GameEngine/Battle.php index 89cb6dbd..27b60589 100755 --- a/GameEngine/Battle.php +++ b/GameEngine/Battle.php @@ -168,6 +168,13 @@ class Battle { $walllevel=$post['walllevel']; $wall = $walllevel; $palast = $post['palast']; + + if($scout ==1 && $defscout==0) { + $walllevel = 0; + $wall = 0; + $palast = 0; + } + if($scout ==1) { $palast = 0; //no def point palace n residence when scout }