Overview
The Click Combo system enables Wynncraft-style input sequences where players perform combinations of left-clicks, right-clicks, swaps, and drops to cast specific skills. Visual feedback shows the input progress.This system is inspired by Wynncraft’s spell casting mechanics and supports up to 3-input combinations.
Combo Types
The system supports four different combo modes:The combo mode to use:
NORMAL- Full 3-input combos with visual subtitle feedbackWYNN_WAND- Wynncraft wand-style (starts with RIGHT click)WYNN_WEAPON- Wynncraft weapon-style (starts with LEFT click)QUICK- Fast 2-input combos starting with SWAP
Time in seconds before the combo input expires.
Input Types
- LEFT (
l) - Left click - RIGHT (
r) - Right click - SWAP (
swap) - F key - DROP (
drop) - Q key
Basic Usage
Create a skill that initiates a combo system:Combo Pattern Binding
Bind skills to specific input sequences using concatenated input codes:3-Input Combos (NORMAL, WYNN modes)
2-Input Combos (QUICK mode)
QUICK mode supports an additional
+down input if the player is crouching when the combo completes.Wynncraft Examples
Archer/Warrior (WYNN_WEAPON)
Starts with LEFT click, common for weapon-based classes:Mage (WYNN_WAND)
Starts with RIGHT click, common for wand-based classes:Visual Feedback
The system provides automatic visual feedback:- Subtitle Display: Shows input progress as small text characters
- Sound Effects:
- Click sound (pitch increases with progress)
- Success sound (experience orb) on valid combo
- Color Coding:
- White: Input in progress
- Green: Valid combo executed
- Red: Invalid combo or interrupted
Invalid Inputs
When a combo doesn’t match any bound pattern:Interruption Handling
Combos are automatically cancelled if the player is stunned:Best Practices
1. Use Appropriate Modes
- WYNN_WEAPON: For melee weapons, starts with LEFT
- WYNN_WAND: For magical weapons, starts with RIGHT
- QUICK: For fast utility abilities
- NORMAL: For general purpose, full control
2. Duration Tuning
3. Provide Feedback
Always include clear feedback in your skills:4. Add Cooldowns
Prevent spam by adding cooldowns:Internal Variables
The system tracks state using caster variables:caster.input- Raw input string (e.g., “lrl”)caster.display_input- Formatted display stringcaster.input_counter- Number of inputs recordedcaster.input_counter_max- Maximum inputs for this mode (2 or 3)caster.input_key- Most recent key press
Conflict Prevention
Trigger Integration
Common triggers for click combos:Complete Example
Full Wynncraft-style mage class:Known Issues
DROP Input: Currently returns LEFT input instead of DROP. This is a known issue mentioned in the source code.
Related Systems
- Weapon Movesets - Alternative combat input system
- Spell Cycling - Cycle through bound spells