wesnoth/data/core/units/nagas/Guard_Shield.cfg
2022-04-30 14:23:32 -05:00

95 lines
2.9 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Naga Shield Guard
name= _ "Naga Shield Guard"
race=naga
image="units/nagas/guardian/warden.png"
profile=portraits/nagas/naga-mace_warrior2.webp
hitpoints=50
movement_type=naga
movement=5
experience=70
[resistance]
blade=90
pierce=90
impact=90
[/resistance]
level=2
alignment=neutral
advances_to=Naga High Guard
cost=25
usage=fighter
description= _ "The veteran naga guards are more difficult to dislodge from their posts because of effective use of a shield in melee techniques. This tactic does nothing against ranged attacks, but the nagas can usually seek better terrain advantage in such situations."
die_sound=naga-die.ogg
{DEFENSE_ANIM_FILTERED "units/nagas/guardian/warden-shield-defend2.png" "units/nagas/guardian/warden-shield-attack-2.png" {SOUND_LIST:NAGA_HIT} (
[filter]
type=Naga Shield Guard
[/filter]
[filter_second_attack]
name=shield
[/filter_second_attack]
)}
{DEFENSE_ANIM "units/nagas/guardian/warden-defend-2.png" "units/nagas/guardian/warden-defend-1.png" {SOUND_LIST:NAGA_HIT} }
[attack]
name=mace
description= _"mace"
type=impact
range=melee
damage=10
number=3
[/attack]
[attack]
name=shield
description= _"shield"
type=impact
range=melee
damage=8
number=1
[specials]
{WEAPON_SPECIAL_ABSORB 0.75}
[/specials]
icon=attacks/heater-shield.png
[/attack]
[attack_anim]
[filter_attack]
name=mace
[/filter_attack]
start_time=-500
offset=0.0:300,0.0~0.6:200,0.6~0.0:300
[frame]
image="units/nagas/guardian/warden-attack-[1~6].png:[100,200,100*4]"
[/frame]
[frame]
duration=100
image="units/nagas/guardian/warden.png"
[/frame]
{SOUND:HIT_AND_MISS mace.ogg mace-miss.ogg -100}
[/attack_anim]
[attack_anim]
[filter_attack]
name=shield
[/filter_attack]
start_time=-450
offset=0.0:250,0.0~0.5:200,0.5~0.0:200
[frame]
image="units/nagas/guardian/warden-shield-attack-[1~3].png:[100*2,150]"
[/frame]
[if]
hits=yes
[frame]
image="units/nagas/guardian/warden-shield-attack-4.png~BLIT(units/nagas/guardian/warden-shield-swoosh.png):200"
[/frame]
[/if]
[else]
hits=no
[frame]
image="units/nagas/guardian/warden-shield-attack-4.png:200"
[/frame]
[/else]
[frame]
image="units/nagas/guardian/warden-shield-attack-2.png:100"
[/frame]
{SOUND:HIT_AND_MISS mace.ogg mace-miss.ogg -100}
[/attack_anim]
[/unit_type]