Difference between revisions of "whenGround"

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 when any one of the specified comma-separated list of spells is currently active on the ground you're standing on.
 
: If this option is set, the block will only be used when any one of the specified comma-separated list of spells is currently active on the ground you're standing on.
  
Example:
+
; whenNotGround [<[[References#Ground Spell Names|ground spell names]]>]
 +
: If this option is set, the block will only be used when none of the specified comma-separated list of spells is currently active on the ground you're standing on.
 +
 
 +
== Notes ==
 +
 
 +
Ground types can be found by using the console command [[spells]] while certain spells are active on the ground. You can also look for them in the [[tables]] folder, in the file [[spells.txt]].
 +
 
 +
== Examples ==
 +
 
 
  attackSkillSlot Acid Demonstration {
 
  attackSkillSlot Acid Demonstration {
 
  whenGround Poem of Bragi
 
  whenGround Poem of Bragi
Line 9: Line 17:
 
  }
 
  }
  
* Use Acid Demonstration on Atroce when inside Poem of Bragi and there are more than one Acid Bottle and Bottle Grenade in your inventory.
+
: Use Acid Demonstration on Atroce when inside Poem of Bragi and there are more than one Acid Bottle and Bottle Grenade in your inventory.
 +
 
 +
useSelf_skill Cart Boost {
 +
whenStatusInactive Cart Boost
 +
whenNotGround Don't Forget Me
 +
}
 +
 
 +
: Use Cart Boost when the skill is off and we are not inside Don't Forget Me ground skill.
  
 
[[Category:Self Condition]]
 
[[Category:Self Condition]]

Revision as of 02:15, 9 January 2010

whenGround [<ground spell names>]
If this option is set, the block will only be used when any one of the specified comma-separated list of spells is currently active on the ground you're standing on.
whenNotGround [<ground spell names>]
If this option is set, the block will only be used when none of the specified comma-separated list of spells is currently active on the ground you're standing on.

Notes

Ground types can be found by using the console command spells while certain spells are active on the ground. You can also look for them in the tables folder, in the file spells.txt.

Examples

attackSkillSlot Acid Demonstration {
	whenGround Poem of Bragi
	monsters Atroce
	inInventory Acid Bottle > 1, Bottle Grenade > 1
}
Use Acid Demonstration on Atroce when inside Poem of Bragi and there are more than one Acid Bottle and Bottle Grenade in your inventory.
useSelf_skill Cart Boost {
	whenStatusInactive Cart Boost
	whenNotGround Don't Forget Me
}
Use Cart Boost when the skill is off and we are not inside Don't Forget Me ground skill.