Namespace BattleSystem.Moves.Grass Public Class LeafStorm Inherits Attack Public Sub New() '#Definitions Me.Type = New Element(Element.Types.Grass) Me.ID = 437 Me.OriginalPP = 5 Me.CurrentPP = 5 Me.MaxPP = 5 Me.Power = 130 Me.Accuracy = 90 Me.Category = Categories.Special Me.ContestCategory = ContestCategories.Beauty Me.Name = "Leaf Storm" Me.Description = "The user whips up a storm of leaves around the target. The attack's recoil harshly lowers the user's Sp. Atk 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 = False Me.RemovesFrozen = False Me.IsHealingMove = False Me.IsRecoilMove = False Me.IsPunchingMove = False Me.IsDamagingMove = True Me.IsProtectMove = False Me.IsSoundMove = False Me.IsAffectedBySubstitute = True Me.IsOneHitKOMove = False Me.IsWonderGuardAffected = True '#End End Sub Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen) BattleScreen.Battle.LowerStat(own, own, BattleScreen, "Special Attack", 2, "", "move:leafstorm") End Sub End Class End Namespace