Angband Forums > AAR Dead to nexus breath (spolier question)
 User Name Remember Me? Password
 Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 Thread Tools Display Modes
 January 2, 2010, 18:14 #1 TJS Swordsman   Join Date: May 2008 Posts: 473 Dead to nexus breath (spolier question) Well I died again. Thought I'd be alright fighting a dracolisk with fire immunity and rNexus with > 300 HP. Dead with one nexus breath. How exactly is the damage from breaths worked out? I looked in constants.h and saw BR_NEXU_MAX = 400 and BR_NEXU_DIVISOR = 6 and assumed that meant the maximum nexus breath is 400 and if you have the resist you divide it by 6. Obviously that didn't work out too well.
 January 2, 2010, 18:29 #2 pav Administrator     Join Date: Apr 2007 Location: Prague, Czech republic Age: 40 Posts: 788 [bad bad bad] __________________ See the elves and everything! http://angband.oook.cz
January 2, 2010, 18:40   #3
TJS
Swordsman

Join Date: May 2008
Posts: 473
Quote:
 Originally Posted by pav It means HP / 6 capped 400. Ie. for Dracolisk ~3000 / 6 = 500 unresisted RES_NEXU_ADJ(dam, dam_aspect) (((dam) * 6) / (damcalc(1, 6, dam_aspect) + 6)) which means 3000 / 7 = 428 worst case scenario when resisted (best would be 250)
Thanks, but I'm still a little confused.

What does capped at 400 mean if the max damage is 500? Also why do you divide by 7 for the resisted damage? Do you just add 1 to the number you divide for non-resisted damage?

Am I right in saying that in this case the resist only reduced the possible maximum damage from 500 to 428? It doesn't seem like the resist makes all that much difference really (apart from the secondary effect).

How do hobbit mages ever fight monsters that do high breath damage?

 January 2, 2010, 18:42 #4 pav Administrator     Join Date: Apr 2007 Location: Prague, Czech republic Age: 40 Posts: 788 [delete bad advise] Hope I'm reading the source right... I'm not __________________ See the elves and everything! http://angband.oook.cz
 January 2, 2010, 19:00 #5 Tobias Adept     Join Date: Dec 2009 Posts: 172 BR_NEXU_DIVISOR = 6 means that a nexus breather does 1/6 of its hp in damage. Or 400 as a maximum. Resistance is defined in RES_NEXU_ADJ which means that with resistance you recieve 6/(1d6+6) of the damage (about half to full). So the Dracolisk does 200 to 342 nexus damage to someone who resists. You should have had 50 HP more. The Dracolisk's fire breath also does 342 damage through a single resist.
 January 2, 2010, 19:00 #6 PowerDiver Prophet   Join Date: Mar 2008 Posts: 2,712 (1) Divide hp by some number to get breath (2) If value > max, reduce value to max (3) Apply resistance However, with poor luck resistance for high elements only reduces 400 -> 400 * 6 / 7. High resists are more about avoiding the side effects than about reducing the damage.
 January 4, 2010, 13:43 #7 TJS Swordsman   Join Date: May 2008 Posts: 473 Thanks for the information. So in a worse case scenario (which is what you plan for) the resist only takes off 1/7 damage, which seems a bit miserly. I guess the harshness is what makes Angband the game it is. Another question, does the breath damage come from current monster HP or the maximum HP?
January 4, 2010, 14:47   #8
Tobias

Join Date: Dec 2009
Posts: 172
Quote:
 Originally Posted by TJS Thanks for the information. So in a worse case scenario (which is what you plan for) the resist only takes off 1/7 damage, which seems a bit miserly. I guess the harshness is what makes Angband the game it is. Another question, does the breath damage come from current monster HP or the maximum HP?
Maximum. If you get the life-rating (after 304 / monster_level +4 kills) (or ca 2-5 kills for uniques) in the monster recall you will also get the breath damage displayed.

January 4, 2010, 16:14   #9
Derakon
Prophet

Join Date: Dec 2009
Posts: 9,024
Quote:
 Originally Posted by Tobias Maximum. If you get the life-rating (after 304 / monster_level +4 kills) (or ca 2-5 kills for uniques) in the monster recall you will also get the breath damage displayed.
Are you sure about that? I could've sworn that I've seen almost-dead ancient dragons try to breath on me to no effect, which leads me to believe that it's current HP that's used to determine breath damage.

 January 4, 2010, 16:19 #10 d_m Angband Devteam member     Join Date: Aug 2008 Location: Philadelphia, PA, USA Age: 40 Posts: 1,516 Source code says it uses current HP for breathing: Code: `(m_ptr->hp / BR_FIRE_DIVISOR) > BR_FIRE_MAX ? BR_FIRE_MAX : (m_ptr->hp / BR_FIRE_DIVISOR)` __________________ linux->xterm->screen->pmacs

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

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Angband     AAR     Vanilla     Development     ToME     Sil     Variants     Competition The real world     Idle chatter     Oook! Obsolete     v4

 Similar Threads Thread Thread Starter Forum Replies Last Post Marble Dice Vanilla 7 October 21, 2009 07:17 ElectricPaladin AAR 0 May 3, 2009 08:49 jbissell Variants 1 January 21, 2009 06:37 orbs Vanilla 2 May 31, 2008 05:53 will_asher AAR 5 October 17, 2007 19:16

All times are GMT +1. The time now is 16:18.

 Contact Us - Angband.oook.cz - Archive - Top