Make moveflags of gen 7 plugin shared statically
This commit is contained in:
@@ -26,7 +26,7 @@ public static class AIDamageFunctions
|
||||
if (damage > target.CurrentHealth * 1.1f)
|
||||
{
|
||||
score += 10;
|
||||
if ((option.Move.Move.HasFlag("multi_hit") && target.CurrentHealth == target.MaxHealth &&
|
||||
if ((option.Move.Move.HasFlag(MoveFlags.MultiHit) && target.CurrentHealth == target.MaxHealth &&
|
||||
target.ActiveAbility?.Name == "sturdy") || target.HasHeldItem("focus_sash"))
|
||||
{
|
||||
score += 8;
|
||||
|
||||
Reference in New Issue
Block a user