Added movement points instead of unit type to eval

This commit is contained in:
Douglas Hains 2008-08-18 07:09:15 +00:00
parent dc825fb3b5
commit d226edaa67

View File

@ -1,13 +1,15 @@
faifile 'scounting_eval.fai'
if(me.loc = my_leader.loc,
-5,
if(size(shroud) = 0,
-5,
if(size(enemies_in_range) != 0,
-5,
if(me.id='Ghost',
100,
-5)))
if(me.total_movement > 5,
50,
-5))))
where enemies_in_range = filter(unit_moves(me.loc),units_can_reach(enemy_moves, self)),
shroud = find_shroud()
shroud = find_shroud(),
faiend