Chaosforge Forum

DoomRL => Bug Reports => Topic started by: Tormuse on March 16, 2011, 12:34

Title: Angelic Armor/Longinus Spear bug
Post by: Tormuse on March 16, 2011, 12:34
I was playing earlier today and got an error message saying to report what happened, so here I am!  :)

Contents of Error.log:

----------------------------------------------------------------------
Timestamp   : 16/03/2011 1:30:16
Error level : ERROR
Message     : Lua hook OnRemove failed!

Hook name     : items[spear].OnRemove
Error message : Range error
----------------------------------------------------------------------

The message appeared when I unequipped my Longinus Spear from the prepared slot while wearing the Angelic Armor.  Curiously, doing this kept the Angelic Armor at 11 strength even when I wasn't wielding the Longinus Spear!  I played around with equipping and unequipping things to see what would happen and somehow, I apparently permanently reduced the Angelic Armor's strength by four, so it was 7 while wielding the Spear and 3 otherwise.  Then, at some point, somehow, I apparently reduced it by four again and it was at 3 even when I was equipping the Spear!  I'm not sure which of my actions reduced the strength of my armour, so I apologize for the vagueness of this post.  (I stopped experimenting with it because I didn't want to screw up my run)  :)  I can post the mortem if you like; it shows me carrying the Spear and wearing Angelic Armor [0/3].
Title: Re: Angelic Armor/Longinus Spear bug
Post by: Tavana on March 20, 2011, 03:42
I don't think the mortem will be necessary, we've been watching the bug continue to creep up yet again.

Thanks for the report. Ticket created, locking.