Removes literal variables (#257)
This commit is contained in:
parent
580da8a0cc
commit
4d6e584b6c
359 changed files with 1306 additions and 1306 deletions
|
|
@ -46,19 +46,19 @@ namespace Server.Misc
|
|||
|
||||
if (Insensitive.Equals(name, "str"))
|
||||
{
|
||||
ChangeStrength(@from, (int)value);
|
||||
ChangeStrength(from, (int)value);
|
||||
}
|
||||
else if (Insensitive.Equals(name, "dex"))
|
||||
{
|
||||
ChangeDexterity(@from, (int)value);
|
||||
ChangeDexterity(from, (int)value);
|
||||
}
|
||||
else if (Insensitive.Equals(name, "int"))
|
||||
{
|
||||
ChangeIntelligence(@from, (int)value);
|
||||
ChangeIntelligence(from, (int)value);
|
||||
}
|
||||
else
|
||||
{
|
||||
ChangeSkill(@from, name, value);
|
||||
ChangeSkill(from, name, value);
|
||||
}
|
||||
}
|
||||
catch
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.Misc
|
|||
|
||||
if (skill.Owner.Total - oldFixedPoint + newFixedPoint > skill.Owner.Cap)
|
||||
{
|
||||
@from.SendMessage("You can not exceed the skill cap. Try setting another skill lower first.");
|
||||
from.SendMessage("You can not exceed the skill cap. Try setting another skill lower first.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue