Use base_unit for wose sapling, dwarvish rune lord

This commit is contained in:
aquileia 2015-01-30 14:22:18 +01:00
parent 802978ce9b
commit 0f12cdbec1
2 changed files with 62 additions and 92 deletions

View file

@ -1,8 +1,8 @@
#textdomain wesnoth-thot
# Version that lacks stuff that screams "LICH!"
# This is meant to be used before it is revealed that Karrag is a lich
[unit_type]
id=Dwarvish Rune Lord
# This is a customized Dwarvish Runemaster with a chill tempest
# attack like the L3 Lich, and its own animations.
id=Dwarvish Rune Lord prerevelation
#textdomain wesnoth-units
name= _ "Dwarvish Runemaster"
race=dwarf
@ -24,10 +24,11 @@
experience=150
advances_to=null
{AMLA_DEFAULT}
undead_variation=null
hide_help=yes
do_not_list=yes
description= _ "Except for those with almost supernatural skill, the highest rank a runecrafter can rise to is that of the Dwarvish Runemaster. Striking blows nearly as powerful as those of the best warriors, they would be fearsome without their craft, but with it they are also nigh on invincible, since their runes cause the physical blows of their enemies to deal less damage than would be expected."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_ARCANE}
{DEFENSE_ANIM "units/karrag-defend.png" "units/karrag.png" {SOUND_LIST:LICH_HIT} }
die_sound=lich-die.ogg
{DEFENSE_ANIM "units/karrag-defend.png" "units/karrag.png" {SOUND_LIST:DWARF_HIT} }
die_sound={SOUND_LIST:DWARF_DIE}
[attack]
name=hammer
description= _"hammer"
@ -40,6 +41,42 @@
damage=18
number=2
[/attack]
[attack_anim]
[filter_attack]
name=hammer
[/filter_attack]
start_time=-400
offset=0.0~-0.17,-0.17~-0.25,-0.25~0.0,-0.0~0.8,0.8~0.4,0.4~0.0
[frame]
image=units/karrag-attack[1~4].png:[100*3,200]
halo=halo/karrag-attack[1~4]_halo.png:[100*3,200]
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image=units/karrag.png:100
halo=halo/karrag_halo.png:100
[/frame]
[/attack_anim]
[/unit_type]
# This is a customized Dwarvish Runemaster with a chill tempest
# attack like the L3 Lich, and its own animations.
[unit_type]
[base_unit]
id=Dwarvish Rune Lord prerevelation
[/base_unit]
id=Dwarvish Rune Lord
hide_help=no
do_not_list=no
{DEFENSE_ANIM "units/karrag-defend.png" "units/karrag.png" {SOUND_LIST:LICH_HIT} }
die_sound=lich-die.ogg
# empty attack tag to prevent overwriting the hammer attack
[attack]
[/attack]
[attack_anim]
[/attack_anim]
[attack]
name=chill tempest
description=_"chill tempest"
@ -66,37 +103,31 @@
[/attack]
[attack_anim]
[filter_attack]
name=hammer
name=shadow wave
[/filter_attack]
start_time=-400
offset=0.0~-0.17,-0.17~-0.25,-0.25~0.0,-0.0~0.8,0.8~0.4,0.4~0.0
{MISSILE_FRAME_SHADOW_WAVE}
offset=0
start_time=-600
[frame]
image=units/karrag-attack[1~4].png:[100*3,200]
halo=halo/karrag-attack[1~4]_halo.png:[100*3,200]
image=units/karrag-ranged[1~3].png:[50*2,100]
halo=halo/karrag-ranged[1~4]_halo.png:50
[/frame]
{SOUND:HIT_AND_MISS mace.wav {SOUND_LIST:MISS} -100}
[frame]
image=units/karrag.png:100
halo=halo/karrag_halo.png:100
image=units/karrag-ranged3.png:50
[/frame]
[frame]
image=units/karrag-ranged3.png
halo=halo/karrag-ranged[5~10]_halo.png:[50*5,100]
[/frame]
{SOUND:HIT_AND_MISS magic-dark-big.ogg magic-dark-miss.ogg -250}
[/attack_anim]
[attack_anim]
[filter_attack]
range=ranged
name=chill tempest
[/filter_attack]
missile_start_time=-50
[missile_frame]
duration=100
image="projectiles/darkmissile-n.png"
image_diagonal="projectiles/darkmissile-ne.png"
x=4~0
y=3~0
[/missile_frame]
start_time=-500
{MISSILE_FRAME_CHILL_WAVE 30 0}
offset=0
start_time=-600
[frame]
image=units/karrag-ranged[1~3].png:[50*2,100]
halo=halo/karrag-ranged[1~4]_halo.png:50
@ -111,47 +142,3 @@
{SOUND:HIT_AND_MISS magic-dark-big.ogg magic-dark-miss.ogg -250}
[/attack_anim]
[/unit_type]
# Version that lacks stuff that screams "LICH!"
# This is meant to be used before it is revealed that Karrag is a lich
[unit_type]
id=Dwarvish Rune Lord prerevelation
name= _ "Dwarvish Runemaster"
race=dwarf
image=units/karrag.png
halo=halo/karrag_halo.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=48
movement_type=dwarvishfoot
[resistance]
blade=50
pierce=60
impact=60
[/resistance]
movement=4
level=3
alignment=neutral
cost=50
usage=fighter
experience=150
advances_to=null
{AMLA_DEFAULT}
undead_variation=null
hide_help=yes
do_not_list=yes
description= _ "Except for those with almost supernatural skill, the highest rank a runecrafter can rise to is that of the Dwarvish Runemaster. Striking blows nearly as powerful as those of the best warriors, they would be fearsome without their craft, but with it they are also nigh on invincible, since their runes cause the physical blows of their enemies to deal less damage than would be expected."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL}
{DEFENSE_ANIM "units/karrag-defend.png" "units/karrag.png" {SOUND_LIST:LICH_HIT} }
die_sound=lich-die.ogg
[attack]
name=hammer
description= _"hammer"
icon=attacks/hammer-dwarven-runic.png
type=impact
[specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
range=melee
damage=18
number=2
[/attack]
[/unit_type]

View file

@ -1,36 +1,19 @@
#textdomain wesnoth-trow
[unit_type]
[base_unit]
id=Wose
[/base_unit]
id=Wose Sapling
name= _ "Wose Sapling"
race=wose
image="units/wose-sapling.png"
{MAGENTA_IS_THE_TEAM_COLOR}
{DEFENSE_ANIM "units/wose-sapling-defend.png" "units/wose-sapling.png" wose-hit.ogg }
[abilities]
{ABILITY_AMBUSH}
{ABILITY_REGENERATES}
[/abilities]
hitpoints=26
movement_type=treefolk
movement=4
experience=25
level=0
alignment=lawful
advances_to=Wose
cost=10
description= _ "Rarely seen, even by Elves, a Wose is an order of creature about which little is known. The Elves are the source of most of this knowledge; they know that these beings are not descended from trees, despite the similarity in form, and they know that a Wose is more closely tied to the faerie world than the Elves themselves, though in a different way. The motives and workings of their kind are unknown, though most posit the obvious idea that woses are wardens of the natural world.
Woses are utterly unwarlike, but possess a great strength. They are, however, neither used to, nor quick at moving around."+{SPECIAL_NOTES}+{SPECIAL_NOTES_REGENERATES}+{SPECIAL_NOTES_AMBUSH}
usage=fighter
die_sound=wose-die.ogg
[attack]
name=crush
icon=attacks/crush-wose.png
description= _"crush"
type=impact
range=melee
damage=6
number=2
[/attack]
[attack_anim]
[filter_attack]