Category:Player Condition: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Condition about player's status/information. Currently, only the partySkill configuration block uses these conditions.') |
(adding custom conditions) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
Currently, only the [[partySkill]] configuration block uses these conditions. | Currently, only the [[partySkill]] configuration block uses these conditions. | ||
<noinclude> | |||
== Adding Custom Player Conditions == | |||
Hook <code>checkPlayerCondition</code> has the following fields in argument hash: | |||
* <code>player</code> - currently checked player's Actor object | |||
* <code>prefix</code> - currently checked config block's prefix (blockOption's value would be <code>$config{$prefix."_blockOption"}</code>) | |||
* <code>return</code> - set to '''0''' to indicate that condition failed | |||
[[Category:Reference]] | |||
</noinclude> |
Latest revision as of 08:36, 8 September 2010
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 objectprefix
- currently checked config block's prefix (blockOption's value would be$config{$prefix."_blockOption"}
)return
- set to 0 to indicate that condition failed
Pages in category "Player Condition"
The following 23 pages are in this category, out of 23 total.
H
T
- target aggressives
- target dead
- target defendMonsters
- target deltaHP
- target dist
- target hp
- target isGuild
- target isJob
- target isNotGuild
- target isNotJob
- target isNotMyDevotee
- target monsters
- target notWhileSitting
- target spirit
- target timeout
- target whenGround
- target whenNotGround
- target whenShieldEquipped
- target whenStatusActive
- target whenStatusInactive
- target whenWeaponEquipped