ace/Source/ACE.Entity/LINQExtensions.cs
gmriggs 4b2bd3aae1
updating fellowship level proportional xp sharing (#2011)
* updating fellowship level proportional xp sharing

* fixing EvenShare/Proportional/None

* sending ShareLoot in fellow update packet

* updating comments

* adding /fellow-info developer command for fellowship debugging

* adding CurrentMotionState null check

* -1
2019-06-18 00:32:04 -04:00

17 lines
320 B
C#

using System.Collections.Generic;
namespace ACE.Entity
{
public static class LINQExtensions
{
public static ulong Sum(this IEnumerable<ulong> values)
{
ulong sum = 0;
foreach (var value in values)
sum += value;
return sum;
}
}
}