Commit 20a7202
committed
Add message for creatures hit by cancellation and zero out hero's Pw
This was inspired initially by an EvilHack feature that added messages,
but I wasn't happy with the messages ("Magical energies are absorbed
from [monster]" implies the hero has magic-sight which isn't really the
case) so I changed them to an ambiguous visual effect.
The other change, removing all magic energy from the player when they
get canceled, is to provide a counterpart to monsters no longer being
able to use their spells or special attacks once cancelled. This
shouldn't actually happen very often, as the only causes right now are
the hero zapping cancellation at themselves (which also cancels their
entire inventory) or getting hit by Magicbane.
At some point I might consider implementing a player-side cancellation
status like FIQHack has, but not right now.1 parent 5fbdd32 commit 20a7202
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3242 | 3242 | | |
3243 | 3243 | | |
3244 | 3244 | | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
3245 | 3251 | | |
3246 | 3252 | | |
3247 | 3253 | | |
| |||
3267 | 3273 | | |
3268 | 3274 | | |
3269 | 3275 | | |
| 3276 | + | |
| 3277 | + | |
3270 | 3278 | | |
3271 | 3279 | | |
3272 | 3280 | | |
| |||
0 commit comments