the add command was working more like a set with a possiblity to reset the stat
This commit is contained in:
parent
87ad7562f7
commit
f685dd5506
|
@ -468,32 +468,32 @@
|
||||||
If .EVHP + evValue > 255 Then
|
If .EVHP + evValue > 255 Then
|
||||||
evValue = 255 - .EVHP
|
evValue = 255 - .EVHP
|
||||||
End If
|
End If
|
||||||
.EVHP = evValue
|
.EVHP += evValue
|
||||||
Case "atk", "attack"
|
Case "atk", "attack"
|
||||||
If .EVAttack + evValue > 255 Then
|
If .EVAttack + evValue > 255 Then
|
||||||
evValue = 255 - .EVAttack
|
evValue = 255 - .EVAttack
|
||||||
End If
|
End If
|
||||||
.EVAttack = evValue
|
.EVAttack += evValue
|
||||||
Case "def", "defense"
|
Case "def", "defense"
|
||||||
If .EVDefense + evValue > 255 Then
|
If .EVDefense + evValue > 255 Then
|
||||||
evValue = 255 - .EVDefense
|
evValue = 255 - .EVDefense
|
||||||
End If
|
End If
|
||||||
.EVDefense = evValue
|
.EVDefense += evValue
|
||||||
Case "spatk", "specialattack", "spattack"
|
Case "spatk", "specialattack", "spattack"
|
||||||
If .EVSpAttack + evValue > 255 Then
|
If .EVSpAttack + evValue > 255 Then
|
||||||
evValue = 255 - .EVSpAttack
|
evValue = 255 - .EVSpAttack
|
||||||
End If
|
End If
|
||||||
.EVSpAttack = evValue
|
.EVSpAttack += evValue
|
||||||
Case "spdef", "specialdefense", "spdefense"
|
Case "spdef", "specialdefense", "spdefense"
|
||||||
If .EVSpDefense + evValue > 255 Then
|
If .EVSpDefense + evValue > 255 Then
|
||||||
evValue = 255 - .EVSpDefense
|
evValue = 255 - .EVSpDefense
|
||||||
End If
|
End If
|
||||||
.EVSpDefense = evValue
|
.EVSpDefense += evValue
|
||||||
Case "speed"
|
Case "speed"
|
||||||
If .EVSpeed + evValue > 255 Then
|
If .EVSpeed + evValue > 255 Then
|
||||||
evValue = 255 - .EVSpeed
|
evValue = 255 - .EVSpeed
|
||||||
End If
|
End If
|
||||||
.EVSpeed = evValue
|
.EVSpeed += evValue
|
||||||
End Select
|
End Select
|
||||||
End With
|
End With
|
||||||
End If
|
End If
|
||||||
|
|
Loading…
Reference in New Issue