mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 23:27:08 +00:00
Added movement points instead of unit type to eval
This commit is contained in:
parent
dc825fb3b5
commit
d226edaa67
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user