Difference between revisions of "Shields"
(Rewrite with much more information. Maybe too much. More work needed.) |
|||
Line 1: | Line 1: | ||
− | + | {{version028}} | |
+ | {{flavour|“Let who will boast their courage in the field,<br> | ||
+ | I find but little safety from my shield.<br> | ||
+ | Nature's, not honour's, law we must obey:<br> | ||
+ | This made me cast my useless shield away,<br> | ||
+ | And by a prudent flight and cunning save<br> | ||
+ | A life, which valour could not, from the grave.<br> | ||
+ | A better buckler I can soon regain;<br> | ||
+ | But who can get another life again?”<br> | ||
+ | -Archilochos. 7th cent. B.C. trans. William H. Goodwin, 1878.}} | ||
− | + | [[Shields]] are a kind of armour worn on one hand, preventing the use of two-handed weapons; they make use of the [[Shields skill]]. Unlike other armour, shields increase a character's [[SH]] defense, giving you a chance at blocking physical (and some magical) attacks entirely. There are four types of shield, in order of size: | |
− | |||
− | + | *[[Orb]], which do not actually provide shielding | |
+ | *[[Buckler]] | ||
+ | *[[Kite shield]] | ||
+ | *[[Tower shield]] | ||
− | + | Some magical effects can also increase your SH score. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | ==Shield Penalties== |
− | + | Wearing a shield also gives penalties to attack speed, EV, and spellcasting. While the penalty for wearing a small buckler is almost negligible, a tower shield can seriously slow your attacks and make spellcasting unreliable. | |
− | + | Specifically, your shield penalty is <code>2/5 * encumbrance^2 / (20 - 3 * size_factor) * (27 - shield_skill) / 27</code><ref>{{source ref|0.28.0|player.cc|5587}}</ref>. This is your penalty to your evasion, which gets used to calculate everything else. This means that larger species can wield shields more comfortably, while anyone can eliminate shield penalty by maxing out the Shields skill. | |
− | |||
− | |||
− | == | + | {| class="prettytable" cellpadding="10" border="9" |
− | + | |- align="center" | |
− | === | + | ! Shield type !! Encumbrance |
− | + | |- | |
− | + | |Buckler || 5 | |
− | + | |- | |
− | + | |Kite shield || 10 | |
− | + | |- | |
− | * | + | |Tower shield || 15 |
− | + | |} | |
− | * | + | |
− | * | + | {| class="prettytable" cellpadding="10" border="9" |
− | + | |- align="center" | |
− | + | ! Size !! Races !! Size factor | |
− | *[[ | + | |- |
− | *[[ | + | |Little || [[Spriggan]] || +4 |
− | + | |- | |
− | + | |Small || [[Kobold]] || +2 | |
− | *[[ | + | |- |
+ | |Normal || most races || 0 | ||
+ | |- | ||
+ | |Normal<br>(strong arms)||[[Formicid]] || -2 | ||
+ | |- | ||
+ | |Large<br>(normal torso)|| [[Palentonga]], [[Naga]]|| -2 | ||
+ | |- | ||
+ | |Large || [[Ogre]], [[Troll]] || -2 | ||
+ | |} | ||
+ | |||
+ | When attacking with any kind of weapon (including unarmed), if you are wearing a shield and your Shield penalty is greater than zero, the game throws two dice with (Shield penalty) sides. The smaller value rolled is added to your attack delay. | ||
+ | |||
+ | ==[[Ego]]s== | ||
+ | All three types of shields can spawn with the following egos<ref>{{source ref|0.28.0|makeitem.cc|768}}</ref>: | ||
+ | *~3%, [[Resistance_(ego)|resistance]] | ||
+ | *10%, [[fire resistance]] | ||
+ | *10%, [[cold resistance]] | ||
+ | *10%, [[poison resistance]] | ||
+ | *10%, [[positive energy]] | ||
+ | *19%, [[reflection]] | ||
+ | *39%, [[protection]] | ||
− | + | Shields of [[cold resistance|cold]] and [[fire resistance]] can occasionally be found in [[ice cave]]s and [[volcano]]es. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| class=" | + | ==Blocking== |
+ | ===Effect=== | ||
+ | It's possible to block a melee attack or a ranged projectile attack if you wear a shield of some kind or are under the effect of a magical shield ([[amulet of reflection]], [[Qazlal]]'s Storm Shield, or [[the Shining One]]'s Divine Shield) or have the [[Good_mutations#Large_Bone_Plates|Large Bone Plates]] mutation. Your ability to block missiles doesn't benefit from [[Repel Missiles|missile-repelling]] effects like a [[scarf]] of repulsion, and you cannot benefit from any form of shield while you are [[confuse]]d. | ||
+ | |||
+ | All melee attacks can be blocked (except for successful [[stab]]s), but many ranged attacks are unblockable: | ||
+ | *[[Penetration|Penetrating]] attacks: [[Javelin]]s, [[Bolt spell]]s, [[Starburst]]... | ||
+ | *Explosions: [[Fireball]], [[Damnation]], [[Conjure Ball Lightning]]... | ||
+ | *Electrical discharges: [[Static Discharge]], [[Chain Lightning]] | ||
+ | *Enchantments: [[Agony]], [[Pain]], [[Confuse]], [[Mesmerise]]... | ||
+ | *Beams with perfect accuracy: [[Magic Dart]], [[Freeze]], [[Smite]]... | ||
+ | *Other ranged attacks that are not beams: [[Shatter]], [[Polar Vortex]], [[Ozocubu's Refrigeration]] | ||
+ | |||
+ | Some examples of ranged attacks that can be blocked: | ||
+ | *Ranged weapons like [[Bows]] or [[Slings]] | ||
+ | *Spells that fire projectiles like [[Iron shot]], [[Poison Arrow]], [[Orb of Destruction]], [[Sandblast]] | ||
+ | |||
+ | If the attacker's pierce value is less than the defender's blocking value (see below for details), the attack does no damage. Shield blocking is done before rolling your [[evasion]] or your [[AC]], but if you have already blocked some attacks in that turn, your blocking ability will be decreased greatly. | ||
+ | |||
+ | ===Calculation=== | ||
+ | The defender's blocking value depends on the nature of the shield: | ||
+ | |||
+ | Physical shields: | ||
+ | SH = Block × (1 + Shield skill/40) | ||
+ | + Enchantment bonus + Stat bonus | ||
+ | + min(0.38×Shield skill, .57 + 0.19×Shield skill) | ||
+ | |||
+ | and then on top of either of those: | ||
+ | + Divine shield bonus | ||
+ | + Qazlal shield bonus | ||
+ | + Mutation bonus | ||
+ | + Amulet of reflection bonus | ||
+ | + Any SH bonus from artifacts | ||
+ | |||
+ | For a physical shield (Buckler, Kite Shield, and Tower Shield), '''Block''' is the shield's blocking value, equal to the base shield bonus (3 for Buckler, 8 for Kite Shield, 13 for Tower Shield), modified by a size factor: | ||
+ | |||
+ | {| class="prettytable" cellpadding="10" border="9" | ||
|- align="center" | |- align="center" | ||
− | ! | + | ! Size !! Races !! Buckler !! Kite Shield !! Tower shield |
− | + | |- | |
+ | |Little || [[Spriggan]] || +2 || - || - | ||
|- | |- | ||
− | + | |Small || [[Kobold]] || +1 || +0.5 || - | |
|- | |- | ||
− | | | + | |Normal || most races || 0 || 0 || 0 |
− | | | ||
|- | |- | ||
− | | | + | |Normal<br>(strong arms)|| [[Formicid]] || 0 || 0 || 0 |
− | | | ||
|- | |- | ||
− | | | + | |Large<br>(normal torso)|| [[Palentonga]], [[Naga]] || 0 || 0 || 0 |
− | |||
− | |||
− | | | ||
|- | |- | ||
− | | | + | |Large |
− | | | + | || [[Ogre]], [[Troll]] || - || -0.5 || 0 |
|} | |} | ||
− | * | + | |
− | * | + | *'''Stat bonus''' is <code> DEX * 38 * (base_shield + 13) / 26 </code>, |
− | + | ||
+ | *The Shining One's '''Divine shield bonus''' is based on Invocations skill. | ||
+ | |||
+ | *'''Mutation bonus''' is +4/6/8 SH depending on your level of the [[Good_mutations#Large_Bone_Plates|Large Bones Plates]] mutation. | ||
+ | |||
+ | The resulting value is rounded to the nearest integer and displayed as the player's SH value. | ||
+ | |||
+ | The attacker's pierce value is equal to: | ||
+ | |||
+ | 1d(15 + to hit/2 + 5×past_blocks^2) - 1 (melee attacks) | ||
+ | |||
+ | 1d(1.3×to hit + 5×past_blocks^2) - 1 (ranged attacks) | ||
+ | |||
+ | "To hit" is the monster's [[To hit]] value (based primarily on the monster's [[HD]], type, and weapon accuracy) and "past_blocks" is the number of attacks already successfully blocked in the current turn. | ||
+ | |||
+ | The defender's blocking value is equal to: | ||
+ | 2d(2×SH)/6 - 1.3 (Divided by 3 against melee attacks from invisible opponents) | ||
+ | |||
+ | If this value is greater or equal than the attacker's pierce value, the attack is blocked. | ||
+ | |||
+ | ==History== | ||
+ | *Prior to [[0.28]], the two larger shields used [[Strength]] and [[Dexterity]] to determine SH, and shields had a to-hit penalty. The penalty formula changed; before, certain skill thresholds (4 skill for buckler, 15 for kite shield, 25 for tower shield) negated it. | ||
+ | *In [[0.27]], the shield penalty was increased. | ||
+ | *Prior to [[0.25]], [[kite shield]]s were known as just "shields" and [[tower shield]]s were called "large shields". | ||
+ | *Prior to [[0.17]], [[unarmed]] attacks had a speed penalty when attacking with a shield equipped. | ||
+ | *Prior to [[0.16]], the amount of skill required to negate penalties for wearing a shield was more complex. | ||
==References== | ==References== | ||
<references/> | <references/> | ||
− | + | [[Category:Items]] | |
− | + | [[Category:Shields]] | |
− | [[Category: |
Revision as of 01:39, 13 April 2022
“Let who will boast their courage in the field, I find but little safety from my shield. |
Shields are a kind of armour worn on one hand, preventing the use of two-handed weapons; they make use of the Shields skill. Unlike other armour, shields increase a character's SH defense, giving you a chance at blocking physical (and some magical) attacks entirely. There are four types of shield, in order of size:
- Orb, which do not actually provide shielding
- Buckler
- Kite shield
- Tower shield
Some magical effects can also increase your SH score.
Shield Penalties
Wearing a shield also gives penalties to attack speed, EV, and spellcasting. While the penalty for wearing a small buckler is almost negligible, a tower shield can seriously slow your attacks and make spellcasting unreliable.
Specifically, your shield penalty is 2/5 * encumbrance^2 / (20 - 3 * size_factor) * (27 - shield_skill) / 27
[1]. This is your penalty to your evasion, which gets used to calculate everything else. This means that larger species can wield shields more comfortably, while anyone can eliminate shield penalty by maxing out the Shields skill.
Shield type | Encumbrance |
---|---|
Buckler | 5 |
Kite shield | 10 |
Tower shield | 15 |
Size | Races | Size factor |
---|---|---|
Little | Spriggan | +4 |
Small | Kobold | +2 |
Normal | most races | 0 |
Normal (strong arms) |
Formicid | -2 |
Large (normal torso) |
Palentonga, Naga | -2 |
Large | Ogre, Troll | -2 |
When attacking with any kind of weapon (including unarmed), if you are wearing a shield and your Shield penalty is greater than zero, the game throws two dice with (Shield penalty) sides. The smaller value rolled is added to your attack delay.
Egos
All three types of shields can spawn with the following egos[2]:
- ~3%, resistance
- 10%, fire resistance
- 10%, cold resistance
- 10%, poison resistance
- 10%, positive energy
- 19%, reflection
- 39%, protection
Shields of cold and fire resistance can occasionally be found in ice caves and volcanoes.
Blocking
Effect
It's possible to block a melee attack or a ranged projectile attack if you wear a shield of some kind or are under the effect of a magical shield (amulet of reflection, Qazlal's Storm Shield, or the Shining One's Divine Shield) or have the Large Bone Plates mutation. Your ability to block missiles doesn't benefit from missile-repelling effects like a scarf of repulsion, and you cannot benefit from any form of shield while you are confused.
All melee attacks can be blocked (except for successful stabs), but many ranged attacks are unblockable:
- Penetrating attacks: Javelins, Bolt spells, Starburst...
- Explosions: Fireball, Damnation, Conjure Ball Lightning...
- Electrical discharges: Static Discharge, Chain Lightning
- Enchantments: Agony, Pain, Confuse, Mesmerise...
- Beams with perfect accuracy: Magic Dart, Freeze, Smite...
- Other ranged attacks that are not beams: Shatter, Polar Vortex, Ozocubu's Refrigeration
Some examples of ranged attacks that can be blocked:
- Ranged weapons like Bows or Slings
- Spells that fire projectiles like Iron shot, Poison Arrow, Orb of Destruction, Sandblast
If the attacker's pierce value is less than the defender's blocking value (see below for details), the attack does no damage. Shield blocking is done before rolling your evasion or your AC, but if you have already blocked some attacks in that turn, your blocking ability will be decreased greatly.
Calculation
The defender's blocking value depends on the nature of the shield:
Physical shields:
SH = Block × (1 + Shield skill/40) + Enchantment bonus + Stat bonus + min(0.38×Shield skill, .57 + 0.19×Shield skill)
and then on top of either of those:
+ Divine shield bonus + Qazlal shield bonus + Mutation bonus + Amulet of reflection bonus + Any SH bonus from artifacts
For a physical shield (Buckler, Kite Shield, and Tower Shield), Block is the shield's blocking value, equal to the base shield bonus (3 for Buckler, 8 for Kite Shield, 13 for Tower Shield), modified by a size factor:
Size | Races | Buckler | Kite Shield | Tower shield |
---|---|---|---|---|
Little | Spriggan | +2 | - | - |
Small | Kobold | +1 | +0.5 | - |
Normal | most races | 0 | 0 | 0 |
Normal (strong arms) |
Formicid | 0 | 0 | 0 |
Large (normal torso) |
Palentonga, Naga | 0 | 0 | 0 |
Large | Ogre, Troll | - | -0.5 | 0 |
- Stat bonus is
DEX * 38 * (base_shield + 13) / 26
,
- The Shining One's Divine shield bonus is based on Invocations skill.
- Mutation bonus is +4/6/8 SH depending on your level of the Large Bones Plates mutation.
The resulting value is rounded to the nearest integer and displayed as the player's SH value.
The attacker's pierce value is equal to:
1d(15 + to hit/2 + 5×past_blocks^2) - 1 (melee attacks)
1d(1.3×to hit + 5×past_blocks^2) - 1 (ranged attacks)
"To hit" is the monster's To hit value (based primarily on the monster's HD, type, and weapon accuracy) and "past_blocks" is the number of attacks already successfully blocked in the current turn.
The defender's blocking value is equal to:
2d(2×SH)/6 - 1.3 (Divided by 3 against melee attacks from invisible opponents)
If this value is greater or equal than the attacker's pierce value, the attack is blocked.
History
- Prior to 0.28, the two larger shields used Strength and Dexterity to determine SH, and shields had a to-hit penalty. The penalty formula changed; before, certain skill thresholds (4 skill for buckler, 15 for kite shield, 25 for tower shield) negated it.
- In 0.27, the shield penalty was increased.
- Prior to 0.25, kite shields were known as just "shields" and tower shields were called "large shields".
- Prior to 0.17, unarmed attacks had a speed penalty when attacking with a shield equipped.
- Prior to 0.16, the amount of skill required to negate penalties for wearing a shield was more complex.
References
- ↑ player.cc:5587 (0.28.0)
- ↑ makeitem.cc:768 (0.28.0)