--- Log opened Thu Jun 14 00:00:56 2018 20180614 03:28:52-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180614 03:28:58-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180614 03:37:39-!- irker447 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20180614 03:51:35-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180614 03:51:42-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180614 04:58:34-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 264 seconds] 20180614 04:58:40-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180614 11:34:03-!- Soliton [~Soliton@wesnoth/developer/soliton] has joined #wesnoth-umc-dev 20180614 12:50:11< discordbot2> how do I make ai avoid killing an unit? 20180614 13:18:23< discordbot2> force the chance to hit it to be 0%. 20180614 13:38:04< discordbot2> better - give it the invulnerable status (new in 1.13) 20180614 13:38:35< discordbot2> it has the advantage that the AI knows that it has a 0% hitchance, instead if you use the force_to_hit macro 20180614 13:39:08< discordbot2> howeverm it will anyway the unit sometimes if there is nothing better to do for the AI 20180614 13:41:42< discordbot2> an additinal option may be to use [ai] [avoid] id=important_unit [or] canrecruit=yes [/or] [avoid] radius=1 [/ai] 20180614 13:44:11< discordbot2> which doesn't let the AI go next to the specified units - if the enemy unit attacks one of the AIs unit – and thus ends up next to it – the AI will attack her (with the units adjacent to it) 20180614 14:00:36< discordbot2> Gonna use the ai filter, it’s improbable that the unit is even killed, but it’s got to have some safety 20180614 15:03:07< discordbot2> I'm playing around with making the area around the unit impassable (the overlay without changing the cosmetics of the map) 20180614 17:19:58< discordbot2> [modify_unit] [filter] id=important_unit [/filter] invulnerable=yes [/modify_unit] 20180614 17:21:05< discordbot2> would be one way to set invulnerable status — don't forget to set it to no later 20180614 17:48:30-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180614 17:48:36-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180614 21:42:55-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180614 21:43:01-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180614 21:50:21-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180614 21:50:28-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev --- Log closed Fri Jun 15 00:00:57 2018