Page 1 of 1

Grushnak generated with 0 hps

Posted: Fri Aug 27, 2010 9:54 pm
by PowerWyrm
Lua seems correct... so I would think of an integer overflow here.

Re: Grushnak generated with 0 hps

Posted: Fri Aug 27, 2010 9:57 pm
by darkgod
Hummmm very very weird, ther eis no int, just floats and it's kinda hard to get high enough with life to overflow those .. mhhhh

Re: Grushnak generated with 0 hps

Posted: Sat Aug 28, 2010 11:01 am
by darkgod
If this happens again can you save the savefile and log for me please ?

Re: Grushnak generated with 0 hps

Posted: Sat Aug 28, 2010 11:28 am
by Patryn
Just a wild guess:
AFAIK the monsters use/wear the items they're generated with (at least some)? Propably he was wearing a certain ring that reduces hp/turn down till 0hp...

Re: Grushnak generated with 0 hps

Posted: Sat Aug 28, 2010 11:32 am
by darkgod
AHAH !
Yes ..
I'll remove those ;) thanks

Re: Grushnak generated with 0 hps

Posted: Sat Aug 28, 2010 2:26 pm
by PowerWyrm
He dropped a ring of invisibility... so you're right, he was probably using it and got his hps reduced to zero (it was 0% of his life so the guess seems correct).

Re: Grushnak generated with 0 hps

Posted: Sat Aug 28, 2010 2:35 pm
by darkgod
Yeah :)

I removed his allowance for rings & amulets