Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old November 7, 2011, 16:24   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,583
PowerWyrm is on a distinguished road
[3.3.x] The Impact Hound breathes... a crash

Assertion (timer > 0) failed in mon_inc_timed().

The context:
- first breath on a monster 3 squares away, monster is stunned
- second breath on the same monster, crash

The problem (project_m):
- a monster breathes force: do_stun = (randint1(15) + r) / (r + 1);
- cut in half if monster is already stunned: if (m_ptr->m_timed[MON_TMD_STUN]) do_stun /= 2;
- with r = 3 and randint1(15) < 5, do_stun = 0, assertion is triggered in mon_inc_timed()

The fix: ensure that effects are never 0
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old November 7, 2011, 16:30   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Excellent, thanks again for the catch. Opened as #1578.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"The Great Wyrm of Power breathes... PowerWyrm Development 5 July 30, 2011 20:34
Hound advice SSK Vanilla 18 June 1, 2011 04:20
It breathes...you don't TJS Vanilla 13 April 2, 2009 21:33
Hound Fetish Vlarg Oook! 0 September 28, 2008 04:16
Hound Behavior Zero Vanilla 13 February 12, 2008 23:29


All times are GMT +1. The time now is 12:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.