Author: dragonking
Date: Sun Apr 12 22:26:51 2009
New Revision: 34824

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34824&view=rev
Log:
Small poisoner_eval formula improvement

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

Modified: trunk/data/ai/formula/poisoner_eval.fai
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ai/formula/poisoner_eval.fai?rev=34824&r1=34823&r2=34824&view=diff
==============================================================================
--- trunk/data/ai/formula/poisoner_eval.fai (original)
+++ trunk/data/ai/formula/poisoner_eval.fai Sun Apr 12 22:26:51 2009
@@ -7,6 +7,8 @@
        target.max_experience - target.experience <= 8,-1,
        index_of('regenerates',target.abilities) != -1,-1,
        index_of('poisoned',keys(target.states)) != -1,-1,
+       find( villages, 'vill', vill = target.loc ), -1,
+       target.leader, 5,
        1
 )
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to