mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 15:04:37 +01:00
battle, ship boom boom
This commit is contained in:
@@ -205,7 +205,7 @@ namespace BLHX.Server.Common.Database
|
||||
}
|
||||
|
||||
if (num < 0)
|
||||
res.Num = (uint)Math.Max(res.Num - num, 0);
|
||||
res.Num = (uint)Math.Max(res.Num + num, 0);
|
||||
else
|
||||
res.Num = Math.Min(res.Num + (uint)num, uint.MaxValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user