spotted some bad WML... hopefully this fixes it

This commit is contained in:
Patrick Parker 2007-12-24 07:22:45 +00:00
parent 49dd117a0c
commit 216a7be11f

View file

@ -21,12 +21,23 @@
Mage,Red Mage,White Mage,Arch Mage,Great Mage,Mage of Light,Silver Mage #enddef
#define CONDITIONAL_MAGE_RECRUITING
[if]
[store_unit]
[filter]
side=1
type={MAGES}
[/filter]
[else]
[/filter]
variable=mage_test
[/store_unit]
[if]
[variable]
name=mage_disallow
boolean_equals=false
[/variable]
[variable]
name=mage_test.length
numerical_equals=0
[/variable]
[then]
[message]
speaker=narrator
message="Without magic users from Master Perrin's academy in your party, you can no longer recruit new ones."
@ -35,8 +46,10 @@
[disallow_recruit]
type=Mage
[/disallow_recruit]
[/else]
[/if]
{VARIABLE mage_disallow true}
[/then]
[/if]
{CLEAR_VARIABLE mage_test}
#enddef
#
@ -388,7 +401,7 @@
[message]
description=Aiglondur
message= _ "I thought Karrag's fight was the so called 'dirtgrubbers'. Why would he keep you, a dwarf captive?"
message= _ "I thought Karrag's fight was against the so called 'dirtgrubbers'. Why would he keep you, a dwarf captive?"
[/message]
[message]