Fix error in Formula AI test scenario

This commit is contained in:
mattsc 2016-03-30 07:20:34 -07:00
parent 53e527acc7
commit 91130a3df2

View file

@ -142,7 +142,7 @@ Gs^Fp , Gs^Fp , Wwf , Wwf , Mm , Rd
type="Walking Corpse"
generate_name=yes
[ai]
formula="move(me.loc, nearest_loc(nearest_loc(me.loc,map(filter(map.terrain,id='castle'),loc)),unit_moves(me.loc)))"
formula="move(me.loc, nearest_loc(nearest_loc(me.loc,map(filter(map.terrain,castle=1),loc)),unit_moves(me.loc)))"
[/ai]
[/unit]