一键导入
magic
Handle spellcasting, ritual magic, magical item use, and wild magic events. Use this when the player wants to cast a spell or use magic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Handle spellcasting, ritual magic, magical item use, and wild magic events. Use this when the player wants to cast a spell or use magic.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Handle tactical combat encounters with initiative, attacks, saving throws, and dice rolls. Use this when the player wants to fight enemies or resolve combat.
Guide the player through creating a new RPG character, or display an existing character sheet. Use this when the player wants to create or roll a new character, or when they ask to view, show, or display a character sheet.
Handle exploration of surroundings, searching for secrets, and investigating the environment. Use this when the player wants to explore, search, or investigate.
Handle character advancement when XP reaches the level-up threshold. Use this when a character levels up or the player asks to level up.
Generate treasure, magical items, and loot drops for combat, treasure hoards, and hidden caches. Use this when generating loot or the player searches for treasure.
Generate a new campaign world with setting, factions, locations, and a starting quest. Use this when the player wants to start a new campaign or generate a world.
| name | magic |
| description | Handle spellcasting, ritual magic, magical item use, and wild magic events. Use this when the player wants to cast a spell or use magic. |
Handle all magical actions — spellcasting, ritual magic, magical item use, and wild magic events.
Copy this checklist and mark each step complete as you go:
- [ ] 1. Load caster state (class, ability, spells, slots, concentration)
- [ ] 2. Identify or suggest the spell
- [ ] 3. Check spell slot availability (cantrip / slot / upcast)
- [ ] 4. Resolve the spell (attack roll, saving throw, healing, AoE, concentration)
- [ ] 5. Apply cantrip scaling (if cantrip)
- [ ] 6. Reference spells.md for spell details
- [ ] 7. Roll wild magic surge (if Wild Magic Sorcerer)
- [ ] 8. Update state (slots, HP, concentration, conditions, XP)
Read the character file to determine:
proficiency + spellcasting modifier8 + proficiency + spellcasting modifierIf the player names a specific spell, use it. If they describe an effect, suggest the closest matching spell from their known/prepared list.
If the player wants to cast a spell they don't know: "You don't have that spell prepared/known. Here's what you can cast..." and list options.
Open the scene with a header banner (see RULES.md § "Display Formatting — Scene Banners") using the ✨ MAGIC EVENT scene type if this is a significant spell outside of combat. During combat, skip the banner — the combat scene is already open.
For spells requiring an attack roll, display a spell card (see RULES.md § "Display Formatting — Spell Cards") for significant spells (AoE, dramatic moments, rituals). Use inline roll format for cantrips and simple attacks.
🎲 d20 + spell attack bonus vs target AC
→ Hit: Roll damage
→ Miss: Spell fizzles against the target
→ Nat 20: Critical — double damage dice!
For spells requiring the target to save:
Target must make a [Attribute] saving throw:
🎲 d20 + target's [Attribute] modifier = [total] vs your Spell DC [dc]
→ Fail: Full effect
→ Save: Half damage / reduced effect / no effect (spell-dependent)
Roll the specified healing dice:
🎲 [dice] + spellcasting modifier = [total] HP restored
[Character] HP: [old] → [new] / [max]
For AoE spells, each creature in the area makes a saving throw individually. Roll for each and narrate the results.
If the spell requires concentration:
Cantrip damage scales with character level (not class level):
| Character Level | Cantrip Dice |
|---|---|
| 1–4 | 1 die |
| 5–10 | 2 dice |
| 11–16 | 3 dice |
| 17+ | 4 dice |
Refer to spells.md for the full spell compendium (cantrips through 3rd level). Generate additional spells as needed, following the power curve and slot-level guidelines.
When a Wild Magic Sorcerer casts a sorcerer spell of 1st level or higher, roll a d20. On a 1, a Wild Magic Surge occurs — roll on the surge table in wild-magic.md.
After spellcasting:
RULES.md § "Display Formatting — Scene Banners")