Made Haunt and Ethereal Ghost be based on Ghost

(copying most attributes with base_unit).
This commit is contained in:
Jan Rietema 2008-02-01 13:59:06 +00:00
parent 9b4c01266a
commit 1e73dd3a4b
2 changed files with 6 additions and 177 deletions

View file

@ -1,12 +1,10 @@
[unit]
#textdomain wesnoth-utbs
[base_unit]
id=Ghost
[/base_unit]
id=EGhost
name= _ "Ethereal Ghost"
race=undead
image="units/undead/ghost.png"
{DEFENSE_ANIM "units/undead/ghost-defend.png" "units/undead/ghost.png" wail.wav }
hitpoints=18
movement_type=undeadspirit
[movement_costs]
cavewall=1
[/movement_costs]
@ -15,92 +13,9 @@
[/defense]
movement=7
experience=30
level=1
alignment=chaotic
advanceto=EWraith,EShadow
cost=20
usage=scout
unit_description= _ "It is one of the greater mercies of creation that a human soul is immutable, and cannot be destroyed. However, the many things a necromancer can do, despite this, are entirely horrifying.
Trapped within a shroud of vile enchantments, a spirit likens unto the wind in the sails of a ship. The contrivance that results from this prison is an unfailing servant, which can be bound to whatever task their master sees fit."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DRAIN}+{SPECIAL_NOTES_SPIRIT}+{SPECIAL_NOTES_ARCANE}+_"SPECIAL_NOTE^ This unit is able to move through solid stone walls."
die_sound=wail-long.wav
[attack]
name=touch
description= _ "touch"
icon=attacks/touch-undead.png
type=arcane
range=melee
damage=4
number=3
[specials]
{WEAPON_SPECIAL_DRAIN}
[/specials]
[/attack]
[attack]
name=wail
description= _ "wail"
type=cold
range=ranged
damage=3
number=3
[/attack]
[attack_anim]
[attack_filter]
name=wail
[/attack_filter]
{MISSILE_FRAME_WAIL}
[frame]
begin=-200
end=-100
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=-100
end=0
image="units/undead/ghost-attack-2.png"
sound=wail-sml.wav
[/frame]
[frame]
begin=0
end=75
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=75
end=100
image="units/undead/ghost.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
[frame]
begin=-225
end=-200
image="units/undead/ghost.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=-100
end=100
image="units/undead/ghost-attack-2.png"
sound=wail-sml.wav
[/frame]
[frame]
begin=100
end=175
image="units/undead/ghost-defend.png"
[/frame]
[frame]
begin=200
end=200
image="units/undead/ghost-attack-1.png"
[/frame]
[/attack_anim]
[/unit]

View file

@ -1,103 +1,17 @@
# same as a ghost, except that a haunt can't move
[unit]
#textdomain wesnoth-utbs
[base_unit]
id=Ghost
[/base_unit]
id=Haunt
name= _ "Haunt"
race=undead
image="units/undead/ghost.png"
{DEFENSE_ANIM "units/undead/ghost-defend.png" "units/undead/ghost.png" groan.wav }
[movement_costs]
cave=99
grassland=99
[/movement_costs]
hitpoints=18
movement_type=undeadspirit
movement=7
experience=30
level=1
alignment=chaotic
advanceto=Wraith,Shadow
cost=20
usage=scout
unit_description= _ "Haunts are the tortured souls of those who have died suddenly and never been laid to rest. Paralyzed by the shock of their death, they are cursed to forever haunt the place of their death and relive their final moments over and over and over."+{SPECIAL_NOTES}+{SPECIAL_NOTES_DRAIN}+{SPECIAL_NOTES_SPIRIT}+{SPECIAL_NOTES_ARCANE}
die_sound=wail-long.wav
[attack]
name=touch
description= _ "touch"
icon=attacks/touch-undead.png
type=arcane
range=melee
damage=4
number=3
[specials]
{WEAPON_SPECIAL_DRAIN}
[/specials]
[/attack]
[attack]
name=wail
description= _ "wail"
type=cold
range=ranged
damage=3
number=3
[/attack]
[attack_anim]
[attack_filter]
name=wail
[/attack_filter]
{MISSILE_FRAME_WAIL}
[frame]
begin=-200
end=-100
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=-100
end=0
image="units/undead/ghost-attack-2.png"
sound=wail-sml.wav
[/frame]
[frame]
begin=0
end=75
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=75
end=100
image="units/undead/ghost.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
[frame]
begin=-225
end=-200
image="units/undead/ghost.png"
[/frame]
[frame]
begin=-200
end=-100
image="units/undead/ghost-attack-1.png"
[/frame]
[frame]
begin=-100
end=100
image="units/undead/ghost-attack-2.png"
sound=wail-sml.wav
[/frame]
[frame]
begin=100
end=175
image="units/undead/ghost-defend.png"
[/frame]
[frame]
begin=200
end=200
image="units/undead/ghost-attack-1.png"
[/frame]
[/attack_anim]
[/unit]