mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-05 21:51:46 +00:00
small fixes
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1426,7 +1426,7 @@ def calculate_pokemon_weight(pokemon,nerf=0)
|
||||
|
||||
# Cap the weight between min and max values
|
||||
weight = [[weight, min_weight].max, max_weight].min
|
||||
weight -= nerf if nerf > nerf
|
||||
weight -= nerf if weight- nerf > min_weight
|
||||
return weight.round(2) # Round to 2 decimal places
|
||||
end
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,5 @@
|
||||
1736886605
|
||||
1736886606
|
||||
1736886606
|
||||
1737213254
|
||||
1737213255
|
||||
1737213255
|
||||
1737213270
|
||||
1737213270
|
||||
Reference in New Issue
Block a user