Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -430,7 +430,9 @@ namespace Server.Items
|
|||
var v = (int)name;
|
||||
|
||||
if (v >= 0 && v < TotalEntries.Length)
|
||||
{
|
||||
return TotalEntries[v];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
@ -445,7 +447,9 @@ namespace Server.Items
|
|||
var inGroup = false;
|
||||
|
||||
for (var j = 0; foundOn != null && !inGroup && j < foundOn.Length; ++j)
|
||||
{
|
||||
inGroup = foundOn[j] == type;
|
||||
}
|
||||
|
||||
if (inGroup)
|
||||
{
|
||||
|
|
@ -483,8 +487,12 @@ namespace Server.Items
|
|||
public bool OppositionSuperSlays(Mobile m)
|
||||
{
|
||||
for (var i = 0; i < Opposition.Length; i++)
|
||||
{
|
||||
if (Opposition[i].Super.Slays(m))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue