Added Sub DoMoveRecoil

In order to do so in case the moves requires it.
Splitting recoil action from secondary effect action.
This commit is contained in:
Capt_Segis 2016-09-14 15:07:21 -05:00 committed by GitHub
parent b6233b8779
commit 3b59c6a5d7
1 changed files with 4 additions and 1 deletions

View File

@ -1591,9 +1591,12 @@
If Me.IsGameModeMove = True Then
AttackSpecialFunctions.ExecuteAttackFunction(Me, own, BattleScreen)
Else
'DO NOTHING HERE
'DO NOTHING HERE (will do secondary effect if moves overrides it)
End If
End Sub
Public Overridable Sub DoMoveRecoil(ByVal own As Boolean, ByVal BattleScreen As BattleScreen)
'DO NOTHING HERE (will do recoil if moves overrides it)
End Sub
''' <summary>
''' Event that occurs when the move misses its target.