Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -955,21 +955,20 @@ namespace Server.Mobiles
public static string ConvertTypes(string type)
{
type = type.ToLower();
switch (type)
return type switch
{
case "wheat": return "WheatSheaf";
case "noxxiousmage": return "NoxiousMage";
case "noxxiousarcher": return "NoxiousArcher";
case "noxxiouswarrior": return "NoxiousWarrior";
case "noxxiouswarlord": return "NoxiousWarlord";
case "obsidian": return "obsidianstatue";
case "adeepwaterelemental": return "deepwaterelemental";
case "noxskeleton": return "poisonskeleton";
case "earthcaller": return "earthsummoner";
case "bonedemon": return "bonedaemon";
}
return type;
"wheat" => "WheatSheaf",
"noxxiousmage" => "NoxiousMage",
"noxxiousarcher" => "NoxiousArcher",
"noxxiouswarrior" => "NoxiousWarrior",
"noxxiouswarlord" => "NoxiousWarlord",
"obsidian" => "obsidianstatue",
"adeepwaterelemental" => "deepwaterelemental",
"noxskeleton" => "poisonskeleton",
"earthcaller" => "earthsummoner",
"bonedemon" => "bonedaemon",
_ => type
};
}
private class InternalTimer : Timer