diff military.yaml @ 197:dbdd7dcc91c6

fixed for friendly troop and corruption
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 03 Nov 2008 03:17:43 +0800
parents 2362c8c8909e
children 8a11302abf7f
line wrap: on
line diff
--- a/military.yaml	Mon Nov 03 02:00:29 2008 +0800
+++ b/military.yaml	Mon Nov 03 03:17:43 2008 +0800
@@ -8,7 +8,9 @@
                   - is_shipyard_level_enough:
                      0: 
                         - is_constructing:
-                           0: build_shipyard
+                           0: 
+                              - is_any_corruption:
+                                 0: build_shipyard
                      1:
                         - is_shipyard_upgrading:
                            0:
@@ -28,7 +30,9 @@
                   - is_barracks_level_enough:
                      0:
                         - is_constructing:
-                           0: build_barracks
+                           0: 
+                              - is_any_corruption:
+                                 0: build_barracks
                      1:
                         - is_barracks_upgrading:
                            0: