mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 07:43:31 +00:00
9 lines
184 B
Plaintext
9 lines
184 B
Plaintext
if(size(shroud) = 0,
|
|
-5,
|
|
if(size(enemies_in_range) != 0,
|
|
-5,
|
|
if(me.id='Ghost',
|
|
100,
|
|
-5)))
|
|
where enemies_in_range = filter(unit_moves(me.loc),units_can_reach(enemy_moves, self))
|