fix: Fixes poison field duration, cleans up skill calculations and poison calculations (#1582)
### Summary - [X] Fixes poison field duration - [X] Adds SA+ poison spell calculations - [X] Cleans up skill calculations - [X] Adjusts poison level thresholds to properly reflect OSI
This commit is contained in:
parent
54431f05b5
commit
1f04a13f67
16 changed files with 68 additions and 81 deletions
|
|
@ -359,11 +359,11 @@ namespace Server.Spells
|
|||
|
||||
if (curse)
|
||||
{
|
||||
percent = 8 + caster.Skills.EvalInt.Fixed / 100 - target.Skills.MagicResist.Fixed / 100;
|
||||
percent = 8 + (caster.Skills.EvalInt.Value - target.Skills.MagicResist.Value) / 10;
|
||||
}
|
||||
else
|
||||
{
|
||||
percent = 1 + caster.Skills.EvalInt.Fixed / 100;
|
||||
percent = 1 + caster.Skills.EvalInt.Value / 10;
|
||||
}
|
||||
|
||||
percent *= 0.01;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue