Category:Player Condition: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(adding custom conditions) |
||
Line 4: | Line 4: | ||
<noinclude> | <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]] | [[Category:Reference]] | ||
</noinclude> | </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