Actions23
- Task Actions
- Chat Message Actions
- Skill (Spell) Actions
- User Actions
- Quest Actions
- Group Actions
- Content Actions
- Inbox Actions
Overview
This node integrates with the Habitica API to apply various predefined skills (spells) within the Habitica game environment. It allows users to cast specific skills on different targets such as tasks, party members, or oneself, depending on the skill's nature. This is useful for automating gameplay actions like healing party members, buffing allies, or applying effects to tasks.
Practical examples include:
- Casting a damage spell like "Burst of Flames" on a task to simulate attacking it.
- Applying a healing skill like "Healing Light" on yourself.
- Using transformation items like "Snowball" on a party member for fun interactions.
Properties
Name | Meaning |
---|---|
Skill Name | Select the skill to cast. Options include various Mage, Warrior, Rogue, Healer skills, and Transformation Items. Examples: "Burst of Flames", "Brutal Smash", "Pickpocket", "Healing Light", "Snowball". |
Task | Select the target task to cast the skill on. Required when casting skills that affect tasks (e.g., "Burst of Flames", "Brutal Smash"). Can be selected from a list or entered by ID. |
Party Member | Select the party member to cast the skill on. Required when casting skills that target party members (e.g., "Snowball", "Spooky Sparkles"). Can be selected from a list or entered by ID. |
Output
The node outputs JSON data representing the result of the skill application request to the Habitica API. The structure typically includes information about the success or failure of the action, updated states of the targeted entities (tasks, party members), and any messages returned by the API.
If the skill involves binary data (not indicated here), it would represent related media or assets, but this node primarily deals with JSON responses.
Dependencies
- Requires an API key credential for authenticating with the Habitica API.
- Uses the Habitica API base URL, which can be customized if using a self-hosted instance.
- Relies on internal methods to search for tasks and party members to populate selection lists.
Troubleshooting
- Invalid Target ID: If the provided task or party member ID does not match the expected UUID format, the node will reject the input. Ensure IDs are correctly formatted.
- Missing Required Property: Skills require specific targets; for example, casting "Burst of Flames" requires a task target. Omitting required properties will cause errors.
- API Authentication Errors: Ensure the API key credential is valid and has necessary permissions.
- Skill-Target Mismatch: Selecting a skill that requires a party member target but providing a task ID (or vice versa) may cause failures. Use the correct property based on the skill's target type.