mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 14:47:44 +00:00
Temporarily set statue auto use to 1 and 100%.
This commit is contained in:
parent
8074f47c6a
commit
32154c2a55
@ -93,9 +93,14 @@ public class SotSManager {
|
||||
}
|
||||
|
||||
public void refillSpringVolume() {
|
||||
// TODO: max spring volume depends on level of the statues in Mondstadt and Liyue.
|
||||
// Temporary: Max spring volume depends on level of the statues in Mondstadt and Liyue. Override until we have statue level.
|
||||
// TODO: remove
|
||||
// https://genshin-impact.fandom.com/wiki/Statue_of_The_Seven#:~:text=region%20of%20Inazuma.-,Statue%20Levels,-Upon%20first%20unlocking
|
||||
player.setProperty(PlayerProperty.PROP_MAX_SPRING_VOLUME, 8500000);
|
||||
// Temporary: Auto enable 100% statue recovery until we can adjust statue settings in game
|
||||
// TODO: remove
|
||||
player.setProperty(PlayerProperty.PROP_SPRING_AUTO_USE_PERCENT, 100);
|
||||
player.setProperty(PlayerProperty.PROP_IS_SPRING_AUTO_USE, 1);
|
||||
|
||||
long now = System.currentTimeMillis() / 1000;
|
||||
long secondsSinceLastUsed = now - player.getSpringLastUsed();
|
||||
|
Loading…
Reference in New Issue
Block a user