[unit] ######################KAWAŁEK KODU###################################### [event] name=new_turn first_time_only=no [if] [variable] name=max_moves equals=$moves [/variable] [then] [set_varaible] name=ooo value=1 [/set_variable] [/then] [/if] [/event] [event] name=attack first_time_only=no [if] [variable] name=ooo boolean_equals=1 [/variable] [then] [set_variable] name=moves value=1 [/set_variable] [set_variable] name=ooo add=-1 [/set_varaible] [/then] [/if] [/event] ################################KAWAŁEK KODU############################ [/unit]