mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Fixed Electro Ball and Gyro Ball moves damage output
This commit is contained in:
parent
591a698515
commit
bd204cd026
Binary file not shown.
@ -61,7 +61,10 @@
|
||||
op = BattleScreen.OwnPokemon
|
||||
End If
|
||||
|
||||
Dim basepower As Integer = CInt(Math.Ceiling(25 * (op.Speed / p.Speed)))
|
||||
Dim p_Speed As Integer = BattleCalculation.DetermineBattleSpeed(own, BattleScreen)
|
||||
Dim op_Speed As Integer = BattleCalculation.DetermineBattleSpeed(Not own, BattleScreen)
|
||||
|
||||
Dim basepower As Integer = CInt(Math.Ceiling(25 * (op_Speed / p_Speed)))
|
||||
|
||||
basepower = basepower.Clamp(1, 150)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user