armor class

Suggestions for additions and modifications to the existing Barren Realms code.
Post Reply
User avatar
ducci
Newbie
Posts: 135
Joined: Wed Jun 17, 2009 10:09 pm

armor class

Post by ducci »

Updated hit-check algorithms to better account for hitroll and ac. These stats now matter in combat.
does armor class scale past -300 now? or is that still the limit to its effectiveness?
User avatar
Everybody
Needs Help
Posts: 542
Joined: Wed Jan 08, 2003 2:14 am
Location: Madison, WI
Contact:

Post by Everybody »

It does. I pushed the maximum limit of usefulness to -5000, simply to have a cutoff point so that mobs like xor and the avatar diablo mobs aren't entirely unhittable. Regardless, with the changes, you'll have a reasonable (if low) chance of hitting them based almost solely off of your hitroll.
-EB
Your local know-it-all. ;)
User avatar
ducci
Newbie
Posts: 135
Joined: Wed Jun 17, 2009 10:09 pm

Post by ducci »

Adjusted parry and dodge to not be dependent on combatants' relative levels, as the revised hit checks handle that.
are parry and dodge dependent on anything other than dexterity and %practice now?
targets that are unable to defend (stunned, incapacitated, mortally wounded targets) are hit at very high probabilities.
i really like this idea. does this only apply when the mob begins the round incapacitated or am I just unlucky?


<3016/4363hp 394/407m 30125g 869>
You twist aside and dodge the Chieftain's attack.
You twist aside and dodge the Chieftain's attack.
The Chieftain misses you.
You spin around and deftly parry the Chieftain's attack!
The Chieftain twists aside and dodges your attack.
The Chieftain twists aside and dodges your attack.
The Chieftain looks pretty hurt.

<3016/4363hp 394/407m 30125g 869>
The Chieftain BATTERS you!
The Chieftain BATTERS you!
The Chieftain misses you.
You spin around and deftly parry the Chieftain's attack!
Your claw <-<-<*** DISCOMBOBULATES ***>->-> the Chieftain!
The Chieftain is mortally wounded, and will die soon if not aided.
Your deadly talons miss the Chieftain.
The Chieftain is mortally wounded, and will die soon if not aided.
Your blast misses the Chieftain.
The Chieftain is mortally wounded, and will die soon if not aided.
The Chieftain is DEAD!!
The Chieftain's leg is sliced from his dead body.
A key melts into the ground below.
A leather archery bracer melts into the ground below.
A leather archery bracer melts into the ground below.
User avatar
Everybody
Needs Help
Posts: 542
Joined: Wed Jan 08, 2003 2:14 am
Location: Madison, WI
Contact:

Post by Everybody »

Parry and dodge are solely dependant on your practice percentage. Dexterity has never affected them (although hitroll and level used to). There is only one adjustment to that base number in the code - this occurs when the victim cannot see their attacker. Obviously, that case reduces your chances to parry/dodge.

You got unlucky. The adjustments for stunned/incap/mortal are calculated per-hit, and approximately double your chances of hitting your target. You only had two chances to hit before the tick killed the mob, and at a rough guess you would've had a ~60% chance to hit on each of them (after all adjustments). This gives you ~16% chance to miss both attacks. Not unheard of, but most mobs also don't die from mortal wounds after only one round.
-EB
Your local know-it-all. ;)
User avatar
ducci
Newbie
Posts: 135
Joined: Wed Jun 17, 2009 10:09 pm

Post by ducci »

story of my life :D
Post Reply