mail[Wesnoth-commits] r33569 - /trunk/data/ai/formula/recruitment.fai


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by dragonking on March 12, 2009 - 15:29:
Author: dragonking
Date: Thu Mar 12 15:29:44 2009
New Revision: 33569

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33569&view=rev
Log:
Some info for debugging purposes

Modified:
    trunk/data/ai/formula/recruitment.fai

Modified: trunk/data/ai/formula/recruitment.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/recruitment.fai?rev=33569&r1=33568&r2=33569&view=diff
==============================================================================
--- trunk/data/ai/formula/recruitment.fai (original)
+++ trunk/data/ai/formula/recruitment.fai Thu Mar 12 15:29:44 2009
@@ -539,11 +539,11 @@
                [
                        set_var('recruits_map_creator', turn ),
                        set_var('recruits_map',
-                               recruitment_list_builder(
-                                       eval(ai),
-                                       evaluate_attackers(ai),
-                                       evaluate_defenders(ai)
-                               )
+                               debug_print('final unit evaluation: ', 
recruitment_list_builder(
+                                       debug_print('current AI evaluation 
(0-100): ', eval(ai)),
+                                       debug_print('attackers evaluation: 
',evaluate_attackers(ai)),
+                                       debug_print('defenders evaluation: 
',evaluate_defenders(ai))
+                               ))
                        )
                ],
                []




Related Messages


Powered by MHonArc, Updated Thu Mar 12 17:20:23 2009