Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -22,14 +22,14 @@ namespace Server.Spells.Ninjitsu
|
|||
|
||||
if (handOne != null && !(handOne is BaseRanged))
|
||||
{
|
||||
return base.Validate(@from);
|
||||
return base.Validate(from);
|
||||
}
|
||||
|
||||
Item handTwo = from.FindItemOnLayer(Layer.TwoHanded) as BaseWeapon;
|
||||
|
||||
if (handTwo != null && !(handTwo is BaseRanged))
|
||||
{
|
||||
return base.Validate(@from);
|
||||
return base.Validate(from);
|
||||
}
|
||||
|
||||
from.SendLocalizedMessage(1063097); // You must be wielding a melee weapon without a shield to use this ability.
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace Server.Items
|
|||
{
|
||||
if (InvalidTransferMessage != null)
|
||||
{
|
||||
TextDefinition.SendMessageTo(@from, InvalidTransferMessage);
|
||||
TextDefinition.SendMessageTo(from, InvalidTransferMessage);
|
||||
}
|
||||
|
||||
Delete();
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Spells
|
|||
}
|
||||
else
|
||||
{
|
||||
@from.SendLocalizedMessage(501805); // That rune is not yet marked.
|
||||
from.SendLocalizedMessage(501805); // That rune is not yet marked.
|
||||
}
|
||||
}
|
||||
else if (o is Runebook runebook)
|
||||
|
|
@ -40,7 +40,7 @@ namespace Server.Spells
|
|||
}
|
||||
else
|
||||
{
|
||||
@from.SendLocalizedMessage(502354); // Target is not marked.
|
||||
from.SendLocalizedMessage(502354); // Target is not marked.
|
||||
}
|
||||
}
|
||||
else if (m_ToBoat && o is Key key && key.KeyValue != 0 && key.Link is BaseBoat boat)
|
||||
|
|
@ -51,15 +51,15 @@ namespace Server.Spells
|
|||
}
|
||||
else
|
||||
{
|
||||
@from.Send(
|
||||
from.Send(
|
||||
new MessageLocalized(
|
||||
@from.Serial,
|
||||
@from.Body,
|
||||
from.Serial,
|
||||
from.Body,
|
||||
MessageType.Regular,
|
||||
0x3B2,
|
||||
3,
|
||||
502357,
|
||||
@from.Name,
|
||||
from.Name,
|
||||
""
|
||||
)
|
||||
); // I can not recall from that object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue