mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Update BattleCalculation.vb
This commit is contained in:
parent
a8ad4e5aa9
commit
0a88669457
@ -131,9 +131,11 @@
|
||||
Dim speed As Integer = CInt(p.Speed * GetMultiplierFromStat(p.StatSpeed)) 'Calculate the speed's basic value from the speed and the speed stat
|
||||
|
||||
If own = True Then
|
||||
If Core.Player.Badges.Contains(3) = True Then
|
||||
speed = CInt(speed + (speed * (1 / 8))) 'Add 1/8 of the speed if the player has the 3rd badge
|
||||
End If
|
||||
If BattleScreen.IsPVPBattle = False Then
|
||||
If Core.Player.Badges.Contains(3) = True Then
|
||||
speed = CInt(speed + (speed * (1 / 8))) 'Add 1/8 of the speed if the player has the 3rd badge and it's not a PvP battle
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
If p.Status = net.Pokemon3D.Game.Pokemon.StatusProblems.Paralyzed And p.Ability.Name.ToLower() <> "quick feet" Then
|
||||
@ -1784,4 +1786,4 @@
|
||||
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
End Namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user