Re: [angband] Percentage for spells ?
- From: Hugo Kornelis <Angband@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Dec 2005 23:26:15 +0100
On Fri, 23 Dec 2005 18:40:29 +0100, Olivier wrote:
>Hello,
>
> Can anyone tell me how the percentage of success
>of a ranger to cast identify id computed ?
>This definetely baffles me ---
> Thanks!
> Cheers,
> Olivier
Hi Olivier,
The calculation is quite complex. Let's run through it step by step.
First, the spell. For a ranger, the identify spell has minimum level 23
and base fail rate 90%.
This base fail rate is reduced by 3 percent for each level above 23rd
that your ranger is. So if your ranger is, for example, level 27, the
chance is reduced by (27 - 23) * 3 = 12%, to a sub total of 78%.
Next, your intelligence is checked. The adjustment to failure chance is
taken from a table; you can find this table in the source file tables.c,
or in a spoiler file (see below). Let's assume that your intelligence is
18/123; according to the table, the failure chance is then decreased by
27% to 51%.
After intelligence correction, the chance might of failure might be
increased if you attempt to cast the spell with insufficient mana. I'll
assume that you rest until you have enough mana before attempting to
cast identify, so this won't apply.
If the failure chance after these steps is below the minimum failure
chance (which is also taken from the intelligence table), the chance is
increased to match the minimum failure rate. For a ranger with 18/123
intelligence, the minimm failure rate is 5%, so the failure rate for
casting identify is still 51%.
Finally, the chance of failure is increased by 15% or 25% if you are
either stunned or heavily stunned. And it is then capped at 95% (so
you'll always have at least 5% chance of success).
A complete description of how the chance of failure is calculated, the
table that lists how intelligence affects failure rate, and complete
details on minimum level, base failure rate and other information about
all spells is available in the spoiler file magic.spo. You can read or
download this spoiler file from the new spoiler site:
http://ourworld.compuserve.com/homepages/hugo_kornelis/Angband/Spoiler/index.htm
Best, Hugo
--
Your sig line (k) was stolen! (more)
There is a puff of smoke!
(Remove NO and SPAM to get my e-mail address)
.
- Follow-Ups:
- Re: [angband] Percentage for spells ?
- From: Olivier
- Re: [angband] Percentage for spells ?
- References:
- [angband] Percentage for spells ?
- From: Olivier
- [angband] Percentage for spells ?
- Prev by Date: Re: Character Level 50 Level Cap Is Crap
- Next by Date: Re: Revese Iron Man (RIM) challenge
- Previous by thread: [angband] Percentage for spells ?
- Next by thread: Re: [angband] Percentage for spells ?
- Index(es):
Relevant Pages
|
Loading