mail[Wesnoth-commits] r33680 - /trunk/data/ai/formula/


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

Header


Content

Posted by dragonking on March 15, 2009 - 16:07:
Author: dragonking
Date: Sun Mar 15 16:07:16 2009
New Revision: 33680

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33680&view=rev
Log:
Faifiles update

Modified:
    trunk/data/ai/formula/level_up_attack_eval.fai
    trunk/data/ai/formula/level_up_attack_move.fai
    trunk/data/ai/formula/patrol.fai
    trunk/data/ai/formula/recruitment.fai
    trunk/data/ai/formula/scouting_eval.fai
    trunk/data/ai/formula/scouting_move.fai

Modified: trunk/data/ai/formula/level_up_attack_eval.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/level_up_attack_eval.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/level_up_attack_eval.fai (original)
+++ trunk/data/ai/formula/level_up_attack_eval.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'level_up_attack_move.fai'
+fai 'level_up_attack_move.fai'
 
 # Score will be the probability * 100 of attacker unit (me) killing target 
unit #
 # (target) if attacker can level up and if the highest probable outcome      
   #

Modified: trunk/data/ai/formula/level_up_attack_move.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/level_up_attack_move.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/level_up_attack_move.fai (original)
+++ trunk/data/ai/formula/level_up_attack_move.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'level_up_attack_move.fat'
+fai 'level_up_attack_move.fat'
 
 # If move is chosen, attacker (me) will attack enemy unit (target) from the 
hex #
 # with highest defensive value.  This move will only be chosen if the 
attacker  #

Modified: trunk/data/ai/formula/patrol.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/patrol.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/patrol.fai (original)
+++ trunk/data/ai/formula/patrol.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'patrol.fai'
+fai 'patrol.fai'
 
 def patrol_move(me)
     if( me.vars.next_step = me.loc,
@@ -13,7 +13,7 @@
     );
 
 if( me.movement_left = 0,
-    end_turn,
+    end,
     if(attack,
         attack,
         patrol_move(me)

Modified: trunk/data/ai/formula/recruitment.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/recruitment.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/recruitment.fai (original)
+++ trunk/data/ai/formula/recruitment.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'recruitment.fai'
+fai 'recruitment.fai'
                # ===== Some general functions used later ==== #
 
 def sumarize_values( input_map )

Modified: trunk/data/ai/formula/scouting_eval.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/scouting_eval.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/scouting_eval.fai (original)
+++ trunk/data/ai/formula/scouting_eval.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'scouting_eval.fai'
+fai 'scouting_eval.fai'
 
 if(me.loc = my_leader.loc,
        -5,

Modified: trunk/data/ai/formula/scouting_move.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/scouting_move.fai?rev=33680&r1=33679&r2=33680&view=diff
==============================================================================
--- trunk/data/ai/formula/scouting_move.fai (original)
+++ trunk/data/ai/formula/scouting_move.fai Sun Mar 15 16:07:16 2009
@@ -1,4 +1,4 @@
-faifile 'scouting_move.fai'
+fai 'scouting_move.fai'
 
 if(size(villages) != 0, 
        move(me.loc, 
nearest_loc(nearest_loc(me.loc,villages),unit_moves(me.loc))),




Related Messages


Powered by MHonArc, Updated Sun Mar 15 16:20:15 2009