Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -16,11 +16,11 @@ namespace Server.Targets
|
|||
{
|
||||
if (targeted is UnholyBone bone && from.InRange(bone, 12))
|
||||
{
|
||||
bone.Carve(@from, m_Item);
|
||||
bone.Carve(from, m_Item);
|
||||
}
|
||||
else
|
||||
{
|
||||
base.OnTargetOutOfRange(@from, targeted);
|
||||
base.OnTargetOutOfRange(from, targeted);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ namespace Server.Targets
|
|||
{
|
||||
if (!pet.Controlled || pet.ControlMaster != from)
|
||||
{
|
||||
@from.SendLocalizedMessage(1053022); // You cannot remove barding from a swamp dragon you do not own.
|
||||
from.SendLocalizedMessage(1053022); // You cannot remove barding from a swamp dragon you do not own.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -38,14 +38,14 @@ namespace Server.Targets
|
|||
{
|
||||
if (!item.Deleted)
|
||||
{
|
||||
item.MoveToWorld(new Point3D(p), @from.Map);
|
||||
item.MoveToWorld(new Point3D(p), from.Map);
|
||||
}
|
||||
}
|
||||
else if (m_Object is Mobile m)
|
||||
{
|
||||
if (!m.Deleted)
|
||||
{
|
||||
m.MoveToWorld(new Point3D(p), @from.Map);
|
||||
m.MoveToWorld(new Point3D(p), from.Map);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Server.Targets
|
|||
|
||||
if (o is Item || o is Mobile)
|
||||
{
|
||||
@from.Target = new MoveTarget(o);
|
||||
from.Target = new MoveTarget(o);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue