monsters: Difference between revisions
Jump to navigation
Jump to search
(Created page with '; monsters [<monster names>] : If this option is set in an attackSkillSlot or attackComboSlot block, the block will only be used if you are a…') |
No edit summary |
||
Line 2: | Line 2: | ||
: If this option is set in an [[attackSkillSlot]] or [[attackComboSlot]] block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters and if this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you. | : If this option is set in an [[attackSkillSlot]] or [[attackComboSlot]] block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters and if this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you. | ||
'''Examples:''' | |||
* Use Double Strafe on Geographers. | |||
attackSkillSlot Double Strafe { | attackSkillSlot Double Strafe { | ||
monsters Geographer | monsters Geographer | ||
} | } | ||
* | * Use White Potion while Evil Druid attacks you. | ||
useSelf_item White Potion { | useSelf_item White Potion { | ||
monsters Evil Druid | monsters Evil Druid | ||
} | } | ||
'''''Note.''''' [[mon_control.txt|mon_control]] must be set to attack defined monster. |
Revision as of 22:23, 9 December 2009
- monsters [<monster names>]
- If this option is set in an attackSkillSlot or attackComboSlot block, the block will only be used if you are attacking any one of the specified comma-separated list of monsters and if this option is set on other blocks, the block will be used if any one of the specified comma-separated list of monsters is attacking you.
Examples:
- Use Double Strafe on Geographers.
attackSkillSlot Double Strafe { monsters Geographer }
- Use White Potion while Evil Druid attacks you.
useSelf_item White Potion { monsters Evil Druid }
Note. mon_control must be set to attack defined monster.