Make guidebooks specify both damage types and groups (#18510)
* Make guidebooks specify both damage types and groups * slothhhhhhhhhh i was in vc you didn't have to leave revIIEEEEWWWWWWW
This commit is contained in:
@@ -199,6 +199,21 @@ namespace Content.Shared.FixedPoint
|
||||
return a > b ? a : b;
|
||||
}
|
||||
|
||||
public static int Sign(FixedPoint2 value)
|
||||
{
|
||||
if (value < Zero)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (value > Zero)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static FixedPoint2 Abs(FixedPoint2 a)
|
||||
{
|
||||
return FixedPoint2.New(Math.Abs(a.Value));
|
||||
|
||||
Reference in New Issue
Block a user