Size: 1327
Comment:
|
Size: 1952
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Default:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">keepcapturedheroes any:level>=200|any:base>69 || | |
Line 11: | Line 12: |
When running this command from the script window instead of as a goal, you can use the \reset switch to clear all keepcapturedheroes in memory, either from scripts or goals. For example: keepcapturedheroes /reset. Note that clearing via script will only last until the bot is restarted, unless the script is ran each restart, or the goals are cleared as well. |
Usage: |
keepcapturedheroes hero-string |
Default: |
keepcapturedheroes any:level>=200|any:base>69 |
Example: |
keepcapturedheroes any:level>=200 |
This directive will tell the bot not to automatically fire any captured hero specified in the hero string.
When not set, the default heroes to keep are those level 200+, as shown above in the first example.
In the second example above, the bot will keep all captured heroes that are level 100 or higher with a base greater than 79, or are level 150 or higher with a base greater than 69, or are level 200 or higher regardless of base.
When running this command from the script window instead of as a goal, you can use the \reset switch to clear all keepcapturedheroes in memory, either from scripts or goals. For example: keepcapturedheroes /reset. Note that clearing via script will only last until the bot is restarted, unless the script is ran each restart, or the goals are cleared as well.