Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 25, 2021, 23:50   #1
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
Pete Mack is on a distinguished road
How does breath attenuation work anymore?

apparently it was changed quietly *again* somewhere along the line again, and my 227 hp mage died to an ancient green dragon from ~150' away and 9 stars. With single resist @8 stars it did 227+28 = 265 damage. Yet my crappy acid spray spell does essentially zero at that range.

BTW: mage attack spells really, utterly, completely, unnecessarily suck if you never find MB4 in a reasonable time. The only good one is harmless against a ton of monsters. The others do poor damage and break stuff on the floor.
Pete Mack is offline   Reply With Quote
Old February 26, 2021, 01:14   #2
malcontent
Apprentice
 
Join Date: Jul 2019
Location: Seattle, WA USA
Posts: 66
malcontent is on a distinguished road
Seems to me if you had single resist, a full strength AGD should only be able to do 167 damage. But maybe I'm not calculating correctly. I know when we did the Blackguard competition with the nightly build I was toasted by something that should not have been able to toast me. What version are you playing?
malcontent is offline   Reply With Quote
Old February 26, 2021, 03:27   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,759
Donated: $60
Nick will become famous soon enough
From effects.c (last changed three years ago):
Code:
		 * - 30 degree regular breath  | full strength at 5 grids
		 * - 30 degree powerful breath | full strength at 9 grids
		 * - 20 degree regular breath  | full strength at 11 grids
		 * - 20 degree powerful breath | full strength at 17 grids
		 * where grids are measured from the breather. */
Ancient dragons breathe powerfully, and poison breath is a 30 degree cone, so it is full strength at 9 grids away. Attenuation falls off at 1/(1 + distance), so it probably should be 1/6 at 150' (assuming you mean 15 grids from monster to character). AGD has 1500 hit points, so raw breath power 500, single resist takes it to 187 at full strength and 31 if divided by 1/6.

If your numbers are correct, that's a pretty serious discrepancy.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old February 26, 2021, 06:24   #4
backwardsEric
Adept
 
Join Date: Aug 2019
Posts: 136
backwardsEric is on a distinguished road
That comment doesn't seem to match the computed value for diameter_of_source for the 30 degree cases. diameter_of_source is initialized to 4, expanded to 6 for powerful breathers, and then multiplied by 2 for the 30 degree cone so it would be 12 for a powerful breath (full damage at a distance of 11) and 8 for a regular breath (full damage at a distance of 7). Also, the attenuation in project.c is diameter_of_source / (distance + 1) or 0.75 for the case in question. That calculation did change in May of 2020.
backwardsEric is offline   Reply With Quote
Old February 26, 2021, 10:29   #5
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,759
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by backwardsEric View Post
That comment doesn't seem to match the computed value for diameter_of_source for the 30 degree cases. diameter_of_source is initialized to 4, expanded to 6 for powerful breathers, and then multiplied by 2 for the 30 degree cone so it would be 12 for a powerful breath (full damage at a distance of 11) and 8 for a regular breath (full damage at a distance of 7). Also, the attenuation in project.c is diameter_of_source / (distance + 1) or 0.75 for the case in question. That calculation did change in May of 2020.
OK. Did I get anything right?
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old February 26, 2021, 10:56   #6
Selkie
Adept
 
Join Date: Aug 2020
Location: London
Posts: 216
Selkie is on a distinguished road
Quote:
Originally Posted by Nick View Post
OK. Did I get anything right?
I think you need five minutes on the naughty step
Selkie is offline   Reply With Quote
Old February 26, 2021, 17:31   #7
backwardsEric
Adept
 
Join Date: Aug 2019
Posts: 136
backwardsEric is on a distinguished road
The full damage distances for the 20 degree cone mentioned in the comment are correct - I didn't try to figure how the 30 degree ones came to be incorrect.

The conclusion that all the reported numbers don't match up remains true.
Assuming the ancient green dragon was at 1050 hit points (70% health; the minimum for 8 stars on the health bar) and 15 squares away gives a resisted damage of (((1050 / 3) * 12) / 16) / 3 = 87. Have to assume that there was no resistance (damage of 262) to get close to the reported damage of 265.
backwardsEric is offline   Reply With Quote
Old February 26, 2021, 18:07   #8
DavidMedley
Knight
 
Join Date: Oct 2019
Posts: 964
DavidMedley is on a distinguished road
Did you have a Steelskin amulet?
DavidMedley is offline   Reply With Quote
Old February 27, 2021, 20:39   #9
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
Pete Mack is on a distinguished road
My guess is I swapped in =digging instead of =rPois. That kind of thing is too common on a phone, and is part of the reason I only have a single win that way.
Pete Mack is offline   Reply With Quote
Old February 27, 2021, 21:04   #10
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,189
Donated: $40
Pete Mack is on a distinguished road
So I won't have that problem *this* game. I enabled randarts as so many suggested, and the very first artifact i find:
Code:
b) The sling of Adolleth (2) (+7,+26) <+1,+3> {??}
+3 strength
+1 light

You do not know the full extent of this item's powers.
Provides resistance to poison 
Slows you metabolism.  Speeds your regeneration.
 
Activates for Sleep Monsters
This is definitely easy(er) mode.

Last edited by Pete Mack; February 27, 2021 at 21:30.
Pete Mack 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
HELP! Can't generate PDF manual anymore... PowerWyrm Development 5 January 5, 2016 08:29
[3.4RC - Win32 client]No stacking piles anymore? Smiling Spectre Vanilla 2 June 22, 2012 12:07
Do they still make old-school RPGs anymore? Max Stats Idle chatter 14 February 15, 2011 18:10
I don't think I can take it anymore... Fendell Orcbane AAR 23 May 30, 2010 20:25
The 'Esc' Button Isn't Working Correctly Anymore Miley Vanilla 2 October 30, 2008 21:22


All times are GMT +1. The time now is 04:47.


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