Revert "Updates Packets & Randomizer (#43)" (#61)

This reverts commit 179cb50557.
This commit is contained in:
Kamron Batman 2019-11-11 08:46:11 -08:00 • committed by GitHub
parent 179cb50557
commit c2ecc76457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
588 changed files with 16260 additions and 10926 deletions

View file

@ -61,7 +61,7 @@ namespace Server.Spells.Spellweaving
Caster.BeginAction<AttuneWeaponSpell>();
BuffInfo.AddBuff(Caster,
new BuffInfo(BuffIcon.AttuneWeapon, 1075798, damageAbsorb.ToString(), duration, Caster));
new BuffInfo(BuffIcon.AttuneWeapon, 1075798, duration, Caster, damageAbsorb.ToString()));
}
FinishSequence();

View file

@ -51,7 +51,8 @@ namespace Server.Spells.Spellweaving
m_Table[m] = new EssenceOfWindInfo(m, fcMalus, ssiMalus, duration);
BuffInfo.AddBuff(m, new BuffInfo(BuffIcon.EssenceOfWind, 1075802, $"{fcMalus}\t{ssiMalus}", duration, m));
BuffInfo.AddBuff(m, new BuffInfo(BuffIcon.EssenceOfWind, 1075802, duration, m,
$"{fcMalus.ToString()}\t{ssiMalus.ToString()}"));
}
eable.Free();

View file

@ -77,7 +77,7 @@ namespace Server.Spells.Spellweaving
m_Table[m] = t;
BuffInfo.AddBuff(m, new BuffInfo(BuffIcon.GiftOfLife, 1031615, 1075807, duration, true, m));
BuffInfo.AddBuff(m, new BuffInfo(BuffIcon.GiftOfLife, 1031615, 1075807, duration, m, null, true));
}
FinishSequence();

View file

@ -75,7 +75,7 @@ namespace Server.Spells.Spellweaving
Caster.BeginAction<GiftOfRenewalSpell>();
BuffInfo.AddBuff(m,
new BuffInfo(BuffIcon.GiftOfRenewal, 1031602, 1075797, hitsPerRound.ToString(), duration, m));
new BuffInfo(BuffIcon.GiftOfRenewal, 1031602, 1075797, duration, m, hitsPerRound.ToString()));
}
}

View file

@ -37,19 +37,19 @@ namespace Server.Spells.Spellweaving
TransformContext context = TransformationSpellHelper.GetContext(e.Mobile);
if (context?.Type == typeof(ReaperFormSpell))
Packets.SendSpeedControlWalk(e.Mobile.NetState);
e.Mobile.Send(SpeedControl.WalkSpeed);
}
public override void DoEffect(Mobile m)
{
m.PlaySound(0x1BA);
Packets.SendSpeedControlWalk(m.NetState);
m.Send(SpeedControl.WalkSpeed);
}
public override void RemoveEffect(Mobile m)
{
Packets.SendSpeedControlDisabled(m.NetState);
m.Send(SpeedControl.Disable);
}
}
}

View file

@ -66,7 +66,7 @@ namespace Server.Spells.Spellweaving
m_Table[m] = Timer.DelayCall(duration, DoExpire, m);
BuffInfo.AddBuff(m,
new BuffInfo(BuffIcon.Thunderstorm, 1075800, GetCastRecoveryMalus(m).ToString(), duration, m));
new BuffInfo(BuffIcon.Thunderstorm, 1075800, duration, m, GetCastRecoveryMalus(m)));
}
eable.Free();