Difference between revisions of "autoSwitch"
Jump to navigation
Jump to search
(Created page with 'Automatically switch weapons, shields and/or arrows when certain monsters are engaged. == Syntax == autoSwitch [<monster names>] { rightHand [<equipment name>] leftHand [<e…') |
m |
||
Line 2: | Line 2: | ||
== Syntax == | == Syntax == | ||
− | autoSwitch [ | + | autoSwitch <[[monster name]]s> { |
− | rightHand [ | + | rightHand {<[[item name]]> | NONE} |
− | leftHand [ | + | leftHand <[[item name]]> |
− | arrow [ | + | arrow <[[item name]]> |
− | distance [ | + | distance <[[number]]> |
− | useWeapon [ | + | useWeapon <[[boolean]]> |
} | } | ||
=== Attribute definitions === | === Attribute definitions === | ||
− | + | ; autoSwitch <monster names> | |
− | |||
− | ; autoSwitch | ||
: This option specifies a comma-separated list of monster names which, when encountered, will trigger the auto-switch. | : This option specifies a comma-separated list of monster names which, when encountered, will trigger the auto-switch. | ||
− | + | ; rightHand <item name> | |
− | ; rightHand | ||
: This option specifies the weapon to automatically equip in the right hand slot. | : This option specifies the weapon to automatically equip in the right hand slot. | ||
Line 23: | Line 20: | ||
− | ; leftHand | + | ; leftHand <item name> |
: This option specifies the equipment (weapon or shield) to automatically equip in the left hand slot. | : This option specifies the equipment (weapon or shield) to automatically equip in the left hand slot. | ||
Line 29: | Line 26: | ||
− | ; arrow | + | ; arrow <item name> |
: If you're using a bow class weapon, this option specifies the arrows to use. | : If you're using a bow class weapon, this option specifies the arrows to use. | ||
− | ; distance | + | ; distance <number> |
: If this option is set, this will temporarily replace the value of [[attackDistance]] when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch. | : If this option is set, this will temporarily replace the value of [[attackDistance]] when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch. | ||
− | ; useWeapon | + | ; useWeapon <boolean> |
: If this option is set, this will temporarily replace the value of [[attackUseWeapon]] when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch. | : If this option is set, this will temporarily replace the value of [[attackUseWeapon]] when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch. | ||
− | + | == Examples == | |
− | + | Switch weapon to a +7 Very Very Strong Ice Flamberge when it encounters a High Orc, and switch back to +8 Triple Bloody Saber when attacking other monsters: | |
− | |||
− | == | ||
− | |||
− | |||
autoSwitch_default_rightHand +8 Saber [Hydra*3] [3] | autoSwitch_default_rightHand +8 Saber [Hydra*3] [3] | ||
Line 52: | Line 45: | ||
} | } | ||
+ | == Notes == | ||
+ | If you encounter a monster not listed in any of your autoSwitch blocks, Kore will equip the items specified in [[autoSwitch_default_rightHand]], [[autoSwitch_default_leftHand]], and [[autoSwitch_default_arrow]] if these options are set. | ||
[[Category:config.txt]] | [[Category:config.txt]] | ||
[[Category:config block]] | [[Category:config block]] | ||
[[Category:items]] | [[Category:items]] |
Revision as of 11:15, 18 August 2012
Automatically switch weapons, shields and/or arrows when certain monsters are engaged.
Syntax
autoSwitch <monster names> { rightHand {<item name> | NONE} leftHand <item name> arrow <item name> distance <number> useWeapon <boolean> }
Attribute definitions
- autoSwitch <monster names>
- This option specifies a comma-separated list of monster names which, when encountered, will trigger the auto-switch.
- rightHand <item name>
- This option specifies the weapon to automatically equip in the right hand slot.
- Note. To attack with bare hands, specify [NONE].
- leftHand <item name>
- This option specifies the equipment (weapon or shield) to automatically equip in the left hand slot.
- Note. Leave this attribute blank if you are switching to a two-handed weapon.
- arrow <item name>
- If you're using a bow class weapon, this option specifies the arrows to use.
- distance <number>
- If this option is set, this will temporarily replace the value of attackDistance when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch.
- useWeapon <boolean>
- If this option is set, this will temporarily replace the value of attackUseWeapon when auto-switch occurs. The original value is stored and will be reset when you encounter another monster not in the list specified in autoSwitch.
Examples
Switch weapon to a +7 Very Very Strong Ice Flamberge when it encounters a High Orc, and switch back to +8 Triple Bloody Saber when attacking other monsters:
autoSwitch_default_rightHand +8 Saber [Hydra*3] [3] autoSwitch High Orc { rightHand +7 VVS Ice Flamberge }
Notes
If you encounter a monster not listed in any of your autoSwitch blocks, Kore will equip the items specified in autoSwitch_default_rightHand, autoSwitch_default_leftHand, and autoSwitch_default_arrow if these options are set.