wesnoth/data/core/units/trolls/Whelp.cfg
doofus-01 20b031949f
1.17 various troll sprite updates (#7844)
* remove bones from troll zombie sprites

* great troll defense frames

* some wounded bobbing work

* whelp die anim

* sprite palette cleanup
2023-09-04 18:09:53 -07:00

100 lines
3.2 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Troll Whelp
name= _ "Troll Whelp"
race=troll
image="units/trolls/whelp.png"
profile="portraits/trolls/whelp.webp"
hitpoints=42
movement_type=largefoot
movement=4
experience=36
level=1
alignment=chaotic
advances_to=Troll,Troll Rocklobber
cost=13
usage=fighter
description= _ "Describing a troll as a whelp is something of an oxymoron, given that their bodies are already much hardier than that of a grown man. They are clumsy and not yet capable of walking properly, forced instead to shamble about on all fours, but any difficulty this causes them is more than made up for by the raw strength of their race."
die_sound={SOUND_LIST:TROLL_DIE}
[abilities]
{ABILITY_REGENERATES}
[/abilities]
[attack]
name=fist
description=_"fist"
icon=attacks/fist-troll.png
type=impact
range=melee
damage=7
number=2
[/attack]
{DEFENSE_ANIM_DIRECTIONAL "units/trolls/whelp-defend.png" "units/trolls/whelp-defend-2.png" "units/trolls/whelp-ne-defend-2.png:50,units/trolls/whelp-ne-defend-3.png" "units/trolls/whelp-ne-defend.png" {SOUND_LIST:TROLL_HIT} }
{STANDING_ANIM_DIRECTIONAL "units/trolls/whelp.png" "units/trolls/whelp-ne.png"}
[death]
start_time=0
alpha=1.0:890,1.0~0.0:210
# need to filter for plague attack so the zombie mechanic doesn't look odd
[filter_attack]
[not]
special_type=plague
[/not]
[/filter_attack]
[frame]
image="units/trolls/whelp-die-[1~8].png:[280,230,150,80*4,120]"
[/frame]
[frame]
image="units/trolls/whelp-die-8.png~O(0.0):1"
[/frame]
[/death]
[standing_anim]
start_time=0
{WOUNDED_UNIT ()}
[if]
direction=s,se,sw
[frame]
image="units/trolls/whelp.png:2200"
[/frame]
[frame]
image="units/trolls/whelp-bob-se-[1,2,1].png:[320,400,650]"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/trolls/whelp-ne.png:2200"
[/frame]
[frame]
image="units/trolls/whelp-bob-ne-[1,2,1].png:[320,400,650]"
[/frame]
[/else]
[/standing_anim]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[if]
direction=s,se,sw
[frame]
image="units/trolls/whelp-idle-[1~7,6,7~1].png:[100*6,150,175,150,100*6]"
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image="units/trolls/whelp-ne-idle-[1~6,5,6~1].png:[100*5,150,175,150,100*5]"
[/frame]
[/else]
[/idle_anim]
[attack_anim]
[filter_attack]
name=fist
[/filter_attack]
start_time=-250
[frame]
image="units/trolls/whelp-attack-[1~3,1].png:[100,125,100,75]"
[/frame]
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -150}
[frame]
image="units/trolls/whelp.png:50"
[/frame]
[/attack_anim]
[/unit_type]