UtBS: Fixed not defined difficult level when using the new units.

Repaired some time of day name clashes.  Updates to the units.
This commit is contained in:
Fabian Müller 2010-08-02 09:31:06 +00:00
parent b1250b0a37
commit b167779ae7
8 changed files with 51 additions and 23 deletions

View file

@ -17,10 +17,11 @@
rank=250
define=CAMPAIGN_DESERT
first_scenario=1_The_Morning_After
difficulties=EASY,NORMAL,HARD
difficulties=EASY,NORMAL,HARD,NORMAL_NEW
difficulty_descriptions={MENU_IMG_TXT2 "data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/hunter.png~RC(magenta>red)" (_"Desert Hunter") _"(Normal)"} +
";*" + {MENU_IMG_TXT2 "data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/sentinel.png~RC(magenta>red)" (_"Desert Sentinel") _"(Challenging)"} +
";" + {MENU_IMG_TXT2 "data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/prowler.png~RC(magenta>red)" (_"Desert Prowler") _"(Nightmare)"}
";" + {MENU_IMG_TXT2 "data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/prowler.png~RC(magenta>red)" (_"Desert Prowler") _"(Nightmare)"} +
";" + {MENU_IMG_TXT2 "data/campaigns/Under_the_Burning_Suns/images/units/elves-desert/sentinel.png~RC(magenta>red)" (_"Desert Prowler") _"(Challenging + NewUnits)"}
description= _ "In the distant future a small band of elves struggles to survive amidst the ruins of fallen empires. Lead your people out of the desert on an epic journey to find a new home.
@ -121,7 +122,10 @@
[/campaign]
#ifdef CAMPAIGN_DESERT
#ifdef NORMAL_NEW
#define NORMAL
#enddef
#endif
[binary_path]
path=data/campaigns/Under_the_Burning_Suns
[/binary_path]
@ -137,6 +141,7 @@
{campaigns/Under_the_Burning_Suns/units/nagas}
{campaigns/Under_the_Burning_Suns/units/orcs}
{campaigns/Under_the_Burning_Suns/units/undead}
{campaigns/Under_the_Burning_Suns/units/quenoth}
[hide_help]
type_adv_tree=Elvish Fighter,Elvish Shaman,Elvish Archer,Elvish Scout,Elvish Lord,Wose
type=Elvish Lady

View file

@ -24,6 +24,10 @@
description= _ "Slayer's dropped the Twinedge in favour of the Twinax, a twosided lirpa."
die_sound={SOUND_LIST:ELF_HIT}
[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]
[portrait]
size=400
side="left"

View file

@ -18,11 +18,15 @@
level=2
alignment=liminal
advances_to=Quenoth Twin Master
advances_to=Quenoth Slayer
[abilities]
{ABILITY_LEADERSHIP_LEVEL_2}
[/abilities]
cost=32
usage=fighter
description= _ "This skilled warrior has specialised on the use of the 'Twinedge', a twosided spearedge similar to a glaive. Their combat tactic allows them a strike to an adjacent enemy if they miss the primary foe."
description= _ "This skilled warrior has specialized on the use of the 'Twinedge', a twosided spearedge similar to a glaive. Their combat tactic allows them a strike to an adjacent enemy if they miss the primary foe."
die_sound={SOUND_LIST:ELF_HIT}
[portrait]
size=400

View file

@ -1,11 +1,11 @@
#textdomain wesnoth-utbs
[unit_type]
id=Quenoth Harrier
name= _ "Quenoth Harrier"
id=Quenoth Chaser
name= _ "Quenoth Chaser"
race=quenoth
gender=male,female
image=units/quenoth/harrier.png
image=units/quenoth/chaser.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=44
movement_type=sandland
@ -13,8 +13,8 @@
movement=6
experience=84
level=2
alignment=luminal
advances_to=Desert Prowler
alignment=liminal
advances_to=Quenoth Harrier
cost=35
[abilities]
{ABILITY_SKIRMISHER}

View file

@ -1,8 +1,8 @@
#textdomain wesnoth-utbs
[unit_type]
id=Quenoth Prowler
name= _ "Quenoth Prowler"
id=Quenoth Harrier
name= _ "Quenoth Harrier"
race=quenoth
gender=male,female
image=units/elves-desert/prowler.png
@ -24,7 +24,7 @@
movement=6
experience=150
level=3
alignment=luminal
alignment=liminal
advances_to=null
{AMLA_DEFAULT}
cost=90
@ -32,7 +32,7 @@
{ABILITY_SKIRMISHER}
[/abilities]
usage=archer
description= _ "Desert Prowlers sneak across the sands, searching out enemies and protecting their people. They are trained to slip past enemies unnoticed and flank them. The combination of their bolas and blades allows them to cripple and kill opponents with alarming ease."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SKIRMISHER}+{SPECIAL_NOTES_SLOW}
description= _ "Desert Harriers sneak across the sands, searching out enemies and protecting their people. They are trained to slip past enemies unnoticed and flank them. The combination of their bolas and blades allows them to cripple and kill opponents with alarming ease."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SKIRMISHER}+{SPECIAL_NOTES_SLOW}
die_sound={SOUND_LIST:ELF_HIT}
{DEFENSE_ANIM_RANGE "units/elves-desert/prowler-defend.png" units/elves-desert/prowler.png {SOUND_LIST:ELF_HIT} melee}
{DEFENSE_ANIM_RANGE "units/elves-desert/prowler-bow-defend.png" units/elves-desert/prowler.png {SOUND_LIST:ELF_HIT} ranged}
@ -144,7 +144,7 @@
[/else]
[/attack_anim]
[female]
name= _ "female^Desert Prowler"
name= _ "female^Desert Harrier"
gender=female
image="units/elves-desert/prowler+female.png"
die_sound={SOUND_LIST:ELF_FEMALE_HIT}

View file

@ -102,8 +102,8 @@ The melee units rely on curved blades with long handles, both usuable as spears
blade=100
pierce=100
impact=100
fire=110
cold=110
fire=90
cold=90
arcane=110
[/resistance]
[/movetype]

View file

@ -90,9 +90,9 @@
[/time]
#enddef
#define DUSK
#define DUSK1
[time]
id=dusk
id=dusk1
name= _ "First Dusk"
image=misc/time/4dusk.png
#bright sun at sunlit
@ -179,7 +179,7 @@
{DAWN1}
{MORNING1}
{AFTERNOON1}
{DUSK}
{DUSK1}
#Twillight time
{DAWN2}
{TWILIGHT1}

View file

@ -1,5 +1,5 @@
#textdomain wesnoth-utbs
# Traits definitions
#textdomain wesnoth-Quenoth-Sandbox
##textdomain wesnoth-utbs
#define TRAIT_ELEMENTAL
# Units with trait Elemental cannot be drained, poisoned or plagued.
@ -7,7 +7,6 @@
id=elemental
availability="musthave"
name= _ "elemental"
female_name= _ "female^elemental"
description= _ "Immune to drain, poison and plague"
[effect]
apply_to=status
@ -15,3 +14,19 @@
[/effect]
[/trait]
#enddef
#define ABILITY_REGENERATES
# Canned definition of the Regenerate ability to be included in an [abilities]
# clause.
[regenerate]
value=8
id=regenerates
name= _ "regenerates"
female_name= _ "female^regenerates"
description= _ "Regenerates:
The unit will heal itself 8 HP per turn. If it is poisoned, it will remove the poison instead of healing."
affect_self=yes
poison=cured
[/regenerate]
#enddef