whenPartyMembersNear: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "; whenPartyMembersNear <range> : Range of party members nearby necessary to trigger this block. We are also part of that party member count. === Example === * Use Clementia...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; whenPartyMembersNear <range>
; whenPartyMembersNear <[[References#Range_Operators|range]]>
: Range of party members nearby necessary to trigger this block. We are also part of that party member count.
: Range of party members nearby necessary to trigger this block. We are also part of that party member count.


=== Example ===


* Use Clementia when there's at least another party member nearby.
; whenPartyMembersNearDist <[[References#Range_Operators|range]]>
: Range of distance that amount of party members (specified in "whenPartyMembersNear") have to be to trigger this block. If unset, defaults to less than [[clientSight]] or 15 cells (in this order).
: '''Notes:''' this does nothing if "whenPartyMembersNear" is unset or invalid.


=== Examples: ===
* use Magnificat when there's at least another party member nearby:
partySkill Magnificat {
    target_whenStatusInactive Magnificat
    whenPartyMembersNear > 1
}
* use Clementia (lvl 2) when there's at least another party member less or equal than seven cells away


  partySkill Clementia {
  partySkill Clementia {
    lvl 2
     target_whenStatusInactive Blessing
     target_whenStatusInactive Blessing
     whenPartyMembersNear > 2
     whenPartyMembersNear > 1
    whenPartyMembersNearDist <= 7
  }
  }


=== See Also ===
* [[whenPartyMembersNearDist]]


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

Latest revision as of 23:10, 9 May 2021

whenPartyMembersNear <range>
Range of party members nearby necessary to trigger this block. We are also part of that party member count.


whenPartyMembersNearDist <range>
Range of distance that amount of party members (specified in "whenPartyMembersNear") have to be to trigger this block. If unset, defaults to less than clientSight or 15 cells (in this order).
Notes: this does nothing if "whenPartyMembersNear" is unset or invalid.


Examples:

  • use Magnificat when there's at least another party member nearby:
partySkill Magnificat {
    target_whenStatusInactive Magnificat
    whenPartyMembersNear > 1
}
  • use Clementia (lvl 2) when there's at least another party member less or equal than seven cells away
partySkill Clementia {
    lvl 2
    target_whenStatusInactive Blessing
    whenPartyMembersNear > 1
    whenPartyMembersNearDist <= 7
}