You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a missing return statement after the check on the mana pool.
Currently, if the caster lacks the mana for a spell, the pool won't be updated but the spell will still be cast.
For the player, this won't happen because the spell will be cast from the targeting menu, which has the proper check against this, but a direct call to spell_trigger could lead to an error.
(If the check is always supposed to always have been done prior to the call, then let's simply remove it here.)
The text was updated successfully, but these errors were encountered:
rustrogueliketutorial/book/src/chapter_66.md
Lines 453 to 465 in 33872fe
There is a missing
return
statement after the check on the mana pool.Currently, if the caster lacks the mana for a spell, the pool won't be updated but the spell will still be cast.
For the player, this won't happen because the spell will be cast from the targeting menu, which has the proper check against this, but a direct call to
spell_trigger
could lead to an error.(If the check is always supposed to always have been done prior to the call, then let's simply remove it here.)
The text was updated successfully, but these errors were encountered: