Fixing bug #11096...

...shamans losing all of their earned experience in SotBE's
06_Black_Flag.cfg.

Replaced killing the shamans and creating new ones in events with
store/unstore
This commit is contained in:
Dimitar Ilccov 2008-02-19 08:59:56 +00:00
parent 56539a6824
commit ac8c9d4f15

View file

@ -176,12 +176,21 @@
user_description= _ "Affman"
[/unit]
{ORCISH_SHAMAN 26 1 Pirk}
{OLD_ORCISH_SHAMAN 27 1 Gork}
{NOVICE_ORCISH_SHAMAN 28 1 Vraurk}
# wmllint: recognize Pirk
# wmllint: recognize Gork
# wmllint: recognize Vraurk
[recall]
description=Pirk
x=26
y=1
[/recall]
[recall]
description=Gork
x=27
y=1
[/recall]
[recall]
description=Vraurk
x=28
y=1
[/recall]
[recall]
description=Grüü
@ -240,19 +249,31 @@
description="Gork"
message= _ "This is a wise choice. Good luck, son of the Black-Eye."
[/message]
[kill]
description=Gork
[/kill]
[kill]
description=Pirk
[/kill]
[kill]
description=Vraurk
[/kill]
[message]
description="Slowhand"
message= _ "Haha! Our plan is going well, let's surround them on land while our allies attack them from sea!"
[/message]
[store_unit]
[filter]
description=Pirk
[/filter]
variable=Pirk_store
kill=yes
[/store_unit]
[store_unit]
[filter]
description=Gork
[/filter]
variable=Gork_store
kill=yes
[/store_unit]
[store_unit]
[filter]
description=Vraurk
[/filter]
variable=Vraurk_store
kill=yes
[/store_unit]
[/event]
[event]
@ -409,9 +430,22 @@
message= _ "We are victorious at last. Someone go tell the shamans that they can come out now."
[/message]
{ORCISH_SHAMAN 26 1 Pirk}
{OLD_ORCISH_SHAMAN 27 1 Gork}
{NOVICE_ORCISH_SHAMAN 28 1 Vraurk}
[unstore_unit]
variable=Pirk_store
find_vacant=yes
[/unstore_unit]
[unstore_unit]
variable=Gork_store
find_vacant=yes
[/unstore_unit]
[unstore_unit]
variable=Vraurk_store
find_vacant=yes
[/unstore_unit]
{CLEAR_VARIABLE Pirk_store}
{CLEAR_VARIABLE Gork_store}
{CLEAR_VARIABLE Vraurk_store}
[message]
description=Gork