Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chapter 66] SpellUseSystem is never called #230

Open
PierreGuyot opened this issue Jan 14, 2025 · 0 comments
Open

[Chapter 66] SpellUseSystem is never called #230

PierreGuyot opened this issue Jan 14, 2025 · 0 comments

Comments

@PierreGuyot
Copy link

This is *very* similar to the `ItemUseSystem`, but takes `WantsToCastSpell` as input. It then sends an `EffectType::SpellUse` to the effects system. We haven't written that yet - so let's do that. We'll start by adding it to the `EffectType` enumeration:

The text of the chapter describes how to write SpellUseSytem but forgets to add it to the run_systems function in main.rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant