22 lines
688 B
C#
22 lines
688 B
C#
using PkmnLib.Dynamic.ScriptHandling;
|
|
using PkmnLib.Plugin.Gen7.Libraries;
|
|
|
|
namespace PkmnLib.Plugin.Gen7;
|
|
|
|
public class Gen7Plugin : Dynamic.ScriptHandling.Registry.Plugin
|
|
{
|
|
/// <inheritdoc />
|
|
public override string Name => "Gen7";
|
|
|
|
/// <inheritdoc />
|
|
public override uint LoadOrder => 0;
|
|
|
|
/// <inheritdoc />
|
|
public override void Register(ScriptRegistry registry)
|
|
{
|
|
registry.RegisterAssemblyScripts(typeof(Gen7Plugin).Assembly);
|
|
registry.RegisterBattleStatCalculator(new Gen7BattleStatCalculator());
|
|
registry.RegisterDamageCalculator(new Gen7DamageCalculator(true));
|
|
registry.RegisterMiscLibrary(new Gen7MiscLibrary());
|
|
}
|
|
} |