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
{{ message }}
Repository navigation
Judge a device use_item declaration again in the magic phase, as a cast and a scroll read are #145
Since #139 the magic phase re-runs the checks a cast declaration and a scroll-read use_item declaration passed, immediately before each resolves, and a declaration that now fails fizzles with magic.cast.fizzled instead of raising or going through. A device use_item (a wand, staff, or rod) and a turn_undead declaration are not judged again.
The reachable case: a member declares a staff of striking against a group, the movement phase leaves that group beyond melee range, and _resolve_striking resolves the declaration without the combat.attack.out_of_reach check that _validate_magic_item_declaration applied at the top of the round.
Whether a device use should be judged again, and what a refused one reports (the charge kept or spent, which event), is a rules decision. The _party_magic docstring states the current scope.
Activity