Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old December 17, 2010, 05:21   #1
pampl
RePosBand maintainer
 
Join Date: Sep 2008
Location: Seattle, WA, USA
Posts: 225
pampl is on a distinguished road
Is cut damage meant to be more dangerous than stun?

In init2, on line 1830, where the danger level of various attacks are calculated:
Code:
		switch (method)
		{
				/*stun definitely most dangerous*/
				case RBM_PUNCH:
				case RBM_KICK:
				case RBM_BUTT:
				case RBM_CRUSH:
				{
					atk_dam *= 4;
					atk_dam /= 3;
					break;
				}
				/*cut*/
				case RBM_CLAW:
				case RBM_BITE:
				{
					atk_dam *= 7;
					atk_dam /= 5;
					break;
				}
				default: 
				{
					break;
				}
			}
That means stun damage only counts for 133% normal damage but cut damage counts for 140% normal damage. Was cut supposed to be 6/5?
pampl is offline   Reply With Quote
Old December 17, 2010, 15:19   #2
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
Stun is more dangerous because of its side effects. Reduced to-hit, increase failure on activations and spells, and the possibility to get knocked out if you are stunned too much. Cuts only have a small leaking of HP, something that is unlikely to kill you except maybe in the very early game.
fizzix is offline   Reply With Quote
Old December 17, 2010, 18:39   #3
Tiburon Silverflame
Swordsman
 
Join Date: Feb 2010
Posts: 405
Tiburon Silverflame is on a distinguished road
Which means the OP's point is valid. Stun is given a lower rating, by those computations.
Tiburon Silverflame is offline   Reply With Quote
Old December 17, 2010, 19:07   #4
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Tiburon Silverflame View Post
Which means the OP's point is valid. Stun is given a lower rating, by those computations.
It might be that there have been in some ancient version of angband where cuts could have killed you. There is "cure mortal wounds" -spell in priest spell list. Mortal as in "you'll die without cure". I don't recall such situation though.
Timo Pietilš is offline   Reply With Quote
Old December 17, 2010, 19:57   #5
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,830
Derakon is on a distinguished road
"Mortal wounds" mean that the player's cuts timer is more than 1000. Without access to magical wound healing, this will deal at least 2700HP damage (3HP/turn for timer > 200, 2HP for > 100, 1HP otherwise). I think natural healing is also turned off when cut (certainly when poisoned). So yeah, those are "mortal" wounds. I certainly remember being very concerned for my frog-knows characters when they got mortally wounded, because I didn't carry healing items and the only healing spell I knew, Cure Light Wounds, didn't touch the cuts timer.

(I was not very old when I played frog-knows)
Derakon is offline   Reply With Quote
Old December 17, 2010, 20:02   #6
camlost
Sangband 1.x Maintainer
 
camlost's Avatar
 
Join Date: Apr 2007
Posts: 522
camlost is on a distinguished road
Quote:
Originally Posted by Timo Pietilš View Post
It might be that there have been in some ancient version of angband where cuts could have killed you. There is "cure mortal wounds" -spell in priest spell list. Mortal as in "you'll die without cure". I don't recall such situation though.
"Mortal wounds" in S don't heal themselves over time.
__________________
a chunk of Bronze {These look tastier than they are. !E}
3 blank Parchments (Vellum) {No french novels please.}
camlost is offline   Reply With Quote
Old December 17, 2010, 20:11   #7
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
Quote:
Originally Posted by Tiburon Silverflame View Post
Which means the OP's point is valid. Stun is given a lower rating, by those computations.
The original discussion of the relative dangers of different attack types was on rgra ten years ago. From what I can recall, stunning was considered more dangerous than cuts even then - so this is an error. I'll pick it up in the monster power rewrite ... ah, that reminds me, someone sent me patches to kick that off, back in the pre-git era. I'll dig them out and commit them in 3.3
Magnate is offline   Reply With Quote
Old December 17, 2010, 20:22   #8
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
The original discussion of the relative dangers of different attack types was on rgra ten years ago. From what I can recall, stunning was considered more dangerous than cuts even then - so this is an error. I'll pick it up in the monster power rewrite ... ah, that reminds me, someone sent me patches to kick that off, back in the pre-git era. I'll dig them out and commit them in 3.3
If you plan a rewrite, shouldn't stun be mostly unrealated to damage? A 1d20 kick wouldn't matter, but a 10d1 kick is deadly. You really ought to compute stun probability from the dice, and also multiple stun attacks are possibly exponentially dangerous rather than additively dangerous.
PowerDiver is offline   Reply With Quote
Old December 17, 2010, 20:26   #9
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
Quote:
Originally Posted by PowerDiver View Post
If you plan a rewrite, shouldn't stun be mostly unrealated to damage? A 1d20 kick wouldn't matter, but a 10d1 kick is deadly. You really ought to compute stun probability from the dice, and also multiple stun attacks are possibly exponentially dangerous rather than additively dangerous.
Absolutely. I think few if any involved in the original rgra discussion even knew how stunning was calculated.
Magnate is offline   Reply With Quote
Old December 17, 2010, 21:01   #10
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,830
Derakon is on a distinguished road
Since I'm curious how stuns work, I went and looked it up:

First, if an attack can both stun and cut, then it does a coinflip to see which one it tries to do (i.e. it won't try to both cut and stun on any single attack). Only hit, crush, butt, kick, and punch attacks can stun; of those, only hit can also cut.

Secondly, monster_critical() is called, which returns how strong of a critical hit was performed. Critical hits are 95% of max possible damage, so monsters with Nd1 dice attacks always critical but using larger dice gets you a much more even distribution. Critical hits also have to deal >20 damage (before AC damage reduction) or else make a (damage) in 100 roll. Then the quality of critical increases:

1) if the roll was maxed out (damage = dice * sides),
2) as the damage increases,
3) and there's an indefinite 2% supercharge (every time a 2 in 100 roll is made, the quality increases).

So for example, a monster with a 40d1 melee attack would always get the "maxed roll" bonus, would get a tier-5 damage bonus, and then would get the supercharge bonus if any. Assuming supercharging fails, the monster would get a quality-6 critical.

Quality increases the stun timer by:
1: d5
2: d10+10
3: d20+20
4: d30+30
5: d40+40
6: 100
7 on up: 200; these latter two would require either very lucky supercharge rolls or a critical hit dealing >45 damage, disregarding the maxed-roll bonus.

Note that you become knocked out when your stun timer hits 100, so think carefully before making monsters with Nd1 melee attacks.

For reference, master mystics and grand master mystics both have 20d1 poison hits and 15d1 paralyze hits. If they land both of those in one round (and ignoring their kick attacks, which have d2 dice sizes and thus are much less likely to critical), and the game tries to stun you instead of cutting you, and they don't get any supercharge bonus, they'd get guaranteed quality-4 criticals on the first strike, and a 15% chance at quality-3 criticals on the second.
Derakon 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
Idea for making Morgoth more dangerous NotMorgoth Vanilla 26 November 23, 2010 13:56
damage calculation? Gockel Variants 4 September 14, 2010 22:17
dangerous change to searching PowerDiver Vanilla 18 January 15, 2010 21:29
Clearing Dangerous Vaults Wraitheist Vanilla 0 January 22, 2009 17:30
[FA] Races starting in dangerous places Zikke Variants 3 June 6, 2008 23:14


All times are GMT +1. The time now is 23:37.


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