Weapon Combo Examples
Weapon combos allow you to create dynamic combat systems where consecutive hits trigger different effects. These examples demonstrate how to implement practical combo systems for different weapon types.Overview
The combo system tracks player input sequences and executes different skills based on the combo count. This creates engaging combat mechanics where timing and positioning matter.- Combo Sword
- Combo Bow
Combo Sword
A melee weapon that tracks consecutive hits and triggers different effects based on combo count.Configuration
How It Works
Combo Application
Combo Application
The Parameters:
combo-apply skill manages the combo state:maxcombo=5: Maximum combo count (resets after 5)reset=3: Reset timer in seconds (combo resets if no hit within 3s)name="Randomness": Internal identifier for this comboid=test-shot-exec: Unique ID for trackingspellcooldown=3: Cooldown after max combo reached
Combo Hits
Combo Hits
The Each number corresponds to a combo count and executes a skill list. Replace the messages with actual combat skills.
combo-hit skill defines what happens at each combo level:Trigger Conditions
Trigger Conditions
The skill triggers on attack when equipped:
~onAttack: Triggers when player attacks?equipslot{slot=HAND}: Only when item is in main hand
Practical Implementation
Replace the test messages with real combat skills:Combo System Integration
The combo system requires two core skills that work together:combo-apply
Manages combo state and timing:combo-hit
Executes skills based on combo count:Design Patterns
Progressive Damage
Status Effect Chains
Elemental Progression
Area Effects at Milestones
Advanced Techniques
Combo Branching
Create different combo paths based on conditions:Combo Reset Rewards
Grant bonuses when maintaining max combo:Full Example: Warrior’s Blade
test-combo_weapons-items.yml
Next Steps
Demo Spells
Integrate spell systems with weapon combos
Custom Items
Create items that work with combos
Skill Reference
Browse all available skills
Item System
Deep dive into item configuration