Difference between revisions of "whenStatusActive"

From OpenKore Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
''[[:Category:Self Condition|Self Conditions]]:''
 
''[[:Category:Self Condition|Self Conditions]]:''
  
; whenStatusActive [<[[References#Status Names|status names]]>]
+
; whenStatusActive [<[[References#Status Names|status names or handles]]>]
 
: 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 on your character.
 
: 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 on your character.
  
; whenStatusInactive [<[[References#Status Names|status names]]>]
+
; whenStatusInactive [<[[References#Status Names|status names or handles]]>]
 
: 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 on your character.
 
: 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 on your character.
  
 
''Target [[:Category:Monster Condition|Monster]] and [[:Category:Player Condition|Player]] Conditions:''
 
''Target [[:Category:Monster Condition|Monster]] and [[:Category:Player Condition|Player]] Conditions:''
  
; target_whenStatusActive [<[[References#Status Names|status names]]>]
+
; target_whenStatusActive [<[[References#Status Names|status names or handles]]>]
 
: 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 on block's target.
 
: 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 on block's target.
  
; target_whenStatusInactive [<[[References#Status Names|status names]]>]
+
; target_whenStatusInactive [<[[References#Status Names|status names or handles]]>]
 
: 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 on block's target.
 
: 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 on block's target.
  
 
== Notes ==
 
== Notes ==
  
Statuses can be found by typing s in the console while the status is active on your character. You can also look for them in the [[tables]] folder, in the files [[skillsailments.txt]], [[skillslooks.txt]], [[skillsstate.txt]], and [[skillsstatus.txt]].
+
Statuses can be found by typing s in the console while the status is active on your character. You can also look for them in the [[tables]] folder, in the files [[STATUS_id_handle.txt]] (handles) and [[skillsstatus.txt]] (names).
  
 
Currently, known statuses for monsters/players are lost when they leave your screen, so [[target_timeout]] may be more appropriate.
 
Currently, known statuses for monsters/players are lost when they leave your screen, so [[target_timeout]] may be more appropriate.
Line 33: Line 33:
 
  lvl 10
 
  lvl 10
 
  sp > 70
 
  sp > 70
  whenStatusInactive Blessing
+
  whenStatusInactive AL_BLESSING
 
  }
 
  }
  

Revision as of 23:16, 7 June 2010

Self Conditions:

whenStatusActive [<status names or handles>]
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 on your character.
whenStatusInactive [<status names or handles>]
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 on your character.

Target Monster and Player Conditions:

target_whenStatusActive [<status names or handles>]
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 on block's target.
target_whenStatusInactive [<status names or handles>]
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 on block's target.

Notes

Statuses can be found by typing s in the console while the status is active on your character. You can also look for them in the tables folder, in the files STATUS_id_handle.txt (handles) and skillsstatus.txt (names).

Currently, known statuses for monsters/players are lost when they leave your screen, so target_timeout may be more appropriate.

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 AL_BLESSING
}
Use Blessing level 10 on yourself when sp is greater than 70 and Blessing status if off.