made Isles of the Damned and Muff Malal's Peninsula better balanced

This commit is contained in:
Dave White 2004-05-14 15:16:48 +00:00
parent 87ebf497aa
commit 1e7feef05f
6 changed files with 265 additions and 210 deletions

View file

@ -342,7 +342,7 @@ recruitment_ignore_bad_combat=yes
[/event]
[event]
name=time out
name=time over
[message]
id=msg1_24
description=Delfador

View file

@ -36,6 +36,22 @@ Defeat:
{CROSS 93 386}
[/bigmap]
[item]
x=6
y=13
image=terrain/temple.png
[/item]
[item]
x=13
y=17
image=terrain/temple.png
[/item]
[item]
x=10
y=12
image=terrain/temple.png
[/item]
[side]
description=Konrad
type=Commander
@ -131,14 +147,14 @@ Defeat:
message="There are still some bands of humans hiding on the island, my lord. If you recruit some of them to help, we might have some hope of holding off the undead hordes!"
[/message]
[unit]
description=Bob
description=Urlaf
type=Outlaw
side=1
x=18
y=10
[/unit]
[message]
description=Bob
description=Urlaf
id=isledamn_7
message="Maybe we can make a deal! Help us defeat those evil creatures!"
[/message]
@ -168,6 +184,161 @@ Defeat:
[/disallow_recruit]
[/event]
[event]
name=turn 2
[message]
id=msg4_6_a
description=Konrad
message="There are some ancient temples to the south-west, I wonder what might be inside them!"
[/message]
[/event]
#define MOREMIRMU_TRAP X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
id=msg4_7
speaker=unit
message="Looks like there is somebody hidden in the temple."
[/message]
[unit]
description=Moremirmu
side=1
type=White Mage
x={X}
y={Y}
#Moremirmu has a special sword which makes him
#especially deadly against undead.
[modifications]
[object]
[effect]
apply_to=attack
range=short
set_name=holy sword
set_type=holy
multiply_damage=2
increase_attacks=2
[/effect]
[/object]
[/modifications]
[/unit]
#set the variable to say the Moremirmu is alive
[set_variable]
name=moremirmu
value=1
[/set_variable]
[message]
id=msg4_8
description=Moremirmu
message="I was hiding in this holy place, planning how to defeat the evil undeads. Now with your help, I can destroy them."
[/message]
[/event]
#enddef
#define XAKAE_TRAP X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
id=msg4_9
speaker=unit
message="Looks like there is somebody hidden in the temple."
[/message]
[unit]
description=Xakae
side=2
type=Revenant
x={X}
y={Y}
[/unit]
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
#ifdef HARD
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
#endif
[message]
id=msg4_10_a
description=Xakae
message="Surprise! Searching for Mages, and all I get is these foul humans!"
[/message]
[/event]
#enddef
[event]
name=start
{RANDOM 1..2}
[if]
[variable]
name=random
numerical_equals=1
[/variable]
[then]
{MOREMIRMU_TRAP 13 17}
{XAKAE_TRAP 10 12}
[/then]
[else]
{MOREMIRMU_TRAP 10 12}
{XAKAE_TRAP 13 17}
[/else]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=6
y=13
[/filter]
[message]
id=msg4_11
speaker=unit
message="The temple seems to be empty."
[/message]
[/event]
[event]
name=die
[filter]
description=Moremirmu
[/filter]
[message]
id=msg4_moredie
speaker=unit
message="Fight on against the undead without me, friends!"
[/message]
[set_variable]
name=moremirmu
value=0
[/set_variable]
[/event]
#define ISLE_GALLEON_ARRIVE
[command]
[move_unit_fake]
@ -268,42 +439,68 @@ Defeat:
[event]
name=enemies defeated
[command]
[message]
id=isle_wrested_control
description=Konrad
message="We have wrested control of the island from the evil undead! Now all we have to do is wait for the ship to arrive, so we can make our way to Elensefar!"
[/message]
[/command]
[message]
id=isle_wrested_control
description=Konrad
message="We have wrested control of the island from the evil undead! Now all we have to do is wait for the ship to arrive, so we can make our way to Elensefar!"
[/message]
{ISLE_GALLEON_ARRIVE}
{ISLE_RESTORE_GOLD}
[if]
[variable]
name=moremirmu
equals=1
[/variable]
[then]
[message]
id=isle_moremirmu_join
description=Moremirmu
message="Together we have vanquished the foul undead! Come, I will join you on your noble quest."
[/message]
[set_variable]
name=moremirmu
value=2
[/set_variable]
[/then]
[/if]
[/event]
[event]
name=time over
{ISLE_GALLEON_ARRIVE}
{ISLE_RESTORE_GOLD}
[command]
[message]
id=isle_damned_found1
speaker=narrator
image=elvish-fighter.png
message="Thank goodness we have found you, sir! Come aboard quickly, we shall take you away from this horrible island!"
[/message]
[/command]
[command]
[message]
id=isle_damned_found2
description=Konrad
message="It's a shame complete victory could not be ours, but thank goodness I am rescued! On to Elensefar!"
[/message]
[/command]
[command]
[endlevel]
result=victory
[/endlevel]
[/command]
[message]
id=isle_damned_found1
speaker=narrator
image=elvish-fighter.png
message="Thank goodness we have found you, sir! Come aboard quickly, we shall take you away from this horrible island!"
[/message]
[message]
id=isle_damned_found2
description=Konrad
message="It's a shame complete victory could not be ours, but thank goodness I am rescued! On to Elensefar!"
[/message]
[if]
[variable]
name=moremirmu
equals=1
[/variable]
[then]
[message]
id=isle_damned_found3
description=Moremirmu
message="Thank you for your assistance here brothers. I will stay to continue resisting the foul undead. May fate be with you in your noble quest, and may we meet again some day!"
[/message]
[kill]
description=Moremirmu
[/kill]
[/then]
[/if]
[endlevel]
result=victory
[/endlevel]
[/event]
[/scenario]

View file

@ -21,7 +21,6 @@ Victory:
Defeat:
#Death of Konrad
#Turns run out"
[bigmap]
image=misc/map.png
@ -32,22 +31,6 @@ Defeat:
{CROSS 122 331}
[/bigmap]
[item]
x=5
y=7
image=terrain/temple.png
[/item]
[item]
x=10
y=10
image=terrain/temple.png
[/item]
[item]
x=10
y=6
image=terrain/temple.png
[/item]
[side]
race=Elves
type=Commander
@ -116,159 +99,15 @@ Defeat:
[/message]
[/event]
[event]
name=turn 3
[message]
id=msg4_6
description=Konrad
message="There are some ancient temples to the north-west, I wonder what might be inside them!"
[/message]
[/event]
#define MOREMIRMU_TRAP X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
id=msg4_7
speaker=unit
message="Looks like there is somebody hidden in the temple."
[/message]
[unit]
description=Moremirmu
side=1
type=White Mage
x={X}
y={Y}
[/unit]
#set the variable to say the Moremirmu is alive
[set_variable]
name=moremirmu
value=1
[/set_variable]
[message]
id=msg4_8
description=Moremirmu
message="I was hiding in this holy place, planning how to defeat the evil undeads. Now with your help, I can destroy them."
[/message]
[/event]
#enddef
#define XAKAE_TRAP X Y
[event]
name=moveto
[filter]
side=1
x={X}
y={Y}
[/filter]
[message]
id=msg4_9
speaker=unit
message="Looks like there is somebody hidden in the temple."
[/message]
[unit]
description=Xakae
side=2
type=Revenant
x={X}
y={Y}
[/unit]
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
#ifdef HARD
[unit]
side=2
type=Walking Corpse
x={X}
y={Y}
[/unit]
#endif
[message]
id=msg4_10
description=Xakae
message="Surprise! Searching for Mages, and all I get is elves!"
[/message]
[/event]
#enddef
[event]
name=start
{RANDOM 1..2}
[if]
[variable]
name=random
numerical_equals=1
[/variable]
[then]
{MOREMIRMU_TRAP 5 7}
{XAKAE_TRAP 10 10}
[/then]
[else]
{MOREMIRMU_TRAP 10 10}
{XAKAE_TRAP 5 7}
[/else]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=10
y=6
[/filter]
[message]
id=msg4_11
speaker=unit
message="The temple seems to be empty."
[/message]
[/event]
[event]
name=victory
[message]
id=msg4_12a
description=Moremirmu
message="It has been an honor to have helped you defeat the undead, my lord. I must now return to my home. I feel that our paths may cross again one day, perhaps when your need against the undead hordes is greater."
[/message]
[kill]
description=Moremirmu
[/kill]
[message]
id=msg4_12b
description=Konrad
message="Victory is ours! Let us just hope that this delay will not hamper our quest to save Elensefar. We must move onward with haste!"
[/message]
[/event]
[event]
name=die
[filter]
description=Moremirmu
[/filter]
[message]
id=msg4_moredie
speaker=unit
message="Fight on against the undead without me, friends!"
[/message]
[set_variable]
name=moremirmu
value=0
[/set_variable]
[/event]
[/scenario]

View file

@ -169,6 +169,9 @@ Defeat:
[recall]
description=Kalenz
[/recall]
[recall]
description=Moremirmu
[/recall]
[message]
id=msg7_1
description=Kalenz
@ -184,6 +187,11 @@ Defeat:
description=Delfador
message="To arms, men! The undead hordes approach!"
[/message]
[message]
id=msg7_3_a
description=Moremirmu
message="Let us never surrender to these foul beasts of the pit! We fight until victory, or until every one of us is slain!"
[/message]
[/event]
[event]
@ -251,9 +259,9 @@ Defeat:
message="White mages? Come to help us? But what are they doing here?"
[/message]
[message]
id=msg7_8b
id=msg7_8b_a
description=Konrad
message="That is Moremirmu! He helped us fight Muff Malal, let us hope he can help us once more!"
message="That is Moremirmu! He helped us fight the undead in the Isles of the Damned, let us hope he can help us once more!"
[/message]
[/then]
[/if]
@ -290,7 +298,7 @@ Defeat:
[/filter]
[set_variable]
name=moremirmu
value=2
value=3
[/set_variable]
[/event]
@ -344,13 +352,13 @@ Defeat:
#player laments his death
[variable]
name=moremirmu
numerical_equals=2
numerical_equals=3
[/variable]
[then]
[message]
id=msg7_12c
id=msg7_12c_a
description=Konrad
message="It greatly saddens me that Moremirmu was slain on the field, after he returned to help us."
message="It greatly saddens me that Moremirmu was slain on the field, after he helped us."
[/message]
[message]
id=msg7_13c
@ -381,18 +389,26 @@ Defeat:
[/message]
[/else]
[/if]
[kill]
description=Moremirmu
[/kill]
[kill]
description=Haldar
[/kill]
[kill]
description=Marcus
[/kill]
[kill]
description=Heldra
[/kill]
[if]
[variable]
name=moremirmu
equals=1
[/variable]
[kill]
description=Moremirmu
[/kill]
[kill]
description=Haldar
[/kill]
[kill]
description=Marcus
[/kill]
[kill]
description=Heldra
[/kill]
[/if]
[endlevel]
result=victory

View file

@ -53,6 +53,8 @@ ai::ai(ai_interface::info& info)
bool ai::recruit_usage(const std::string& usage)
{
user_interact();
const int min_gold = 0;
log_scope("recruiting troops");

View file

@ -1183,6 +1183,7 @@ void turn_info::end_turn()
//force any pending fog updates
clear_undo_stack();
end_turn_ = true;
gui_.set_route(NULL);
//auto-save
config snapshot;