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?