Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -80,7 +80,7 @@ namespace Server.Items
|
|||
{
|
||||
if (from.Body.IsHuman && !from.Mounted)
|
||||
{
|
||||
@from.Animate(33, 2, 1, true, true, 0);
|
||||
from.Animate(33, 2, 1, true, true, 0);
|
||||
}
|
||||
|
||||
from.PlaySound(0x223);
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ namespace Server.Items
|
|||
{
|
||||
if (from.Body.IsHuman)
|
||||
{
|
||||
@from.Animate(@from.Mounted ? 26 : 9, 7, 1, true, false, 0);
|
||||
from.Animate(from.Mounted ? 26 : 9, 7, 1, true, false, 0);
|
||||
}
|
||||
|
||||
from.PlaySound(0x23A);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace Server.Items
|
|||
{
|
||||
if (CanUseWeapon(from, weapon))
|
||||
{
|
||||
@from.BeginTarget(weapon.WeaponMaxRange, false, TargetFlags.Harmful, OnTarget, weapon);
|
||||
from.BeginTarget(weapon.WeaponMaxRange, false, TargetFlags.Harmful, OnTarget, weapon);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ namespace Server.Items
|
|||
|
||||
if (CombatCheck(from, target))
|
||||
{
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(1.0), OnHit, @from, target, weapon);
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(1.0), OnHit, from, target, weapon);
|
||||
}
|
||||
|
||||
Timer.DelayCall(TimeSpan.FromSeconds(2.5), ResetUsing, from);
|
||||
|
|
@ -125,7 +125,7 @@ namespace Server.Items
|
|||
if (weapon.Poison == null && ammo.Poison != null
|
||||
|| weapon.Poison != null && ammo.Poison != null && weapon.Poison.Level != ammo.Poison.Level)
|
||||
{
|
||||
Unload(@from, weapon);
|
||||
Unload(from, weapon);
|
||||
need = Math.Min(MaxUses, ammo.UsesRemaining);
|
||||
}
|
||||
}
|
||||
|
|
@ -299,11 +299,11 @@ namespace Server.Items
|
|||
{
|
||||
if (EvilOmenSpell.TryEndEffect(target))
|
||||
{
|
||||
target.ApplyPoison(@from, Poison.GetPoison(weapon.Poison.Level + 1));
|
||||
target.ApplyPoison(from, Poison.GetPoison(weapon.Poison.Level + 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
target.ApplyPoison(@from, weapon.Poison);
|
||||
target.ApplyPoison(from, weapon.Poison);
|
||||
}
|
||||
|
||||
weapon.PoisonCharges--;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue