inMap: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
(merge)
Line 2: Line 2:
: 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.


Example:
; notInMap [<[[References#Map Names|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 ==
 
  attackSkillSlot Bash {
  attackSkillSlot Bash {
  monsters Skeleton
  monsters Skeleton
Line 8: Line 12:
  }
  }


* It will use Bash on monster Skeleton only if you are in pay_dun00.
: It will use Bash on monster Skeleton only if you are in pay_dun00.
 
useSelf_skill Heal {
hp < 10%
notInMap lhz_dun03
}
 
: Use Heal when hp is bellow 10% and we are not in lhz_dun03.


[[Category:Self Condition]]
[[Category:Self Condition]]

Revision as of 02:31, 9 January 2010

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

attackSkillSlot Bash {
	monsters Skeleton
	inMap pay_dun00
}
It will use Bash on monster Skeleton only if you are in pay_dun00.
useSelf_skill Heal {
	hp < 10%
	notInMap lhz_dun03
}
Use Heal when hp is bellow 10% and we are not in lhz_dun03.