mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-15 17:25:32 +00:00
11 lines
446 B
Plaintext
11 lines
446 B
Plaintext
wfl 'level_up_attack_move.fat'
|
|
|
|
# If move is chosen, attacker (me) will attack enemy unit (target) from the hex #
|
|
# with highest defensive value. This move will only be chosen if the attacker #
|
|
# can level up with a kill of target and has a high probability of killing in #
|
|
# a single round #
|
|
|
|
attack(me.loc, get_best_defense_loc(my_moves.moves, me, target), target.loc)
|
|
|
|
wflend
|