Category:Player Condition

From OpenKore Wiki
Jump to navigation Jump to search

Condition about player's status/information.

Currently, only the partySkill configuration block uses these conditions.


Adding Custom Player Conditions

Hook checkPlayerCondition has the following fields in argument hash:

  • player - currently checked player's Actor object
  • prefix - currently checked config block's prefix (blockOption's value would be $config{$prefix."_blockOption"})
  • return - set to 0 to indicate that condition failed