Implements more move effects
This commit is contained in:
12
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/GuardianOfAlola.cs
Normal file
12
Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/GuardianOfAlola.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||||
|
||||
[Script(ScriptCategory.Move, "guardian_of_alola")]
|
||||
public class GuardianOfAlola : Script
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void ChangeMoveDamage(IExecutingMove move, IPokemon target, byte hit, ref uint damage)
|
||||
{
|
||||
var maxHp = target.BoostedStats.Hp;
|
||||
damage = (uint)(maxHp * (3f / 4f));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user