2016-09-07 18:50:38 +02:00
|
|
|
Namespace BattleSystem.Moves.Normal
|
|
|
|
|
|
|
|
Public Class Confide
|
|
|
|
|
|
|
|
Inherits Attack
|
|
|
|
|
|
|
|
Public Sub New()
|
|
|
|
'#Definitions
|
|
|
|
Me.Type = New Element(Element.Types.Normal)
|
|
|
|
Me.ID = 590
|
|
|
|
Me.OriginalPP = 20
|
|
|
|
Me.CurrentPP = 20
|
|
|
|
Me.MaxPP = 20
|
|
|
|
Me.Power = 0
|
|
|
|
Me.Accuracy = 0
|
|
|
|
Me.Category = Categories.Status
|
|
|
|
Me.ContestCategory = ContestCategories.Cute
|
2022-12-04 20:11:29 +01:00
|
|
|
Me.Name = Localization.GetString("move_name_" & Me.ID,"Confide")
|
2016-09-07 18:50:38 +02:00
|
|
|
Me.Description = "The user tells the target a secret, and the target loses its ability to concentrate. This lowers the target's Sp. Atk. stat."
|
|
|
|
Me.CriticalChance = 0
|
|
|
|
Me.IsHMMove = False
|
|
|
|
Me.Target = Targets.OneAdjacentTarget
|
|
|
|
Me.Priority = 0
|
|
|
|
Me.TimesToAttack = 1
|
|
|
|
'#End
|
|
|
|
|
|
|
|
'#SpecialDefinitions
|
|
|
|
Me.MakesContact = False
|
|
|
|
Me.ProtectAffected = False
|
|
|
|
Me.MagicCoatAffected = False
|
|
|
|
Me.SnatchAffected = False
|
|
|
|
Me.MirrorMoveAffected = True
|
|
|
|
Me.KingsrockAffected = False
|
|
|
|
Me.CounterAffected = False
|
|
|
|
|
|
|
|
Me.DisabledWhileGravity = False
|
|
|
|
Me.UseEffectiveness = False
|
|
|
|
Me.ImmunityAffected = False
|
|
|
|
Me.HasSecondaryEffect = False
|
2023-04-01 08:58:01 +02:00
|
|
|
Me.RemovesOwnFrozen = False
|
2016-09-07 18:50:38 +02:00
|
|
|
|
|
|
|
Me.IsHealingMove = False
|
|
|
|
Me.IsRecoilMove = False
|
|
|
|
Me.IsDamagingMove = False
|
|
|
|
Me.IsProtectMove = False
|
2022-12-20 17:57:50 +01:00
|
|
|
Me.IsSoundMove = True
|
2022-12-20 17:40:04 +01:00
|
|
|
|
2016-09-07 18:50:38 +02:00
|
|
|
|
|
|
|
Me.IsAffectedBySubstitute = True
|
|
|
|
Me.IsOneHitKOMove = False
|
|
|
|
Me.IsWonderGuardAffected = False
|
|
|
|
Me.UseAccEvasion = False
|
|
|
|
'#End
|
|
|
|
|
|
|
|
Me.AIField1 = AIField.LowerSpAttack
|
|
|
|
Me.AIField2 = AIField.Nothing
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen)
|
|
|
|
Dim b As Boolean = BattleScreen.Battle.LowerStat(Not own, own, BattleScreen, "Special Attack", 1, "", "move:confide")
|
|
|
|
If b = False Then
|
|
|
|
BattleScreen.BattleQuery.Add(New TextQueryObject(Me.Name & " failed!"))
|
|
|
|
End If
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
End Class
|
|
|
|
|
|
|
|
End Namespace
|