Sound/effect fixes, DeathStrike instant damage after 5 steps, Evasion of spells, with OSI data. Original data c/o Kenko
This commit is contained in:
parent
2cbc73ee85
commit
f67a870208
10 changed files with 309 additions and 205 deletions
|
|
@ -1,7 +1,5 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Engines.Harvest;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
|
|
@ -62,4 +60,4 @@ namespace Server.Items
|
|||
base.Deserialize( reader );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1041,9 +1041,9 @@ namespace Server.Items
|
|||
if ( parry >= 100.0 )
|
||||
chance += 0.05;
|
||||
|
||||
// Evasion grants a 50% bonus.
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
if ( Evasion.IsEvading( defender ) )
|
||||
chance *= 1.5;
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
|
||||
// Low dexterity lowers the chance.
|
||||
if ( defender.Dex < 80 )
|
||||
|
|
@ -1072,9 +1072,9 @@ namespace Server.Items
|
|||
chance += 0.05;
|
||||
}
|
||||
|
||||
// Evasion grants a 50% bonus.
|
||||
if( Evasion.IsEvading( defender ) )
|
||||
chance *= 1.5;
|
||||
// Evasion grants a variable bonus post ML. 50% prior.
|
||||
if( Evasion.IsEvading( defender ) )
|
||||
chance *= Evasion.GetParryScalar( defender );
|
||||
|
||||
// Low dexterity lowers the chance.
|
||||
if( defender.Dex < 80 )
|
||||
|
|
@ -3397,4 +3397,4 @@ namespace Server.Items
|
|||
Slayer,
|
||||
Opposition
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue