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:
Nemanja
2023-08-01 02:10:05 -04:00
committed by GitHub
parent 3c5d913b1e
commit 9147c91ceb
2 changed files with 65 additions and 6 deletions

View File

@@ -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));