Difference between revisions of "inMap"
Jump to navigation
Jump to search
(merge) |
m |
||
Line 1: | Line 1: | ||
− | ; inMap | + | ; inMap <[[map name]]s> |
: If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps. | : If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps. | ||
− | ; notInMap | + | ; notInMap <[[map name]]s> |
: If this option is set, the block will never be used if you are inside one of the specified comma-separated list of maps. | : If this option is set, the block will never be used if you are inside one of the specified comma-separated list of maps. | ||
== Examples == | == Examples == | ||
− | + | It will use Bash on monster Skeleton only if you are in pay_dun00: | |
− | attackSkillSlot | + | [[attackSkillSlot]] [[skill name|SM_BASH]] { |
− | monsters Skeleton | + | [[monsters]] [[monster name|Skeleton]] |
− | inMap pay_dun00 | + | '''inMap''' pay_dun00 |
} | } | ||
− | + | Use Heal when hp is bellow 10% and we are not in lhz_dun03: | |
− | + | [[useSelf_skill]] [[skill name|AL_HEAL]] { | |
− | useSelf_skill | + | [[hp]] < 10% |
− | hp < 10% | + | '''notInMap''' lhz_dun03 |
− | notInMap lhz_dun03 | ||
} | } | ||
− | |||
− | |||
[[Category:Self Condition]] | [[Category:Self Condition]] |
Revision as of 11:47, 17 August 2012
- inMap <map names>
- If this option is set, the block will only be used if you are inside one of the specified comma-separated list of maps.
- notInMap <map names>
- If this option is set, the block will never be used if you are inside one of the specified comma-separated list of maps.
Examples
It will use Bash on monster Skeleton only if you are in pay_dun00:
attackSkillSlot SM_BASH { monsters Skeleton inMap pay_dun00 }
Use Heal when hp is bellow 10% and we are not in lhz_dun03:
useSelf_skill AL_HEAL { hp < 10% notInMap lhz_dun03 }