Namespace BattleSystem.Moves.Ground Public Class MudShot Inherits Attack Public Sub New() '#Definitions Me.Type = New Element(Element.Types.Ground) Me.ID = 341 Me.OriginalPP = 15 Me.CurrentPP = 15 Me.MaxPP = 15 Me.Power = 55 Me.Accuracy = 95 Me.Category = Categories.Special Me.ContestCategory = ContestCategories.Tough Me.Name = Localization.GetString("move_name_" & Me.ID,"Mud Shot") Me.Description = "The user attacks by hurling a blob of mud at the target. This also lowers the target's Speed stat." Me.CriticalChance = 1 Me.IsHMMove = False Me.Target = Targets.OneAdjacentTarget Me.Priority = 0 Me.TimesToAttack = 1 '#End '#SpecialDefinitions Me.MakesContact = False Me.ProtectAffected = True Me.MagicCoatAffected = False Me.SnatchAffected = False Me.MirrorMoveAffected = True Me.KingsrockAffected = True Me.CounterAffected = False Me.DisabledWhileGravity = False Me.UseEffectiveness = True Me.ImmunityAffected = True Me.HasSecondaryEffect = True Me.RemovesOwnFrozen = False Me.IsHealingMove = False Me.IsRecoilMove = False Me.IsDamagingMove = True Me.IsProtectMove = False Me.IsAffectedBySubstitute = True Me.IsOneHitKOMove = False Me.IsWonderGuardAffected = True '#End Me.AIField1 = AIField.Damage Me.AIField2 = AIField.CanLowerSpeed End Sub Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen) BattleScreen.Battle.LowerStat(Not own, own, BattleScreen, "Speed", 1, "", "move:mudshot") End Sub End Class End Namespace