That will teach me to rush for the deadline :P

Fixes #10786 and ton of other things
This commit is contained in:
Piotr Cychowski 2008-01-16 07:15:16 +00:00
parent 9457b72907
commit 5503df515c
8 changed files with 33 additions and 36 deletions

View file

@ -282,7 +282,7 @@
[/variable]
[then]
[message]
decription=Garak
description=Garak
message=_"You there! Creep! Stand an face me shade! I challenge you!"
[/message]
[if]

View file

@ -4,6 +4,7 @@
#define CREEP_DEATH
[event]
name=die
first_time_only=no
[filter]
description=Azkotep
[or]
@ -334,7 +335,7 @@
[event]
name=die
[filter]
description=Possesed Garak
description=Possessed Garak
[/filter]
[kill]
description=Possessed Garak

View file

@ -26,7 +26,7 @@
#ifdef HARD
[store_unit]
[filter]
description=$unit.description
x,y=$x1,$y1
[/filter]
variable=azkotep_casaulties[$killed_by_azkotep]
kill=no

View file

@ -192,6 +192,8 @@
x=$parchment_x
y=$parchment_y
[/removeitem]
{CLEAR_VARIABLE parchment_x}
{CLEAR_VARIABLE parchment_y}
[/event]
#ifdef EASY
[if]
@ -224,7 +226,5 @@
fire_event=no
[/kill]
#endif
{CLEAR_VARIABLE parchment_x}
{CLEAR_VARIABLE parchment_y}
[/event]
#enddef

View file

@ -25,7 +25,7 @@
description=Ystara
[/have_unit]
[then]
{VARIABLR_OP choice_flag add 100}
{VARIABLE_OP choice_flag add 100}
[/then]
[/if]
{VARIABLE_OP grak_challenged multiply 10}
@ -48,20 +48,8 @@
[if]
[variable]
name=choice_flag
equals=111
equals=1111
[/variable]
[or]
[variable]
name=choice_flag
equals=1011
[/variable]
[/or]
[or]
[variable]
name=choice_flag
equals=1111
[/variable]
[/or]
[then]
[message]
description=Ystara
@ -150,7 +138,6 @@
[message]
speaker=narrator
message=_"Garak colapses to the ground with own blade sticking form his chest."
image=wesnoth-icon.png
[/message]
[kill]
description=Garak
@ -374,6 +361,9 @@
animate=yes
fire_event=no
[/kill]
[redraw]
side=1
[/redraw]
[place_shroud]
x=1-60
y=1-60
@ -473,6 +463,12 @@
name=choice_flag
equals=1010
[/variable]
[or]
[variable]
name=choice_flag
equals=1011
[/variable]
[/or]
[then]
[message]
description=Ystara
@ -503,11 +499,6 @@
[/kill]
[/then]
[/if]
[kill]
description=Ystara
animate=yes
fire_event=no
[/kill]
{UNIT_ (Corrupted Elf) (Possessed Garak) ( _ "Possessed Garak") 2 $coords.x $coords.y}
[message]
description=Zhul
@ -561,7 +552,6 @@
[message]
speaker=narrator
message=_"Garak colapses to the ground with own blade sticking form his chest."
image=wesnoth-icon.png
[/message]
[kill]
description=Garak
@ -739,6 +729,12 @@
name=choice_flag
equals=101
[/variable]
[or]
[variable]
name=choice_flag
equals=111
[/variable]
[/or]
[then]
[message]
description=Azkotep
@ -827,7 +823,6 @@
[message]
speaker=narrator
message=_"Garak colapses to the ground with own blade sticking form his chest."
image=wesnoth-icon.png
[/message]
[kill]
description=Garak

View file

@ -58,6 +58,12 @@
y=20
halo=halo/fire-aura.png
[/item]
[remove_shroud]
x=1-60
y=1-60
side=1
[/remove_shroud]
#ifdef EASY
{RANDOM 7..9}

View file

@ -17,15 +17,10 @@
#ifdef MEDIUM
{VARIABLE factor $unit.max_experience}
{VARIABLE_OP factor multiply 0.5}
[set_variable]
name=unit.experience
value=$factor
[/set_variable]
{RANDOM $factor..$unit.max_experience}
{VARIABLE unit.experience $random}
#else
[set_variable]
name=unit.experience
value=$unit.max_experience
[/set_variable]
{VARIABLE unit.experience $unit.max_experience}
#endif
[unstore_unit]
variable=unit

View file

@ -11,7 +11,7 @@
controller=human
recruit=Desert Fighter, Desert Archer, Desert Hunter, Desert Shaman, Desert Scout
{INCOME 4 2 0}
shround=no
shroud=yes
fog=no
[/side]