mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 11:40:05 +00:00
LoW::1, LoW::2: Code cleanup and balancing.
This commit is contained in:
parent
4cf78e2eb5
commit
d84e9b04b8
@ -50,6 +50,7 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
[/part]
|
||||
[/story]
|
||||
|
||||
#### Kalenz's side ####
|
||||
[side]
|
||||
side=1
|
||||
no_leader=yes
|
||||
@ -65,8 +66,51 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
x=17
|
||||
y=14
|
||||
[/unit]
|
||||
[unit]
|
||||
{LANDAR}
|
||||
# wmllint: recognize Landar
|
||||
x,y=16,15
|
||||
[/unit]
|
||||
#wmllint: validate-on
|
||||
[unit]
|
||||
type=Elvish Fighter
|
||||
id=Anduilas
|
||||
name=_ "Anduilas"
|
||||
unrenamable=yes
|
||||
side=1
|
||||
x,y=19,15
|
||||
[modifications]
|
||||
{TRAIT_INTELLIGENT}
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_LOYAL}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
[/side]
|
||||
[event]
|
||||
name=prestart
|
||||
{INIT_LANDAR}
|
||||
[/event]
|
||||
[event]
|
||||
name=last breath
|
||||
[filter_second]
|
||||
id=Kalenz
|
||||
[/filter_second]
|
||||
[message]
|
||||
speaker=second_unit
|
||||
message= _ "You trifled with the wrong elf!"
|
||||
[/message]
|
||||
[/event]
|
||||
[event]
|
||||
name=last breath
|
||||
[filter_second]
|
||||
id=Landar
|
||||
[/filter_second]
|
||||
[message]
|
||||
speaker=second_unit
|
||||
message= _ "Take that, you orcish scum!"
|
||||
[/message]
|
||||
[/event]
|
||||
#### /Kalenz side ####
|
||||
|
||||
[side]
|
||||
side=2
|
||||
@ -90,11 +134,11 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
male_name= _ "aged"
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
increase_total=-10
|
||||
increase_total=-8
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=movement
|
||||
increase=-2
|
||||
increase=-1
|
||||
[/effect]
|
||||
[/trait]
|
||||
{TRAIT_INTELLIGENT}
|
||||
@ -261,35 +305,6 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
[event]
|
||||
name=prestart
|
||||
|
||||
# [wml_message]
|
||||
# message=_ "campaign started"
|
||||
# logger=warn
|
||||
# [/wml_message]
|
||||
|
||||
#wmllint: validate-off
|
||||
{INIT_LANDAR}
|
||||
[unit]
|
||||
{LANDAR}
|
||||
# wmllint: recognize Landar
|
||||
x,y=16,15
|
||||
[/unit]
|
||||
#wmllint: validate-on
|
||||
|
||||
#TODO make the loyals in debug mode available
|
||||
[unit]
|
||||
type=Elvish Fighter
|
||||
id=Anduilas
|
||||
name=_ "Anduilas"
|
||||
unrenamable=yes
|
||||
side=1
|
||||
x,y=19,15
|
||||
[modifications]
|
||||
{TRAIT_INTELLIGENT}
|
||||
{TRAIT_STRONG}
|
||||
{TRAIT_LOYAL}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
@ -353,28 +368,6 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
[/scroll_to_unit]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=last breath
|
||||
[filter_second]
|
||||
id=Kalenz
|
||||
[/filter_second]
|
||||
[message]
|
||||
speaker=second_unit
|
||||
message= _ "You trifled with the wrong elf!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=last breath
|
||||
[filter_second]
|
||||
id=Landar
|
||||
[/filter_second]
|
||||
[message]
|
||||
speaker=second_unit
|
||||
message= _ "Take that, you orcish scum!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter_second]
|
||||
@ -401,8 +394,6 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
{TRANSFER_VILLAGE_OWNERSHIP 2 1}
|
||||
[/event]
|
||||
|
||||
#TODO Velon is attacked event
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
@ -410,6 +401,11 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
y=30
|
||||
id=Kalenz
|
||||
[/filter]
|
||||
[message]
|
||||
id=Velon
|
||||
#TODO change theat speech after the string freeze
|
||||
message= _ "Flee, Kalenz...our hopes ride with you..."
|
||||
[/message]
|
||||
[message]
|
||||
id=Kalenz
|
||||
message= _ "We have escaped them, but we will not forget. We shall return!"
|
||||
@ -434,7 +430,8 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
side=1
|
||||
[/filter_second]
|
||||
|
||||
{LOOT 50 1}
|
||||
#TODO Make some speach about the loot
|
||||
{LOOT 250 1}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
@ -454,10 +451,8 @@ This is the story of Kalenz, and of the Elves in the days of the humans in Wesno
|
||||
[event]
|
||||
name=victory
|
||||
|
||||
#TODO Velon's last words.
|
||||
|
||||
[kill]
|
||||
id=Velon
|
||||
id=Velon
|
||||
[/kill]
|
||||
[/event]
|
||||
{@campaigns/Legend_of_Wesmere/utils/deaths.cfg}
|
||||
|
@ -34,6 +34,7 @@
|
||||
#wmllint: recognize Olurf
|
||||
[side]
|
||||
{KALENZ}
|
||||
{GOLD 200 180 160}
|
||||
# wmllint: recognize Kalenz
|
||||
recruit={ELVES}
|
||||
[/side]
|
||||
@ -78,7 +79,6 @@
|
||||
#else
|
||||
team_name=trolls
|
||||
#endif
|
||||
|
||||
[ai]
|
||||
caution=0.5
|
||||
[avoid]
|
||||
@ -146,16 +146,12 @@
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
#On easy and normal, the dwarves cross their territory
|
||||
#on hard, they only defend their territory
|
||||
#ifndef HARD
|
||||
[modify_side]
|
||||
side=2
|
||||
[ai]
|
||||
caution=0.5
|
||||
[/ai]
|
||||
[/modify_side]
|
||||
#endif
|
||||
[/event]
|
||||
|
||||
# Elves have stepped on Olurf's land.
|
||||
@ -237,6 +233,8 @@
|
||||
{GOLD 170 240 270}
|
||||
|
||||
[ai]
|
||||
#TODO does this make sense?
|
||||
#We don't have any scouts
|
||||
{NO_SCOUTS}
|
||||
#ifdef EASY
|
||||
recruitment_pattern=fighter
|
||||
@ -248,11 +246,10 @@
|
||||
race=elf
|
||||
value=1.5
|
||||
[/target]
|
||||
#ifdef HARD
|
||||
|
||||
[avoid]
|
||||
{OLURFS_LAND}
|
||||
[/avoid]
|
||||
#endif
|
||||
[/ai]
|
||||
[ai]
|
||||
time_of_day=dusk,first_watch,second_watch
|
||||
@ -262,17 +259,16 @@
|
||||
race=elf
|
||||
value=1.5
|
||||
[/target]
|
||||
#ifdef HARD
|
||||
[avoid]
|
||||
{OLURFS_LAND}
|
||||
[/avoid]
|
||||
#endif
|
||||
[/ai]
|
||||
{INCOME 4 8 12}
|
||||
[/side]
|
||||
#undef OLURFS_LAND
|
||||
#ifdef HARD
|
||||
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Troll Warrior" 3}
|
||||
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Troll Warrior" 2}
|
||||
#endif
|
||||
[event]
|
||||
name=die
|
||||
[filter]
|
||||
@ -290,7 +286,7 @@
|
||||
[/ai]
|
||||
[/modify_side]
|
||||
[/event]
|
||||
#endif
|
||||
|
||||
### /Enemy Side ###
|
||||
|
||||
#### Objectives and corresponding events ####
|
||||
|
Loading…
x
Reference in New Issue
Block a user