Difference between revisions of "whenStatusActive"

From OpenKore Wiki
Jump to navigation Jump to search
m
(merge)
Line 2: Line 2:
 
: If this option is set, the block will only be used if at least one of the specified comma-separated list of status names is currently active.
 
: If this option is set, the block will only be used if at least one of the specified comma-separated list of status names is currently active.
  
'''Note.''' Statuses can be found by typing s in the console while the status is active. You can also look for them in the tables folder, in the files [[skillsailments.txt]], [[skillslooks.txt]], [[skillsstate.txt]], and [[skillsstatus.txt]].
+
; whenStatusInactive [<[[References#Status Names|status names]]>]
 +
: If this option is set, the block will only be used if none of the specified comma-separated list of status names is currently active.
 +
 
 +
== Notes ==
 +
 
 +
Statuses can be found by typing s in the console while the status is active. You can also look for them in the [[tables]] folder, in the files [[skillsailments.txt]], [[skillslooks.txt]], [[skillsstate.txt]], and [[skillsstatus.txt]].
 +
 
 +
== Examples ==
  
Example:
 
 
  attackSkillSlot Cart Termination {
 
  attackSkillSlot Cart Termination {
 
  monsters Hill Wind
 
  monsters Hill Wind
Line 10: Line 16:
 
  }
 
  }
  
* Use Cart Termination on Hill Winds only if Cart Boost effect is activated.
+
: Use Cart Termination on Hill Winds only if Cart Boost effect is activated.
 +
 
 +
useSelf_skill Blessing {
 +
lvl 10
 +
sp > 70
 +
whenStatusInactive Blessing
 +
}
 +
 
 +
: Use Blessing level 10 on yourself when sp is greater than 70 and Blessing status if off.
  
 
[[Category:Self Condition]]
 
[[Category:Self Condition]]

Revision as of 02:18, 9 January 2010

whenStatusActive [<status names>]
If this option is set, the block will only be used if at least one of the specified comma-separated list of status names is currently active.
whenStatusInactive [<status names>]
If this option is set, the block will only be used if none of the specified comma-separated list of status names is currently active.

Notes

Statuses can be found by typing s in the console while the status is active. You can also look for them in the tables folder, in the files skillsailments.txt, skillslooks.txt, skillsstate.txt, and skillsstatus.txt.

Examples

attackSkillSlot Cart Termination {
	monsters Hill Wind
	whenStatusActive Cart Boost
}
Use Cart Termination on Hill Winds only if Cart Boost effect is activated.
useSelf_skill Blessing {
	lvl 10
	sp > 70
	whenStatusInactive Blessing
}
Use Blessing level 10 on yourself when sp is greater than 70 and Blessing status if off.