Merge pull request #4549 from slavrenyuk/trow_fixed_haldric_defense_animation

TRoW: Fixed Haldric's defense animations
This commit is contained in:
nemaara 2019-11-04 18:30:01 -05:00 committed by GitHub
commit b0b2e064d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View file

@ -20,8 +20,15 @@
description= _ "The rank of a noble Commander is held by those who lead battle groups into combat. Possessing leadership skills, they give lower-level units in adjacent hexes improved performance in combat. Commanders are best skilled with the sword, although they also carry a bow to use when necessary. If the Commander is lost, so is the battle."
{NOTE_LEADERSHIP}
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM_RANGE "units/noble-commander-defend.png" "units/noble-commander.png" {SOUND_LIST:HUMAN_HIT} melee}
{DEFENSE_ANIM_RANGE "units/noble-commander-bow-defend.png" "units/noble-commander-bow.png" {SOUND_LIST:HUMAN_HIT} ranged}
# first defense animation is selected for sword and ruby of fire, second is used for bow only
{DEFENSE_ANIM "units/noble-commander-defend.png" "units/noble-commander.png" {SOUND_LIST:HUMAN_HIT}}
{DEFENSE_ANIM_FILTERED "units/noble-commander-bow-defend.png" "units/noble-commander-bow.png" {SOUND_LIST:HUMAN_HIT} (
[filter_second_attack]
name=bow
[/filter_second_attack]
)}
[attack]
name=sword
#textdomain wesnoth-units

View file

@ -21,8 +21,15 @@
description= _ "The noble leaders of many troops, Lords are especially strong in melee combat, and also possess skill with the bow. Like Commanders, Lords possess leadership skills, and improve the fighting ability of all adjacent lower-level units."
{NOTE_LEADERSHIP}
die_sound={SOUND_LIST:HUMAN_DIE}
{DEFENSE_ANIM_RANGE "units/noble-lord-defend.png" "units/noble-lord.png" {SOUND_LIST:HUMAN_HIT} melee}
{DEFENSE_ANIM_RANGE "units/noble-lord-bow-defend.png" "units/noble-lord-bow.png" {SOUND_LIST:HUMAN_HIT} ranged}
# first defense animation is selected for sword and ruby of fire, second is used for bow only
{DEFENSE_ANIM "units/noble-lord-defend.png" "units/noble-lord.png" {SOUND_LIST:HUMAN_HIT}}
{DEFENSE_ANIM_FILTERED "units/noble-lord-bow-defend.png" "units/noble-lord-bow.png" {SOUND_LIST:HUMAN_HIT} (
[filter_second_attack]
name=bow
[/filter_second_attack]
)}
[attack]
name=sword
#textdomain wesnoth-units