Spell Creation Quick Start Guide
🚀 Quick Start
Step 1: Create Your Spell File
# Example: Create a simple damage spell
touch spells/custom/magic_missile.yamlStep 2: Define Your Spell
name: "Magic Missile"
description: "Launches a magical projectile at target enemy"
element_required: ""
min_spell_level: 5
sp_cost: 8
cooldown: 2
target_type: "enemy"
effects:
- type: "damage"
damage_min: 12
damage_max: 18
damage_type: "magic"
messages:
success: "Your magic missile strikes %s!"
failure_level: "You need spell level %d or higher. (Current: %d)"
failure_sp: "Not enough spell points. (Need: %d, Have: %d)"
failure_target: "You must specify a target enemy."Step 3: Test Your Spell
🎯 Common Spell Types
Damage Spell
Healing Spell
Teleport Spell
Summoning Spell
📋 Essential Properties
Required Properties
Common Optional Properties
🎮 Target Types
⚡ Effect Types
💬 Message Placeholders
🔧 Testing Tips
📚 Next Steps
🚨 Common Mistakes
🎉 Congratulations!
Last updated
Was this helpful?