Expanded macro calls in the deprecated macros;...
...core macros should not rely on macros from other files.
This commit is contained in:
parent
0c933d4e68
commit
67c76d2a76
1 changed files with 25 additions and 7 deletions
|
@ -57,17 +57,33 @@
|
|||
#!
|
||||
#! {DEBUG_MSG "Renaming all orcs to Azir took $timed_actions_ms|ms."}
|
||||
#! [/event]
|
||||
{VARIABLE_OP TIME_ACTIONS_time_begin time stamp}
|
||||
[set_variable]
|
||||
name=TIME_ACTIONS_time_begin
|
||||
time=stamp
|
||||
[/set_variable]
|
||||
|
||||
{CONTENT_WML}
|
||||
|
||||
{VARIABLE_OP TIME_ACTIONS_time_end time stamp}
|
||||
[set_variable]
|
||||
name=TIME_ACTIONS_time_end
|
||||
time=stamp
|
||||
[/set_variable]
|
||||
|
||||
{VARIABLE timed_actions_ms $TIME_ACTIONS_time_end}
|
||||
{VARIABLE_OP timed_actions_ms add "-$TIME_ACTIONS_time_begin"}
|
||||
[set_variable]
|
||||
name=timed_actions_ms
|
||||
value=$TIME_ACTIONS_time_end
|
||||
[/set_variable]
|
||||
[set_variable]
|
||||
name=timed_actions_ms
|
||||
sub=$TIME_ACTIONS_time_begin
|
||||
[/set_variable]
|
||||
|
||||
{CLEAR_VARIABLE TIME_ACTIONS_time_begin}
|
||||
{CLEAR_VARIABLE TIME_ACTIONS_time_end}
|
||||
[clear_variable]
|
||||
name=TIME_ACTIONS_time_begin
|
||||
[/clear_variable]
|
||||
[clear_variable]
|
||||
name=TIME_ACTIONS_time_end
|
||||
[/clear_variable]
|
||||
#enddef
|
||||
|
||||
#define FLOATING_TEXT FILTER COLOR_VALUE TEXT
|
||||
|
@ -94,7 +110,9 @@
|
|||
text={TEXT}
|
||||
[/unstore_unit]
|
||||
|
||||
{CLEAR_VARIABLE FLOATING_TEXT_temp}
|
||||
[clear_variable]
|
||||
name=FLOATING_TEXT_temp
|
||||
[/clear_variable]
|
||||
#enddef
|
||||
|
||||
#define CAPTURE_FILTERED_VILLAGES SIDE FILTER
|
||||
|
|
Loading…
Add table
Reference in a new issue