The "rand" script command can now contain a custom variable. This is actually a new command altogether because strings have to be preceded by the % sign:
- "rand % [min],[max],[variable]" — Same as "rand" above but allows you to specify a custom variable. This prevents race conditions if you are calling "rand" in multiple macros. Example:
- keys=rand % 100,200,randomvar|dbg % number between 100 and 200: (VAR % randomvar)
The "tcmt" script command will also check if mobs are targeting party members. If they are, they will be considered valid, potential targets.
These changes require Speeder version 170+.