Use the mainline Vampire Bat instead of the special Cave Bat unit in DiD;

they're functionally the same.

Also, clean up a minor problem caused by the recent change in bat images.
This commit is contained in:
Eric S. Raymond 2008-01-21 18:28:02 +00:00
parent 937f600c90
commit 1df3a924c4
3 changed files with 6 additions and 140 deletions

View file

@ -193,12 +193,12 @@
{GEN_GUARD (Giant Rat) 5 24 34}
{GEN_GUARD (Giant Rat) 5 18 18}
{GEN_GUARD (Giant Rat) 5 22 5}
{GEN_GUARD (Cave Bat) 5 29 26}
{GEN_GUARD (Cave Bat) 5 26 31}
{GEN_GUARD (Cave Bat) 5 19 32}
{GEN_GUARD (Cave Bat) 5 19 23}
{GEN_GUARD (Cave Bat) 5 18 13}
{GEN_GUARD (Cave Bat) 5 18 34}
{GEN_GUARD (Vampire Bat) 5 29 26}
{GEN_GUARD (Vampire Bat) 5 26 31}
{GEN_GUARD (Vampire Bat) 5 19 32}
{GEN_GUARD (Vampire Bat) 5 19 23}
{GEN_GUARD (Vampire Bat) 5 18 13}
{GEN_GUARD (Vampire Bat) 5 18 34}
{GEN_GUARD (Giant Spider) 5 7 12}
{GEN_GUARD (Giant Spider) 5 8 13}
{GEN_GUARD (Giant Spider) 5 6 15}

View file

@ -1,133 +0,0 @@
#textdomain wesnoth-did
[unit]
id=Cave Bat
name= _ "Cave Bat"
race=monster
image="units/undead/bat.png"
ellipse="misc/ellipse-nozoc"
hitpoints=14
movement_type=fly
[movement_costs]
cave=1
[/movement_costs]
movement=8
experience=14
level=0
alignment=chaotic
advanceto=null
{AMLA_TOUGH 2}
cost=13
usage=scout
unit_description= _ "Although cave bats are much larger and more agressive than their harmless cousins, they are still little more than a nuisance for a trained warrior."
{DEFENSE_ANIM "units/undead/bat-defend.png" "units/undead/bat.png" {SOUND_LIST:BAT_HIT} }
die_sound=bat-flapping.wav
[movement_anim]
[frame]
begin=0
end=150
image="units/undead/bat-defend.png"
[/frame]
[/movement_anim]
[death]
[frame]
begin=0
end=80
image="units/undead/bat-die-1.png"
[/frame]
[frame]
begin=80
end=160
image="units/undead/bat-die-2.png"
[/frame]
[frame]
begin=160
end=240
image="units/undead/bat-die-3.png"
[/frame]
[frame]
begin=240
end=320
image="units/undead/bat-die-4.png"
[/frame]
[frame]
begin=320
end=400
image="units/undead/bat-die-5.png"
[/frame]
[frame]
begin=400
end=480
image="units/undead/bat-die-6.png"
[/frame]
[frame]
begin=480
end=560
image="units/undead/bat-die-7.png"
[/frame]
[/death]
[attack]
name=fangs
description=_ "fangs"
icon=attacks/fangs-animal.png
type=blade
range=melee
damage=3
number=2
[/attack]
[attack_anim]
[attack_filter]
name=fangs
[/attack_filter]
hits=yes
[frame]
begin=-250
end=-100
image="units/undead/bat-die-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
begin=-100
end=50
image="units/undead/bat-attack.png"
sound=bite-small.ogg
[/frame]
[frame]
begin=50
end=125
image="units/undead/bat-defend.png"
[/frame]
[frame]
begin=125
end=200
image="units/undead/bat.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=fangs
[/attack_filter]
hits=no
[frame]
begin=-250
end=-100
image="units/undead/bat-die-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
begin=-100
end=50
image="units/undead/bat-attack.png"
sound={SOUND_LIST:MISS}
[/frame]
[frame]
begin=50
end=125
image="units/undead/bat-defend.png"
[/frame]
[frame]
begin=125
end=200
image="units/undead/bat.png"
[/frame]
[/attack_anim]
[/unit]

View file

@ -17,7 +17,6 @@
cost=13
usage=scout
unit_description= _ "Vampire bats are flying beasts that feed on the blood of other creatures. While their fangs are not very powerful, the health of victims is drained away along with their blood, and given to the Bats."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DRAIN}
{DEFENSE_ANIM "units/undead/bat-defend.png" "units/undead/bat.png" {SOUND_LIST:BAT_HIT} }
die_sound=bat-flapping.wav
[resistance]
cold=70