feat: set default battle starting energy to 50% for all avatars
This commit is contained in:
1 parent
83fa8c7d44
commit
16303423d2
2 files changed
+2
-2
No files matched your search
@@ -189,7 +189,7 @@ func (a *AvatarJson) SPCur() uint32 {
|
||||
if a.SPValue != nil {
|
||||
return *a.SPValue
|
||||
}
|
||||
return 10000
|
||||
return a.SPMaxVal() / 2
|
||||
}
|
||||
|
||||
func (a *AvatarJson) SPMaxVal() uint32 {
|
||||
|
||||
Reference in new issue
Block a user