Skip to content

Instantly share code, notes, and snippets.

Created December 1, 2017 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b07110013c1a4613090fba6ef5d0e3c7 to your computer and use it in GitHub Desktop.
Save anonymous/b07110013c1a4613090fba6ef5d0e3c7 to your computer and use it in GitHub Desktop.
ACT Category Remover
using System.Windows.Forms;
using Advanced_Combat_Tracker;
using System;
namespace ACT_Plugin
{
class CategoryRemover : IActPluginV1
{
public void DeInitPlugin()
{
}
public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText)
{
try
{
CombatantData.OutgoingDamageTypeDataObjects.Remove("Power Drain (Out)");
CombatantData.OutgoingDamageTypeDataObjects.Remove("Power Replenish (Out)");
CombatantData.OutgoingDamageTypeDataObjects.Remove("Cure/Dispel (Out)");
CombatantData.OutgoingDamageTypeDataObjects.Remove("Threat (Out)");
CombatantData.IncomingDamageTypeDataObjects.Remove("Power Drain (Inc)");
CombatantData.IncomingDamageTypeDataObjects.Remove("Power Replenish (Inc)");
CombatantData.IncomingDamageTypeDataObjects.Remove("Cure/Dispel (Inc)");
CombatantData.IncomingDamageTypeDataObjects.Remove("Threat (Inc)");
}
catch(Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment