ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Fri Aug 14, 2020 11:34 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Feb 24, 2018 11:31 pm 

Joined: Sun Jul 13, 2014 4:09 pm
Posts: 397
Got a bug on an addon, and while I am fixing, I think something is wrong upstream too.

From @notinferno

As Posessor, it's possible to get a bug where the game rests infinitely for mana while you have 0 regen.

Repro steps:
1. Start up a game as a posessor.
2. Acquire a mana-using talent from an escort or through the Lua Console with e.g.
game.player:learnTalent(game.player.T_PHASE_DOOR, true, 1)

3. At this point, no regen is displayed in the mana bar and resting still works normally even if you are missing mana.
4. Assume a form with some base mana regen (All your starting corpses have this, and maybe all monsters do? Not sure. )
5. Return to your normal form. Now, instead of not displaying regen, your mana bar shows your regen as "0.00".

After following these steps using the stone giant possessor form, mana regen is: 9.497e-17. I went ahead and put a guard for that in the add-on but it seemed likely that it was in core so I turned off my addon and repeated the steps and had the same result, instead of zero I end up with a regen of extremely tiny floating point value.

ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot] and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group