Perhaps you did not read the content fully.
Yes, this is the first time victim is used.

However, if you notice the output from GDB here you'll
see the debugger has no problem dereferencing saving_throw or
level.

If the problem was invalid data GDB would indicate that here.
If you want proof, you can do the math yourself:

> (gdb) print victim->level
> $2 = 18

> (gdb) print victim->saving_throw
> $3 = -1

Any other ideas?

> (gdb) print  ( (victim->level/2) - (level/2)) * 5 - victim->saving_throw *
> 1.25
> $1 = -453.75
>

Reply via email to