whenGround: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(merge)
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
''[[:Category:Self Condition|Self Conditions]]:''
''[[:Category:Self Condition|Self Conditions]]:''


; whenGround [<[[References#Ground Spell Names|ground spell names]]>]
; whenGround <[[spells.txt|spell name]]s>
: 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.


; whenNotGround [<[[References#Ground Spell Names|ground spell names]]>]
; whenNotGround <[[spells.txt|spell name]]s>
: 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.
: 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.


''Target [[:Category:Monster Condition|Monster]] and [[:Category:Monster Condition|Player]] Conditions:''
''Target [[:Category:Monster Condition|Monster]] and [[:Category:Player Condition|Player]] Conditions:''


; target_whenGround [<[[References#Ground Spell Names|ground spell names]]>]
; target_whenGround <[[spells.txt|spell name]]s>
: 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 block's target is 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 block's target is standing on.


; target_whenNotGround [<[[References#Ground Spell Names|ground spell names]]>]
; target_whenNotGround <[[spells.txt|spell name]]s>
: 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 block's target is standing on.
: 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 block's target is standing on.


== Notes ==
== 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]].
Ground types can be found by using the console command [[spells.txt|spells]] while certain spells are active on the ground. You can also look for them in the [[:Category:tables|tables]] directory, in the file [[spells.txt]].


== Examples ==
== Examples ==


Use Acid Demonstration on Atroce when inside Poem of Bragi and there are more than one Acid Bottle and Bottle Grenade in your inventory:
  attackSkillSlot Acid Demonstration {
  attackSkillSlot Acid Demonstration {
  whenGround Poem of Bragi
  whenGround Poem of Bragi
Line 27: Line 28:
  }
  }


: 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 Cart Boost when the skill is off and we are not inside Don't Forget Me ground skill:
 
  useSelf_skill Cart Boost {
  useSelf_skill Cart Boost {
  whenStatusInactive Cart Boost
  whenStatusInactive Cart Boost
  whenNotGround Don't Forget Me
  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]]

Latest revision as of 22:22, 27 April 2021

Self Conditions:

whenGround <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 <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.

Target Monster and Player Conditions:

target_whenGround <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 block's target is standing on.
target_whenNotGround <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 block's target is 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 directory, in the file spells.txt.

Examples

Use Acid Demonstration on Atroce when inside Poem of Bragi and there are more than one Acid Bottle and Bottle Grenade in your inventory:

attackSkillSlot Acid Demonstration {
	whenGround Poem of Bragi
	monsters Atroce
	inInventory Acid Bottle > 1, Bottle Grenade > 1
}

Use Cart Boost when the skill is off and we are not inside Don't Forget Me ground skill:

useSelf_skill Cart Boost {
	whenStatusInactive Cart Boost
	whenNotGround Don't Forget Me
}