Modernization Fixes & Updates to Default Values (#3)
This commit is contained in:
parent
445eddff68
commit
dcf64091b1
768 changed files with 10507 additions and 14196 deletions
|
|
@ -61,7 +61,7 @@ namespace Server.Spells.Sixth
|
|||
|
||||
int itemID = eastToWest ? 0x3967 : 0x3979;
|
||||
|
||||
TimeSpan duration = TimeSpan.FromSeconds(3.0 + Caster.Skills[SkillName.Magery].Value / 3.0);
|
||||
TimeSpan duration = TimeSpan.FromSeconds(3.0 + Caster.Skills.Magery.Value / 3.0);
|
||||
|
||||
for (int i = -2; i <= 2; ++i)
|
||||
{
|
||||
|
|
@ -171,8 +171,8 @@ namespace Server.Spells.Sixth
|
|||
|
||||
if (Core.AOS)
|
||||
{
|
||||
duration = 2.0 + ((int)(m_Caster.Skills[SkillName.EvalInt].Value / 10) -
|
||||
(int)(m.Skills[SkillName.MagicResist].Value / 10));
|
||||
duration = 2.0 + ((int)(m_Caster.Skills.EvalInt.Value / 10) -
|
||||
(int)(m.Skills.MagicResist.Value / 10));
|
||||
|
||||
if (!m.Player)
|
||||
duration *= 3.0;
|
||||
|
|
@ -182,7 +182,7 @@ namespace Server.Spells.Sixth
|
|||
}
|
||||
else
|
||||
{
|
||||
duration = 7.0 + m_Caster.Skills[SkillName.Magery].Value * 0.2;
|
||||
duration = 7.0 + m_Caster.Skills.Magery.Value * 0.2;
|
||||
}
|
||||
|
||||
m.Paralyze(TimeSpan.FromSeconds(duration));
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace Server.Spells.Sixth
|
|||
if (map != null)
|
||||
{
|
||||
IPooledEnumerable<Mobile> eable = map.GetMobilesInRange(new Point3D(p),
|
||||
1 + (int)(Caster.Skills[SkillName.Magery].Value / 20.0));
|
||||
1 + (int)(Caster.Skills.Magery.Value / 20.0));
|
||||
|
||||
foreach (Mobile m in eable)
|
||||
{
|
||||
|
|
@ -80,11 +80,11 @@ namespace Server.Spells.Sixth
|
|||
if (!Core.AOS || InvisibilitySpell.HasTimer(m))
|
||||
return true;
|
||||
|
||||
int magery = from.Skills[SkillName.Magery].Fixed;
|
||||
int detectHidden = from.Skills[SkillName.DetectHidden].Fixed;
|
||||
int magery = from.Skills.Magery.Fixed;
|
||||
int detectHidden = from.Skills.DetectHidden.Fixed;
|
||||
|
||||
int hiding = m.Skills[SkillName.Hiding].Fixed;
|
||||
int stealth = m.Skills[SkillName.Stealth].Fixed;
|
||||
int hiding = m.Skills.Hiding.Fixed;
|
||||
int stealth = m.Skills.Stealth.Fixed;
|
||||
int divisor = hiding + stealth;
|
||||
|
||||
int chance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue