Category:Monster Condition: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Conditions about the monster status/information. These condition attributes are shared between the attackComboSlot, attackSkillSlot, equipAuto, and monsterSkill c…') |
(adding custom conditions) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Conditions about the monster status/information. | Conditions about the monster status/information. | ||
These condition attributes are shared between the [[attackComboSlot]], [[attackSkillSlot]], [[equipAuto]], and [[monsterSkill]] configuration blocks. | These condition attributes are shared between the [[attackComboSlot]], [[attackSkillSlot]], [[equipAuto]], and [[monsterSkill]] configuration blocks. | ||
<noinclude> | |||
== Adding Custom Monster Conditions == | |||
Hook <code>checkMonsterCondition</code> has the following fields in argument hash: | |||
* <code>monster</code> - currently checked monster'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:50, 8 September 2010
Conditions about the monster status/information.
These condition attributes are shared between the attackComboSlot, attackSkillSlot, equipAuto, and monsterSkill configuration blocks.
Adding Custom Monster Conditions
Hook checkMonsterCondition
has the following fields in argument hash:
monster
- currently checked monster'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 "Monster Condition"
The following 10 pages are in this category, out of 10 total.