client.Entity.ConquerPoints += Math.Min(floorItem.Value, 300);
Code:
case FloorItem.FloorValueType.ConquerPoints:
{
client.Send(Constants.PickupConquerPoints(floorItem.Value));
client.SendScreen(pickupAnimation, false);
client.Entity.ConquerPoints += Math.Min(floorItem.Value, 300);
floorItem.Type = 2;
client.RemoveScreenSpawn(floorItem, true);
break;
}
exchanged by client.Entity.ConquerPoints += floorItem.Value; now working
Code:
case FloorItem.FloorValueType.ConquerPoints:
{
client.Send(Constants.PickupConquerPoints(floorItem.Value));
client.SendScreen(pickupAnimation, false);
client.Entity.ConquerPoints += floorItem.Value;
floorItem.Type = 2;
client.RemoveScreenSpawn(floorItem, true);
break;
}
can give some bug the "client.Entity.ConquerPoints += floorItem.Value;"?
Thx All!