Tutorial: allow fighters to levelup
This commit is contained in:
parent
32d7b72e1c
commit
008c6fac42
4 changed files with 104 additions and 6 deletions
|
@ -9,9 +9,8 @@
|
|||
hitpoints=32
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
experience=28
|
||||
advances_to=null
|
||||
{AMLA_DEFAULT}
|
||||
experience=33
|
||||
advances_to=Warrior
|
||||
level=1
|
||||
alignment=lawful
|
||||
cost=18
|
||||
|
|
|
@ -11,9 +11,8 @@
|
|||
hitpoints=32
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
experience=28
|
||||
advances_to=null
|
||||
{AMLA_DEFAULT}
|
||||
experience=33
|
||||
advances_to=Warrioress
|
||||
level=1
|
||||
alignment=lawful
|
||||
cost=18
|
||||
|
|
49
data/campaigns/tutorial/units/Warrior.cfg
Normal file
49
data/campaigns/tutorial/units/Warrior.cfg
Normal file
|
@ -0,0 +1,49 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
[unit_type]
|
||||
id=Warrior
|
||||
name= _ "Warrior"
|
||||
race=human
|
||||
num_traits=0
|
||||
image="units/konrad-fighter.png"
|
||||
profile=portraits/konrad.png
|
||||
hitpoints=50
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
experience=100
|
||||
advances_to=null
|
||||
{AMLA_DEFAULT}
|
||||
level=2
|
||||
alignment=lawful
|
||||
cost=32
|
||||
usage=mixed fighter
|
||||
description= _ "With more experience, Fighters have honed their skills with the sword and become powerful Warriors."
|
||||
die_sound={SOUND_LIST:HUMAN_DIE}
|
||||
{DEFENSE_ANIM "units/konrad-fighter-defend.png" "units/konrad-fighter.png" {SOUND_LIST:HUMAN_HIT} }
|
||||
[attack]
|
||||
name=sword
|
||||
#textdomain wesnoth-units
|
||||
description= _"sword"
|
||||
#textdomain wesnoth-tutorial
|
||||
icon=attacks/sword-human.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=9
|
||||
number=4
|
||||
[/attack]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=sword
|
||||
[/filter_attack]
|
||||
start_time=-125
|
||||
[frame]
|
||||
image="units/konrad-fighter.png:50"
|
||||
[/frame]
|
||||
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
|
||||
[frame]
|
||||
image="units/konrad-fighter-attack-[1~2].png:[150,100]"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/konrad-fighter.png:50"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
51
data/campaigns/tutorial/units/Warrioress.cfg
Normal file
51
data/campaigns/tutorial/units/Warrioress.cfg
Normal file
|
@ -0,0 +1,51 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
[unit_type]
|
||||
id=Warrioress
|
||||
name= _ "female^Warrior"
|
||||
gender=female
|
||||
race=human
|
||||
num_traits=0
|
||||
image="units/human-princess.png"
|
||||
{DEFENSE_ANIM "units/human-princess-defend-2.png" "units/human-princess-defend-1.png" {SOUND_LIST:HUMAN_FEMALE_HIT} }
|
||||
profile=portraits/lisar.png
|
||||
hitpoints=50
|
||||
movement_type=smallfoot
|
||||
movement=6
|
||||
experience=100
|
||||
advances_to=null
|
||||
{AMLA_DEFAULT}
|
||||
level=2
|
||||
alignment=lawful
|
||||
cost=32
|
||||
usage=mixed fighter
|
||||
description= _ "With more experience, Fighters have honed their skills with the sword and become powerful Warriors."
|
||||
die_sound={SOUND_LIST:HUMAN_FEMALE_DIE}
|
||||
[attack]
|
||||
name=sword
|
||||
#textdomain wesnoth-units
|
||||
description= _"sword"
|
||||
#textdomain wesnoth-tutorial
|
||||
icon=attacks/saber-human.png
|
||||
type=blade
|
||||
range=melee
|
||||
damage=9
|
||||
number=4
|
||||
[/attack]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
range=melee
|
||||
[/filter_attack]
|
||||
|
||||
start_time=-360
|
||||
offset=0.0:120,0.0~0.6:170,0.6:70,0.6~0.0:300
|
||||
|
||||
[frame]
|
||||
image="units/human-princess-attack-[1~6].png:[95,95,95,75,75,125]"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/human-princess.png:100"
|
||||
[/frame]
|
||||
|
||||
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
Loading…
Add table
Reference in a new issue