gentlespoon
65fcae7961
Slowly recover HP near statue
2022-05-12 02:32:39 -07:00
gentlespoon
8c71af26f0
Clean up map mark related code
...
1. Remove unnecessary manager from player collection.
2. Clean up MarkMapReq handler.
3. Remove redundant checks.
2022-05-12 02:32:11 -07:00
AnimeGitB
f45e106b2a
Fix immutable lists
2022-05-11 21:56:53 -07:00
AnimeGitB
b787c70cb0
More usage of payItems
2022-05-11 21:56:53 -07:00
AnimeGitB
b4d457d78a
Add some usage of Inventory.payItems()
...
And add quantity to it
2022-05-11 21:56:53 -07:00
gentlespoon
226a29f7c2
Fix logging level
2022-05-11 17:39:45 -07:00
gentlespoon
2531ae366d
Feature: vehicle stamina
...
1. Remove references.
2. Handle vehicle stamina.
2022-05-11 17:39:45 -07:00
gentlespoon
ba5635bf39
Update StaminaManager
...
1. Update function signatures to prepare for vehicle stamina.
3. Remove hard-coded skills.
2. Wind resonance -15% stamina cost.
4. Climb talent cost reduction.
5. Swim talent cost reduction.
6. Diluc will now consume stamina at full price if talent not activated.
7. Sayu's windwheel no longer consumes stamina.
2022-05-11 17:39:45 -07:00
Magix
22cbe74875
Merge pull request #802 from Grasscutters/better-config
...
Implement a better config structure
2022-05-11 01:23:43 -04:00
KingRainbow44
11161227ab
Convert to the far superior config system
2022-05-11 00:30:07 -04:00
gentlespoon
54cf45a72e
Claymore charged attack stamina cost
2022-05-10 17:25:18 -07:00
gentlespoon
0f1341512c
Reset first tick on new skill
2022-05-10 05:21:29 -07:00
gentlespoon
2a3708ee46
Talent moving stamina cost
2022-05-10 05:21:29 -07:00
gentlespoon
fb3c3b71c8
Temporarily set statue auto use to 1 and 100%.
2022-05-10 02:14:09 -07:00
gentlespoon
0ea0eab6b6
Stamina will be set to full if Stamina is disabled.
2022-05-10 02:13:49 -07:00
FpguDhk
d179b5c7dc
Fix the decision statement of adding map marker. ( #763 )
...
* Fix the Chinese messy code problem.
* Fix the decision statement of adding map marker.
2022-05-09 23:15:17 -07:00
gentlespoon
5d917f185f
Move "if Grasscutter.getConfig().OpenStamina" to the correct place.
2022-05-09 03:46:18 -07:00
gentlespoon
ccdc3d1214
Only handle motion notify for current entity.
2022-05-09 02:28:13 -07:00
gentlespoon
d78348522e
Update StaminaManager
2022-05-08 04:39:25 -07:00
gentlespoon
a09723f07d
Fix: timer is already cancelled.
2022-05-08 04:39:25 -07:00
gentlespoon
94a6a79b4a
Fix null reference on stamina timer when paused player disconnects.
2022-05-07 23:13:35 -07:00
gentlespoon
29f9d6506a
Make stamina consumption classes public so others can use.
2022-05-07 18:18:20 -07:00
gentlespoon
836e0150b5
Stop stamina consumption on game pause
2022-05-07 18:18:20 -07:00
gentlespoon
8e99cb4f35
More reliable stamina calculation
...
by separately handling immediate one-time cost and cost over time.
2022-05-07 18:18:20 -07:00
gentlespoon
6bba3c8477
Kamisato Ayaka and Mona talent moving costs stamina
2022-05-07 00:47:19 -07:00
gentlespoon
9b3ca239c9
Prepare MovementManager.updateStamina() for external calls.
2022-05-07 00:47:19 -07:00
gentlespoon
34df864e1c
Flight stamina cost -20% when Amber or Venti in team
...
- Reduced stamina not tested in MP.
- Stop MovementManager ticker when player goes offline.
2022-05-06 23:27:07 -07:00
gentlespoon
6d678557ff
fix/runningAndDashingStamina
2022-05-06 16:11:51 -07:00
gentlespoon
58cb60299c
Fix #593 : Accidental death of character
2022-05-06 15:22:00 -07:00
gentlespoon
3f91fdcb71
Allow walking away from the statue within 2.5s to stop auto heal.
2022-05-06 14:49:33 -07:00
gentlespoon
2e68578525
The statues will now automatically regen their HP volume over time.
...
Max is currently set to 85000 for everyone. Will update after implementing statue levels.
2022-05-06 03:26:38 -07:00
gentlespoon
221668570e
fix: lower logging level in SotSManager
2022-05-06 00:49:08 -07:00
gentlespoon
198214ec53
Implementes auto HP recovery at the statues.
...
- Respects player setting.
- SP + MP.
- Statue has unlimited HP volume (to be updated)
2022-05-06 00:17:18 -07:00
gentlespoon
93b3265d72
Add drowning. Better movement ticking.
2022-05-05 23:42:34 -07:00
gentlespoon
bafde8693d
Fixes #529 : fixed stamina abnormal. added fall to death.
...
Stamina is still WIP.
- Currently stamina consumption is not affected by the use of foods, talents, or the environment.
- Charged attacks do no require stamina yet.
- Will be fixed tomorrow.
2022-05-05 15:37:15 -07:00
AnimeGitB
5aba7da7ef
Move command prefix stripping to ChatManager
2022-05-05 00:03:10 -07:00
AnimeGitB
82ec63c4e4
[WIP] Command Targeting overhaul
2022-05-05 00:03:10 -07:00
Angda Song
06983e9e84
Implement map marking features
...
Teleport still exists on fish hook mark.
Added mapMark-related protos.
Map marking data is stored in players collection.
2022-05-04 10:01:46 -07:00
86e6eef4e2
Support giftPackage BatchUse
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-03 02:29:04 -07:00
b253e779a2
Implement food heal function
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-02 22:02:11 -07:00
7b591a2da0
implement shopMail giftPackage function
...
Co-authored-by: Kinesis <CCasusensa@users.noreply.github.com>
2022-05-02 02:50:24 -07:00
Melledy
3169e87c60
Fix constellations that give an extra charge to skills
...
Fix #228
2022-04-30 19:34:50 -07:00
Kengxxiao
9133742eb0
fix companionship exp
...
my IDEA lint is not happy on my change
2022-04-28 06:50:37 -07:00
Melledy
8bf17a8bdc
Fixed genesis crystals not being given to player
2022-04-27 11:23:33 -07:00
Melledy
d1fc8c1faa
Moved some files around
2022-04-26 21:27:35 -07:00
Melledy
1c36f0785b
Renamed all references to a certain game
2022-04-26 21:27:35 -07:00
Yazawazi
748e64a60c
Moon Card
2022-04-27 06:04:21 +08:00
WetABQ
addfb5eb5d
[BREAKING CHANGE] proto auto compiled by gradle ( #226 )
...
* [BREAK] proto auto compiled by gradle
* [BREAK] move proto to submodule
* update gitmodules
* [BREAK] move proto to submodule
* move proto to submodule
* fix merge conflict
* fix github action after merging
* fix merge conflicts and del submodule
* upload the proto
2022-04-26 14:44:30 -07:00
Yazawazi
eb70904660
setfetterlevel command
2022-04-22 23:46:24 +08:00
Yazawazi
159b10af72
AvatarFetterLevel
2022-04-22 22:27:40 +08:00