mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: Floor and ceil in datastorage (#2448)
This commit is contained in:
@@ -415,6 +415,8 @@ The following operations can be applied to a datastorage key
|
||||
| mul | Multiplies the current value of the key by `value`. |
|
||||
| pow | Multiplies the current value of the key to the power of `value`. |
|
||||
| mod | Sets the current value of the key to the remainder after division by `value`. |
|
||||
| floor | Floors the current value (`value` is ignored). |
|
||||
| ceil | Ceils the current value (`value` is ignored). |
|
||||
| max | Sets the current value of the key to `value` if `value` is bigger. |
|
||||
| min | Sets the current value of the key to `value` if `value` is lower. |
|
||||
| and | Applies a bitwise AND to the current value of the key with `value`. |
|
||||
|
Reference in New Issue
Block a user