Change 6362
```Originally Posted : Mon Aug 15 14:02:05 2022
Posted by : Orion
Title : Re: Resistance
----------------------------------------
On Fri May 13 03:27:23 2022, Orion wrote:
> This is a pretty broad change and one I will trial to see how we feel
about
> it. Basically I have changed all skill resistances to be based on a
> percentage rather than a fixed value. So for example:
>
> Current:
> Cast Blast: 250 skill level
> Monster Resistance: 200
> Damage = 250 - (random 0 - 100) - Resistance / 2
> Damage = 50 - 150
>
> New
> Cast Blast: 250 skill level
> Monster Resistance: 200
> Damage = 250 - (random 0 - 100) * (250 / (250 + Resistance))
> Damage 83 - 138
>
> So this reduces randomness slightly. This smoothing will become more
> noticable if you attack something much larger than yourself:
>
> Cast Blast: 200 skill level
> Monster Resistance: 400
> Damage = 200 - (random 0 - 100) - Resistance / 2
> Damage = -100 - 0 (always fail)
>
> New
> Cast Blast: 200 skill level
> Monster Resistance: 400
> Damage = 200 - (random 0 - 100) * (200 / (200 + Resistance))
> Damage = 33 - 66 (not great - but at least its something)
>
> Some skills are _meant_ to fail (like charm) - so if you find yourself
> able to charm lvl 50 mobs, please bug it to me.
>
> Feedback welcome!
>
> ~Orion
>
So it looks like there was a *slight* error in the resistance calculation
for skills that meant resistance was half what it should have been.
Whoops! Glad somebody noticed (*cough* not *cough*). This has been fixed
and uh, this might make a slight difference in skill damage utput. On
the flip-side this might reduce warrior damage as well!
~Orion
```