[event] name=post advance first_time_only=no [filter] canrecruit=yes [/filter] [store_unit] [filter] x,y=$x1,$y1 [/filter] variable=advleader [/store_unit] [if] [have_unit] type=he Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=tu Treser,tu Wojownik,tu Stroz,tu Lowczy,tu Procarz,tu Szaman,tu Zwiadowca,tu Pogromca,tu Waz,tu Niedzwiedz,tu Pozukiwacz,tu Igas,tu Agrba,tu Nelas,tu Dog,tu Jaskiniowiec,tu Dino1,tu Dino2,tu Latak, side=$advleader.side [/disallow_recruit] [allow_recruit] type=he Meduza,he Archilles,he Hipokrates,he Perseusz side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=po Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=he Wojownik,he Perseusz,he Zbrojny,he Platon,he Balista,he Stroz,he Wlocznik,he Myrmidon,he Procarz,he Lucznik,he Kaplanka,he Spartanin,he Towarzysz,he Zwiadowca,he Meduza,he Archilles,he Hipokrates side=$advleader.side [/disallow_recruit] [allow_recruit] type=po Divico,po Furia,po Spartakus side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=cr Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=po Divico,po Furia,po Spartakus,po Dziesietnik,po Legionista,po Wojownik,po Gladiator,po Pretorianin,po Balista,po CBalista,po Wiking,po Gal,po Lucznik,po Druidka,po Zwiadowca,po Barbarzynca,tu Dog,tu Jaskiniowiec,tu Dino1,tu Dino2,tu Latak side=$advleader.side [/disallow_recruit] [allow_recruit] type=cr Gotfryd,cr Tankred,cr Patriarch side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=cr Dowodca2 side=$advleader.side [/have_unit] [then] [disallow_recruit] type=po Divico,po Furia,po Spartakus,po Dziesietnik,po Legionista,po Wojownik,po Gladiator,po Pretorianin,po Balista,po CBalista,po Wiking,po Gal,po Lucznik,po Druidka,po Zwiadowca,po Barbarzynca,tu Dog side=$advleader.side [/disallow_recruit] [allow_recruit] type=cr Emir,cr Ajbak,cr Abu side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=ho Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=cr Gotfryd,cr Tankred,cr Patriarch,cr Emir,cr Ajbak,cr Abu,cr Templariusz,cr PikinierD,cr PiechurD,cr Najemny,cr Lucznik,cr Giermek,cr Misjonasz,cr Wierzacy,cr Priest,cr Spy side=$advleader.side [/disallow_recruit] [allow_recruit] type=ho Merlin,ho Robin,ho Zawisza side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=gu Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=ho Merlin,ho Robin,ho Zawisza,ho Rycerz,ho Thief,ho Banita,ho Wiedzma,ho Wygnaniec,ho Brother,ho Wygnaniec,ho Pikinier,ho Piechur,ho Kusznik,ho Kapitan,ho Ksiaze,ho Wiedzma,ho Duchowny,ho Kawalerzysta,ho Katapulta,ho Spy,ho Thief,ho Banita,,cr Ajbak,cr Ekim,cr Mubarizan,cr Mameluk,cr Amir,cr Assasin,cr Najemnik,cr aLucznik,cr Niewolnik,cr Immortal,cr Awicenna,cr Awicyn side=$advleader.side [/disallow_recruit] [allow_recruit] type=gu Aleksander,gu Napoleon,gu Harisson side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=st Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=gu Aleksander,gu Napoleon,gu Harisson,gu Poborowy,gu Pirat,gu Granadier,gu Balon,gu Mechanik,gu Armata,gu ArmataKonna,gu Artylerzysta,gu Ulan,gu Medyk,gu Snajper,gu Karawana,gu Oficer,gu Partyzant,gu Szpieg,gu Pancerny,gu Kozak,gu Danjou,gu Szkocki,gu Legionista,gu Kapitan side=$advleader.side [/disallow_recruit] [allow_recruit] type=st lot,st APC,st Balon,st A1,st Corporal,st Ltank,st Flame,st Dog,st Snajper,st heavy,st kon side=$advleader.side [/allow_recruit] [/then] [else] [if] [have_unit] type=ta Dowodca side=$advleader.side [/have_unit] [then] [disallow_recruit] type=st lot,st APC,st Balon,st A1,st Corporal,st Ltank,st Flame,st Dog,st Snajper,st heavy,st kon side=$advleader.side [/disallow_recruit] [allow_recruit] type=ta Fighter,ta Szeregowy,ta Wsparcia,ta SSe,ta Snajper,ta Medyk,ta Jeep,ta Miotacz,ta Mechanik,ta Ltank,ta Mtank,ta Htank,ta Antytank,ta Howitzer side=$advleader.side [/allow_recruit] [/then] [else] [/else] [/if] [/else] [/if] [/else] [/if] [/else] [/if] [/else] [/if] [/else] [/if] [/else] [/if] [/else] [/if] [/event]