P3D-Legacy/P3D/Pokemon/Attacks/Dragon/ClangingScales.vb

64 lines
2.1 KiB
VB.net
Raw Normal View History

2018-11-08 20:34:07 +01:00
Namespace BattleSystem.Moves.Dragon
Public Class ClangingScales
Inherits Attack
Public Sub New()
'#Definitions
Me.Type = New Element(Element.Types.Dragon)
Me.ID = 691
Me.OriginalPP = 5
Me.CurrentPP = 5
Me.MaxPP = 5
Me.Power = 110
Me.Accuracy = 100
Me.Category = Categories.Special
2019-06-03 03:42:09 +02:00
Me.ContestCategory = ContestCategories.Smart
2018-11-08 20:34:07 +01:00
Me.Name = "Clanging Scales"
Me.Description = "The user rubs the scales on its entire body and makes a huge noise to attack the opposing Pok<6F>mon. The user's Defense stat goes down after the attack."
Me.CriticalChance = 1
Me.IsHMMove = False
Me.Target = Targets.AllAdjacentFoes
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 = True
Me.IsAffectedBySubstitute = False
Me.IsOneHitKOMove = False
Me.IsWonderGuardAffected = True
'#End
Me.AIField1 = AIField.Damage
Me.AIField2 = AIField.LowerDefense
End Sub
Public Overrides Sub MoveHits(own As Boolean, BattleScreen As BattleScreen)
2018-12-22 21:25:36 +01:00
BattleScreen.Battle.LowerStat(own, own, BattleScreen, "Defense", 1, "", "move:clangingscales")
2018-11-08 20:34:07 +01:00
End Sub
End Class
End Namespace