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
|
|
@ -77,14 +77,14 @@ namespace Server.Spells.Fourth
|
|||
{
|
||||
Effects.PlaySound(p, Caster.Map, 0x299);
|
||||
|
||||
int val = (int)(Caster.Skills[SkillName.Magery].Value / 10.0 + 1);
|
||||
int val = (int)(Caster.Skills.Magery.Value / 10.0 + 1);
|
||||
|
||||
if (targets.Count > 0)
|
||||
for (int i = 0; i < targets.Count; ++i)
|
||||
{
|
||||
Mobile m = targets[i];
|
||||
|
||||
if (m.BeginAction(typeof(ArchProtectionSpell)))
|
||||
if (m.BeginAction<ArchProtectionSpell>())
|
||||
{
|
||||
Caster.DoBeneficial(m);
|
||||
m.VirtualArmorMod += val;
|
||||
|
|
@ -113,7 +113,7 @@ namespace Server.Spells.Fourth
|
|||
{
|
||||
int v = _Table[m];
|
||||
_Table.Remove(m);
|
||||
m.EndAction(typeof(ArchProtectionSpell));
|
||||
m.EndAction<ArchProtectionSpell>();
|
||||
m.VirtualArmorMod -= v;
|
||||
if (m.VirtualArmorMod < 0)
|
||||
m.VirtualArmorMod = 0;
|
||||
|
|
@ -126,7 +126,7 @@ namespace Server.Spells.Fourth
|
|||
|
||||
public InternalTimer(Mobile target, Mobile caster) : base(TimeSpan.FromSeconds(0))
|
||||
{
|
||||
double time = caster.Skills[SkillName.Magery].Value * 1.2;
|
||||
double time = caster.Skills.Magery.Value * 1.2;
|
||||
if (time > 144)
|
||||
time = 144;
|
||||
Delay = TimeSpan.FromSeconds(time);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue