11 lines
309 B
C#
11 lines
309 B
C#
|
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||
|
|
||
|
[Script(ScriptCategory.Move, "explosion")]
|
||
|
public class Explosion : Script
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public override void OnAfterHits(IExecutingMove move, IPokemon target)
|
||
|
{
|
||
|
move.User.Damage(move.User.CurrentHealth * 10, DamageSource.Misc);
|
||
|
}
|
||
|
}
|