the add command was working more like a set with a possiblity to reset the stat

This commit is contained in:
darkfire006 2024-01-16 01:50:03 -06:00
parent 87ad7562f7
commit f685dd5506
1 changed files with 6 additions and 6 deletions

View File

@ -468,32 +468,32 @@
If .EVHP + evValue > 255 Then
evValue = 255 - .EVHP
End If
.EVHP = evValue
.EVHP += evValue
Case "atk", "attack"
If .EVAttack + evValue > 255 Then
evValue = 255 - .EVAttack
End If
.EVAttack = evValue
.EVAttack += evValue
Case "def", "defense"
If .EVDefense + evValue > 255 Then
evValue = 255 - .EVDefense
End If
.EVDefense = evValue
.EVDefense += evValue
Case "spatk", "specialattack", "spattack"
If .EVSpAttack + evValue > 255 Then
evValue = 255 - .EVSpAttack
End If
.EVSpAttack = evValue
.EVSpAttack += evValue
Case "spdef", "specialdefense", "spdefense"
If .EVSpDefense + evValue > 255 Then
evValue = 255 - .EVSpDefense
End If
.EVSpDefense = evValue
.EVSpDefense += evValue
Case "speed"
If .EVSpeed + evValue > 255 Then
evValue = 255 - .EVSpeed
End If
.EVSpeed = evValue
.EVSpeed += evValue
End Select
End With
End If