Commit Graph

54 Commits

Author SHA1 Message Date
Melledy
c35b2b965a Merge pull request #816 from Grasscutters/dev-quests
Implement quests
2022-05-13 05:36:30 -07:00
gentlespoon
b14affd6ee 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
Melledy
0df4a076d7 Merge branch 'development' into dev-quests 2022-05-12 02:31:28 -07:00
Yazawazi
401b80060e feature(widget): simple implementation of widget
Simple implementation of a part of the gadget support, very rough, hard code variables, I am very sorry for that. It can now handle part of the gadget rig. More features and better support await PRs from others. if no one else does, I'll give it a try.
2022-05-12 01:23:16 -07:00
gentlespoon
00a248725e Feature: vehicle stamina
1. Remove references.
2. Handle vehicle stamina.
2022-05-11 17:39:45 -07:00
Melledy
9351127fe1 Merge branch 'development' into dev-quests 2022-05-11 03:56:59 -07:00
Melledy
285405cee4 Implement quests 2022-05-11 03:56:40 -07:00
KingRainbow44
6894ab8aae Convert to the far superior config system 2022-05-11 00:30:07 -04:00
Melledy
6d1ef0d841 Implement AbilityManager 2022-05-08 06:05:50 -07:00
gentlespoon
8ddd7b125d Fix null reference on stamina timer when paused player disconnects. 2022-05-07 23:13:35 -07:00
gentlespoon
a7c1f85579 Make stamina consumption classes public so others can use. 2022-05-07 18:18:20 -07:00
gentlespoon
032db81e07 Stop stamina consumption on game pause 2022-05-07 18:18:20 -07:00
gentlespoon
090b00556b More reliable stamina calculation
by separately handling immediate one-time cost and cost over time.
2022-05-07 18:18:20 -07:00
gentlespoon
39816f8eeb 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
Melledy
bd7fb76b1d Fix crash on login if the player didnt have a TowerManager 2022-05-06 19:12:54 -07:00
Melledy
6d89477120 Merge pull request #594 from Akka0/tower
Tower Dungeons Handoff between levels
2022-05-06 13:37:30 -07:00
Kinesis
19a2c9b7ea Implement Avatar Expedition System
Co-Authored-By: ShigemoriHakura <62388797+ShigemoriHakura@users.noreply.github.com>
Co-Authored-By: KanyeWestc <104547412+KanyeWestc@users.noreply.github.com>
Co-Authored-By: QAQ 天小络 <72185326+XTL676@users.noreply.github.com>
Co-Authored-By: nkxingxh <25559053+nkxingxh@users.noreply.github.com>
Co-Authored-By: Yazawazi <47273265+Yazawazi@users.noreply.github.com>
Co-Authored-By: wuwuwu223 <81224214+wuwuwu223@users.noreply.github.com>
Co-Authored-By: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
Co-Authored-By: Sakura <104815797+Sakura@users.noreply.github.com>
Co-Authored-By: NewNeko-2022 <104819344+NewNeko-2022@users.noreply.github.com>
Co-Authored-By: JimWails <30657653+JimWails@users.noreply.github.com>
Co-Authored-By: buttercookies <19878609+ButterCookies@users.noreply.github.com>
2022-05-06 13:28:26 -07:00
Akka
321a2a3537 Merge branch 'tower' into development 2022-05-07 00:19:51 +08:00
Akka
6144f47127 Tower Dungeons Handoff between level and floor 2022-05-07 00:11:54 +08:00
gentlespoon
0102a3ce1e 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
39c932b041 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
Akka
696f629080 Choose Avatar & Enter Tower 2022-05-06 00:12:33 -07:00
gentlespoon
744aa478a9 Add drowning. Better movement ticking. 2022-05-05 23:42:34 -07:00
Akka
7d51e0deb5 Merge pull request #1 from Akka0/development
Updated
2022-05-06 14:16:44 +08:00
Akka
d32d4014cd Choose Avatar & Enter Tower 2022-05-06 14:10:23 +08:00
gentlespoon
18b1c50d0a 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
gentlespoon
94c1de66b9 SetPlayerPropReq Handler and player.setProperty() sanity check. 2022-05-05 00:03:42 -07:00
Angda Song
6943360f4a 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
Melledy
50a8db213d Fix damage number not showing up if it was the killing blow 2022-05-04 01:21:34 -07:00
Melledy
e7276a75d3 Fixed dungeon challenge scoreboard and implement dungeon drops
Also fixed a few dungeon script handlers
2022-05-03 23:24:43 -07:00
mingjun97
0adafd6076 Enable plugins to hook server message response
* Add message handler so that the plugin can hook inside the `dropMessage` method for `Player` instance.
2022-05-03 02:16:44 -07:00
Melledy
63c7f8d62d Move player mail to MailHandler class
This is so we dont have to save the entire player to the db every time we send mail
2022-05-02 02:01:01 -07:00
KingRainbow44
9902f39306 Merge remote-tracking branch 'origin/api' into api 2022-04-30 16:11:12 -04:00
KingRainbow44
e8d60c6edf Move join & quit to player event 2022-04-30 16:11:00 -04:00
Magix
a1a36dc7a7 Merge branch 'development' into api 2022-04-30 16:07:54 -04:00
KingRainbow44
a3e22dd7e1 Create player creation event & move join event to player 2022-04-30 16:07:12 -04:00
LDA
64930b9ba9 Implement viewing character details in character showcase 2022-04-30 10:49:45 -07:00
Melledy
bea9a76895 Optimize GetOnlinePlayerListRsp 2022-04-30 01:20:44 -07:00
KingRainbow44
7e4021889c Player events + mail receive event 2022-04-28 22:21:55 -04:00
KingRainbow44
f37ab46139 Player join & quit event 2022-04-28 22:12:41 -04:00
Kengxxiao
e85252fb14 shop improvement 2022-04-28 13:30:50 -07:00
Yazawazi
c2a159be13 Should be OK 2022-04-28 06:40:25 +08:00
Yazawazi
ba95637dd3 kill me plz 2022-04-28 03:46:24 +08:00
Yazawazi
a4cbf1a58e no headimage okay 2022-04-28 03:45:17 +08:00
Yazawazi
97086d7baa Headimage 2022-04-28 03:40:32 +08:00
Yazawazi
80aaa0d856 import 2022-04-28 03:31:36 +08:00
Yazawazi
3c3c884fc1 Player show avatar list 2022-04-28 03:21:51 +08:00
Melledy
fef0f2aff7 Fix co-op requests not showing up 2022-04-27 11:23:33 -07:00
Melledy
e34ab885a3 Fixed genesis crystals not being given to player 2022-04-27 11:23:33 -07:00
Yazawazi
411a6c0715 comment & mooncard 2022-04-27 08:42:48 -07:00