various small fixes (#5495)

* units - set image_icon for sidebar display of Cataphract

* units - remove inactive ability description for Diversion

* add recruit/recall to event list triggering check for diversion animation (Dunefolk Falconer)
This commit is contained in:
doofus-01 2021-01-24 16:59:54 -08:00 committed by GitHub
parent 818077cf18
commit 2a8baa9590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -118,7 +118,6 @@ This ability will not cure an affected unit of poison, however, only delay its e
name= _ "diversion"
female_name= _ "female^diversion"
description= _ "If there is an enemy of the target on the opposite side of the target, this unit diverts the targets attention and reduces its chance to hit by 20%."
description_inactive= _ "This is inactive for now."
affect_self=no
affect_allies=no
affect_enemies=yes

View file

@ -8,6 +8,7 @@ units/dunefolk/rider/#enddef
name= _ "Dune Cataphract"
race=dunefolk
image="{PATH_TEMP}cataphract.png"
image_icon="{PATH_TEMP}cataphract.png~SCALE_INTO_SHARP(72,72)"
hitpoints=71
movement_type=dunearmoredhorse
movement=7

View file

@ -100,7 +100,7 @@ function wesnoth.wml_actions.on_undo_diversion(cfg)
status_anim_update(true)
end
on_event("moveto, die", function()
on_event("moveto, die, recruit, recall", function()
status_anim_update()
end)