#textdomain wesnoth-units [unit_type] id=Dread Bat name= _ "Dread Bat" race=bats image="units/undead/dreadbat-se-3.png" profile="portraits/monsters/bat.png" {MAGENTA_IS_THE_TEAM_COLOR} {TRAIT_FERAL_MUSTHAVE} hitpoints=33 movement_type=smallfly movement=9 experience=100 level=2 alignment=chaotic advances_to=null {AMLA_DEFAULT} cost=34 usage=scout description= _ "The most vicious, predatory, and successful of the Blood Bats become Dread Bats, gaining the ability to drain not merely the blood but the very life energy of their victims."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DRAIN} die_sound=bat-flapping.wav [portrait] size=400 side="left" mirror="false" image="portraits/monsters/transparent/bat.png" [/portrait] [portrait] size=400 side="right" mirror="true" image="portraits/monsters/transparent/bat.png" [/portrait] [resistance] cold=70 [/resistance] [defense] village=50 [/defense] [attack] name=fangs description= _"fangs" icon=attacks/fangs-animal.png type=blade range=melee damage=6 number=4 [specials] {WEAPON_SPECIAL_DRAIN} [/specials] [/attack] [defend] direction=s,sw,se [if] hits=miss offset=0.0~-0.15,-0.15~0.0 [/if] start_time=-126 [frame] image="units/undead/dreadbat-se-[3,4].png:[1,100]" [/frame] [if] hits=hit [frame] image="units/undead/dreadbat-se-4.png:150" sound={SOUND_LIST:BAT_HIT} [/frame] [/if] [else] hits=miss,kill [frame] image="units/undead/dreadbat-se-4.png:150" [/frame] [/else] [frame] image="units/undead/dreadbat-se-3.png:1" [/frame] [/defend] [defend] direction=n,nw,ne [if] hits=miss offset=0.0~-0.15,-0.15~0.0 [/if] start_time=-126 [frame] image="units/undead/dreadbat-ne-[3,4].png:[1,100]" [/frame] [if] hits=hit [frame] image="units/undead/dreadbat-ne-4.png:150" sound={SOUND_LIST:BAT_HIT} [/frame] [/if] [else] hits=miss,kill [frame] image="units/undead/dreadbat-ne-4.png:150" [/frame] [/else] [frame] image="units/undead/dreadbat-ne-3.png:1" [/frame] [/defend] [standing_anim] layer=60 direction=s,se,sw start_time=0 [frame] image="units/undead/dreadbat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]" [/frame] [/standing_anim] [standing_anim] layer=60 direction=n,ne,nw start_time=0 [frame] image="units/undead/dreadbat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]" [/frame] [/standing_anim] [movement_anim] direction=s,se,sw start_time=0 [frame] image="units/undead/dreadbat-se-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]" [/frame] [/movement_anim] [movement_anim] direction=n,ne,nw start_time=0 [frame] image="units/undead/dreadbat-ne-[3~1,2~5,4].png:[50,60,80,60,50,60,80,60]" [/frame] [/movement_anim] [attack_anim] [filter_attack] name=fangs [/filter_attack] direction=s,se,sw offset=0.0~0.9:200,0.9~0.0:160 start_time=-200 [frame] image="units/undead/dreadbat-se-[3,2].png:30" [/frame] [frame] image="units/undead/dreadbat-se-1.png:30" sound=bat-flapping.wav [/frame] [frame] image="units/undead/dreadbat-se-[2~4,3,2,3].png:[30*2,70,50*2,40]" [/frame] [/attack_anim] [attack_anim] [filter_attack] name=fangs [/filter_attack] direction=n,ne,nw offset=0.0~0.9:200,0.9~0.0:160 start_time=-200 [frame] image="units/undead/dreadbat-ne-[3,2].png:30" [/frame] [frame] image="units/undead/dreadbat-ne-1.png:30" sound=bat-flapping.wav [/frame] [frame] image="units/undead/dreadbat-ne-[2~4,3,2,3].png:[30*2,70,50*2,40]" [/frame] {SOUND:HIT_AND_MISS bite-small.ogg {SOUND_LIST:MISS} -50} [/attack_anim] [/unit_type]