1#textdomain wesnoth-thot
2[unit_type]
3    id=Dwarvish Masked Dragonguard
4    name= _ "Dwarvish Masked Dragonguard"
5    race=dwarf
6    hitpoints=59
7    movement_type=dwarvishfoot
8    movement=4
9    experience=150
10    level=3
11    alignment=neutral
12    advances_to=null
13    {AMLA_DEFAULT}
14    cost=46
15    usage=archer
16    #textdomain wesnoth-units
17    description= _ "It is not clear why the Dragonguards are called what they are, a name given by their dwarven brethren. Some speculate that the name comes from their weapon of choice, these strange staves that belch fire and death. Others have surmised that it is because such weapons would be a threat against even a true Dragon, should such a thing be seen again in the known world. Whatever the case, it is for these weapons that the guardians of the great Dwarven citadels are both renowned and feared; weapons that have broken the mightiest of warriors with a single blow."
18    image="units/masked_dragonguard.png"
19    {DEFENSE_ANIM_RANGE "units/masked_dragonguard-defend.png" "units/masked_dragonguard-melee1.png" {SOUND_LIST:DWARF_HIT} melee}
20    {DEFENSE_ANIM_RANGE "units/masked_dragonguard-defend.png" "units/masked_dragonguard.png" {SOUND_LIST:DWARF_HIT} ranged}
21    die_sound={SOUND_LIST:DWARF_DIE}
22    [attack]
23        name=dagger
24        description=_"dagger"
25        icon=attacks/dagger-human.png
26        type=blade
27        range=melee
28        damage=9
29        number=3
30    [/attack]
31    [attack]
32        name=dragonstaff
33        description=_"dragonstaff"	# wmllint: no spellcheck (until name->id)
34        #textdomain wesnoth-thot
35        type=pierce
36        range=ranged
37        damage=40
38        number=1
39        icon=attacks/dragonstaff.png
40    [/attack]
41    [attack_anim]
42        [filter_attack]
43            name=dragonstaff
44        [/filter_attack]
45        start_time=-600
46        [frame]
47            image="units/masked_dragonguard-defend.png:200"
48        [/frame]
49        [if]
50            {MISSILE_FRAME_MUZZLE_FLARE_HIT_DIAG_SOUTH 0 0}
51            direction=se,sw
52            hits=yes
53            [frame]
54                image="units/masked_dragonguard-attack-se.png:400"
55                sound=dragonstick.ogg
56            [/frame]
57        [/if]
58        [else]
59            {MISSILE_FRAME_MUZZLE_FLARE_MISS 0 0}
60            direction=se,sw
61            hits=no
62            [frame]
63                image="units/masked_dragonguard-attack-se.png:400"
64                sound=thunderstick-miss.ogg
65            [/frame]
66        [/else]
67        [else]
68            {MISSILE_FRAME_MUZZLE_FLARE_HIT_DIAG_NORTH 0 20}
69            direction=ne,nw
70            hits=yes
71            [frame]
72                image="units/masked_dragonguard-attack-ne.png:400"
73                sound=dragonstick.ogg
74            [/frame]
75        [/else]
76        [else]
77            {MISSILE_FRAME_MUZZLE_FLARE_MISS 0 0}
78            direction=ne,nw
79            hits=no
80            [frame]
81                image="units/masked_dragonguard-attack-ne.png:400"
82                sound=thunderstick-miss.ogg
83            [/frame]
84        [/else]
85        [else]
86            {MISSILE_FRAME_MUZZLE_FLARE_HIT_NORTH 0 20}
87            hits=yes
88            direction=n
89            [frame]
90                image="units/masked_dragonguard-attack-n.png:400"
91                sound=dragonstick.ogg
92            [/frame]
93        [/else]
94        [else]
95            {MISSILE_FRAME_MUZZLE_FLARE_MISS 0 0}
96            hits=no
97            direction=n
98            [frame]
99                image="units/masked_dragonguard-attack-n.png:400"
100                sound=thunderstick-miss.ogg
101            [/frame]
102        [/else]
103        [else]
104            {MISSILE_FRAME_MUZZLE_FLARE_HIT_SOUTH 0 0}
105            direction=s
106            hits=yes
107            [frame]
108                image="units/masked_dragonguard-attack-s.png:400"
109                sound=dragonstick.ogg
110            [/frame]
111        [/else]
112        [else]
113            {MISSILE_FRAME_MUZZLE_FLARE_MISS 0 0}
114            direction=s
115            hits=no
116            [frame]
117                image="units/masked_dragonguard-attack-s.png:400"
118                sound=thunderstick-miss.ogg
119            [/frame]
120        [/else]
121        [frame]
122            image="units/masked_dragonguard-attack-se.png:50"
123        [/frame]
124    [/attack_anim]
125    [attack_anim]
126        [filter_attack]
127            name=dagger
128        [/filter_attack]
129        start_time=-200
130        [frame]
131            image="units/masked_dragonguard-melee[1,2,1].png:[100,150,100]"
132        [/frame]
133        {SOUND:HIT_AND_MISS knife.ogg {SOUND_LIST:MISS} -100}
134    [/attack_anim]
135[/unit_type]
136