Namespace BattleSystem.Moves.Flying Public Class Gust Inherits Attack Public Sub New() '#Definitions Me.Type = New Element(Element.Types.Flying) Me.ID = 16 Me.OriginalPP = 35 Me.CurrentPP = 35 Me.MaxPP = 35 Me.Power = 40 Me.Accuracy = 100 Me.Category = Categories.Special Me.ContestCategory = ContestCategories.Smart Me.Name = "Gust" Me.Description = "A gust of wind is whipped up by wings and launched at the target to inflict damage." 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 Me.CanHitInMidAir = True '#End End Sub Public Overrides Function GetBasePower(own As Boolean, BattleScreen As BattleScreen) As Integer Dim fly As Integer = 0 Dim bounce As Integer = 0 If own = True Then fly = BattleScreen.FieldEffects.OppFlyCounter bounce = BattleScreen.FieldEffects.OppBounceCounter Else fly = BattleScreen.FieldEffects.OwnFlyCounter bounce = BattleScreen.FieldEffects.OwnBounceCounter End If If fly > 0 Or bounce > 0 Then Return Me.Power * 2 Else Return Me.Power End If End Function End Class End Namespace