Adds more abilities
This commit is contained in:
@@ -1,14 +1,24 @@
|
||||
using PkmnLib.Dynamic.Models;
|
||||
using PkmnLib.Static.Species;
|
||||
using PkmnLib.Static.Utils;
|
||||
|
||||
namespace PkmnLib.Dynamic.Events;
|
||||
|
||||
/// <summary>
|
||||
/// AbilityTriggerEvent is triggered when a Pokémon's ability is activated.
|
||||
/// </summary>
|
||||
public record AbilityTriggerEvent : IEventData
|
||||
{
|
||||
/// <summary>
|
||||
/// The Pokémon whose ability is being triggered.
|
||||
/// </summary>
|
||||
public IPokemon Pokemon { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The ability that is being triggered for the Pokémon.
|
||||
/// </summary>
|
||||
public IAbility? Ability { get; }
|
||||
|
||||
/// <inheritdoc cref="AbilityTriggerEvent"/>
|
||||
public AbilityTriggerEvent(IPokemon pokemon)
|
||||
{
|
||||
Pokemon = pokemon;
|
||||
|
||||
Reference in New Issue
Block a user