Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 24, 2021, 18:02   #1
Quantum
Rookie
 
Join Date: Jan 2021
Posts: 1
Quantum is on a distinguished road
Armour class calculation

How do i calculate armour class & how much less damage i recieve?
Quantum is offline   Reply With Quote
Old January 24, 2021, 18:31   #2
Thraalbee
Knight
 
Thraalbee's Avatar
 
Join Date: Sep 2010
Location: Stockholm
Posts: 633
Thraalbee is on a distinguished road
This is not as straightforward as you'd think. Melee damage is reduced and mobs hits less often if your AC is high. But there are so many types of damage. Acid damage for instance is reduced by armour if the hit is scored where you have armour not totally worn down already. A mana storm totally ignores AC.

My simplified rule of thumb is 100 ac in the early game is worth sacrifices. 200 in mid game and 250+ late game. For a brawler. If your thing is shoot and phase probably not.
Thraalbee is offline   Reply With Quote
Old January 24, 2021, 19:07   #3
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,464
wobbly will become famous soon enough
Here's the to-hit part of it with power generally = 40 for physical/elemental melee and = 0 for status effects melee.

Code:
/* Calculate the "attack quality" */
	chance = (power + (level * 3));

/* Power competes against armor */
	return randint0(chance) >= (ac * 2 / 3);
% Damage reduction is something like AC / 400 against physical attacks, maxing out at 240 AC. However a lot of damage is non-physical.

It's not that simple to calculate out unfortunately.
wobbly 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
A quick question on Armour Class MattB Vanilla 34 September 17, 2013 23:49
Armor/Armour class question Jay Vanilla 4 March 5, 2013 09:51
damage calculation? Gockel Variants 4 September 14, 2010 22:17
Hit probability calculation Ycombinator Vanilla 8 May 27, 2010 23:11
To hit calculation takkaria Vanilla 43 April 7, 2009 03:48


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


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