whenPartyMembersNear

From OpenKore Wiki
(Redirected from whenPartyMembersNearDist)
Jump to navigation Jump to search
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
}