Difference between revisions of "Spell noise"
CommanderC (talk | contribs) |
CommanderC (talk | contribs) (Updated for 0.13) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{version013}} |
'''Spell noise''' is the [[noise]] generated when casting spells. | '''Spell noise''' is the [[noise]] generated when casting spells. | ||
==How noise is determined== | ==How noise is determined== | ||
− | + | There is a casting noise which is the spell level with factor applied (rounded up). The factor is 1 for conjuration spells, 1/2 for poison and air spells and 3/4 for the others. | |
− | |||
A modifier (noise_mod) can be set in spl-data.h to change this base casting noise. It is added to the spell level before applying the school-dependant factor. The noise will be made at the caster's position. | A modifier (noise_mod) can be set in spl-data.h to change this base casting noise. It is added to the spell level before applying the school-dependant factor. The noise will be made at the caster's position. | ||
Line 171: | Line 170: | ||
| 3 | | 3 | ||
| 3 | | 3 | ||
+ | |- | ||
+ | | [[Discord]] | ||
+ | | 6 | ||
+ | | 0 | ||
|- | |- | ||
| [[Disjunction]] | | [[Disjunction]] | ||
Line 221: | Line 224: | ||
|- | |- | ||
| [[Force Lance]] | | [[Force Lance]] | ||
− | | | + | | 5 |
− | | | + | | 5 |
|- | |- | ||
| [[Freeze]] | | [[Freeze]] | ||
Line 411: | Line 414: | ||
| 7 | | 7 | ||
| 30 | | 30 | ||
+ | |- | ||
+ | | [[Searing Ray]] | ||
+ | | 2 | ||
+ | | 2 | ||
|- | |- | ||
| [[Shock]] | | [[Shock]] | ||
Line 504: | Line 511: | ||
| 0 | | 0 | ||
|- | |- | ||
− | | [[Summon Small | + | | [[Summon Small Mammal]] |
| 1 | | 1 | ||
| 0 | | 0 |
Revision as of 14:16, 26 October 2013
Spell noise is the noise generated when casting spells.
How noise is determined
There is a casting noise which is the spell level with factor applied (rounded up). The factor is 1 for conjuration spells, 1/2 for poison and air spells and 3/4 for the others.
A modifier (noise_mod) can be set in spl-data.h to change this base casting noise. It is added to the spell level before applying the school-dependant factor. The noise will be made at the caster's position.
A second source of noise is the spell itself. The noise will be made at the target's position. Some number of spells don't make any noise at all, like Bolt of Draining, and they end up with a noise of 0. For bolt spells, the noise is made at each square where it hits a monster, and the last square the spell reached even if it doesn't hit anything.
Spell noise
Scale
This is from shout.cc for reference:
- Silent: 0
- Almost silent: 1
- Quiet: 2
- A bit loud: 4
- Loud: 8
- Very loud: 15
- Extremely loud: 20
- Deafening: 30