Bug + ujednolicenie.
This commit is contained in:
parent
b7cd00b420
commit
d73182860f
2 changed files with 14 additions and 3 deletions
|
@ -7,8 +7,8 @@
|
|||
/if ( {*} !~ NULL )\
|
||||
/if (strstr({*}, "|") != -1) \
|
||||
/let n=$[strchr({*}, '|')] %;\
|
||||
/set cel=$[substr({*}, 0, n)] %;\
|
||||
/set celu=$[substr({*}, n+1)] %;\
|
||||
/test cel := substr({*}, 0, n) %;\
|
||||
/test celu := substr({*}, n+1) %;\
|
||||
/else \
|
||||
/set cel %{*} %;\
|
||||
/set celu %{*} %;\
|
||||
|
@ -65,7 +65,15 @@
|
|||
/echo -p #@{BC%kolor_info}#@{n}# Typ ataku: @{BC%kolor_info}%opis_ataku@{n} %;\
|
||||
/endif
|
||||
|
||||
/alias x /_atak %{*}
|
||||
/alias x \
|
||||
/if (strstr({*}, "|") != -1) \
|
||||
/let n=$[strchr({*}, '|')] %;\
|
||||
/test p1 := substr({*}, 0, n) %;\
|
||||
/test p2 := substr({*}, n+1) %;\
|
||||
/_atak %{p1}|%{p2} %;\
|
||||
/else \
|
||||
/_atak %{*}|%{*} %;\
|
||||
/endif
|
||||
/alias x1 /_atak %{cel}|%{celu}
|
||||
/alias x2 /_atak drugiego %{cel}|drugiego %{celu}
|
||||
/alias x3 /_atak trzeciego %{cel}|trzeciego %{celu}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
/def _atak = \
|
||||
/let n=$[strchr({*}, '|')]%;\
|
||||
/test param1 := substr({*}, 0, n)%;\
|
||||
/test param2 := substr({*}, n+1) %;\
|
||||
/if ( {attackmode} =~ "1" ) \
|
||||
zabij %{param1} %; zabij %{param1} %;\
|
||||
/elseif ( {attackmode} =~ "2" ) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue