fix: Cleans up some comments and spell code (#1120)
This commit is contained in:
parent
56c97ca84a
commit
fa3515f930
44 changed files with 338 additions and 469 deletions
|
|
@ -134,16 +134,12 @@ namespace Server.Engines.ConPVP
|
|||
return false;
|
||||
}
|
||||
|
||||
string title = null;
|
||||
|
||||
if (move is NinjaMove)
|
||||
string title = move switch
|
||||
{
|
||||
title = "Bushido";
|
||||
}
|
||||
else if (move is SamuraiMove)
|
||||
{
|
||||
title = "Ninjitsu";
|
||||
}
|
||||
NinjaMove => "Bushido",
|
||||
SamuraiMove => "Ninjitsu",
|
||||
_ => null
|
||||
};
|
||||
|
||||
if (title == null || name == null || Ruleset.GetOption(title, name))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue