1#textdomain wesnoth-utbs
2[unit_type]
3    id=Flesh Golem
4    name= _ "Flesh Golem"
5    race=monster
6    image="units/monsters/flesh-golem.png"
7    hitpoints=42
8    movement_type=largefoot
9    [resistance]
10        blade=90
11        pierce=90
12        impact=90
13        fire=120
14        cold=120
15    [/resistance]
16    movement=4
17    experience=100
18    {AMLA_DEFAULT}
19    level=2
20    alignment=chaotic
21    advances_to=null
22    cost=30
23    usage=fighter
24    description= _ "Incredibly strong constructs, flesh golems are created by powerful necromancers from the bodies of fallen warriors. Though these golems dutifully follow every command, and attack their enemies with ceaseless rage, the madness that possesses them has occasionally caused them to turn on their masters."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BERSERK}
25    {DEFENSE_ANIM "units/monsters/flesh-golem-defend.png" "units/monsters/flesh-golem.png" {SOUND_LIST:TROLL_HIT} }
26    die_sound={SOUND_LIST:TROLL_HIT}
27    [attack]
28        name=smashing frenzy
29        description= _"smashing frenzy"
30        icon=attacks/fist-golem.png
31        type=impact
32        [specials]
33            {WEAPON_SPECIAL_BERSERK}
34        [/specials]
35        range=melee
36        damage=10
37        number=3
38    [/attack]
39    [attack_anim]
40        [filter_attack]
41            name=smashing frenzy
42        [/filter_attack]
43        start_time=-300
44        offset=0.0:150,0.0~0.6:150,0.6~0.0:250
45        swoosh_start_time=-50
46        swoosh_offset=0.6
47        [if]
48            value_second=2,4,6,8,10,12
49            [frame]
50                image="units/monsters/flesh-golem-attack-b[1~3,1].png:[120,120,150,160]"
51            [/frame]
52            [swoosh_frame]
53                image="misc/blank-hex.png:1,units/monsters/flesh-golem-swoosh-b.png:100,misc/blank-hex.png:1"
54                auto_vflip=no
55                layer=90
56            [/swoosh_frame]
57        [/if]
58        [else]
59            [frame]
60                image="units/monsters/flesh-golem-attack-[1~3,1].png:[120,120,150,160]"
61            [/frame]
62            [swoosh_frame]
63                image="misc/blank-hex.png:1,units/monsters/flesh-golem-swoosh.png:100,misc/blank-hex.png:1"
64                auto_vflip=no
65                layer=90
66            [/swoosh_frame]
67        [/else]
68        {SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -100}
69    [/attack_anim]
70[/unit_type]
71