wesnoth/data/ai/formula/level_up_attack_move.fai
2016-07-29 12:52:10 -04:00

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