status/CurseXpRepelStatus.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Sandbox;

[Status(1, 0, 1f, 0, true )]
public class CurseXpRepelStatus : Status
{
	public CurseXpRepelStatus()
    {
		Title = "XP Repeller";
		IconPath = "textures/icons/curse_xp_range.png";
	}

	public override void Init(Player player)
	{
		base.Init(player);
	}

	public override void Refresh()
    {
		Description = GetDescription(Level);

		Player.Modify(this, PlayerStat.XpRepel, 1f, ModifierType.Add);
	}

	public override string GetDescription(int newLevel)
	{
		return string.Format("You repel XP instead of attracting it" );
	}

	public override string GetUpgradeDescription(int newLevel)
    {
		return newLevel > 1 ? string.Format( "You repel XP instead of attracting it" ) : GetDescription(newLevel);
	}
}