2024-07-27 14:26:45 +00:00
|
|
|
namespace PkmnLib.Dynamic.Models;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Where the damage comes from.
|
|
|
|
/// </summary>
|
|
|
|
public enum DamageSource
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The damage is done by a move.
|
|
|
|
/// </summary>
|
|
|
|
MoveDamage = 0,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The damage is done by something else.
|
|
|
|
/// </summary>
|
|
|
|
Misc = 1,
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The damage is done because of struggling.
|
|
|
|
/// </summary>
|
|
|
|
Struggle = 2,
|
2024-09-03 08:15:48 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The damage is done because of a form change.
|
|
|
|
/// This happens when the form of a Pokemon changes, and it has less max HP than it had before.
|
|
|
|
/// </summary>
|
|
|
|
FormChange = 3,
|
2025-01-10 11:16:29 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The damage is done because of the weather.
|
|
|
|
/// </summary>
|
|
|
|
Weather = 4,
|
2024-07-27 14:26:45 +00:00
|
|
|
}
|