Melledy
243ad3abe5
Refactor accounts to not use a player uid
2022-05-27 00:22:55 -07:00
ProxyismGH
880d177034
TeamManager avatar add refactor.
2022-05-26 22:54:36 -07:00
ImmuState
b57cf83bbd
Some refactoring.
2022-05-26 03:41:19 -07:00
ImmuState
de8b0be36e
Introduce a simpler way to get the original owner of an EntityClientGadget
2022-05-26 03:41:19 -07:00
logictc
fa90e37da3
remove debug msg
2022-05-25 21:10:10 -07:00
logictc
baef25680f
change indentation to tab
2022-05-25 21:10:10 -07:00
logictc
c26bf08d90
fix indentation
2022-05-25 21:10:10 -07:00
logictc
95bc655882
implement skill particle generation
2022-05-25 21:10:10 -07:00
ImmuState
2a76e904ad
Energy: Particle/Orb Drops from Monsters ( #1054 )
...
* Generate energy drops for monsters + make sure picking up particles honors their count.
* Use drop info from excels instead.
* Remove double newline.
* Remove commented code.
2022-05-24 21:43:04 -07:00
logictc
5811556630
don't take effect if energyUsage is false
2022-05-24 14:43:02 -07:00
logictc
af381dcf42
clear energy on death
2022-05-24 14:43:02 -07:00
logictc
e0593554b6
implement persist energy
2022-05-24 14:43:02 -07:00
ShiroSaki
c8a7aea78b
Fix new account can't load codex datas
2022-05-23 23:55:46 -07:00
ShigemoriHakura
9e8b6eff09
remove unused import
2022-05-23 15:46:21 -07:00
ShiroSaki
fef5c06a29
Fix the bug that can't kill command-generated monsters
...
Command-generated monsters do not have spawnentry so we have to get data from getMonsterData
2022-05-23 15:46:21 -07:00
ShiroSaki
2b799958d2
Refactor support for codex(aka archive) animal, weapon, reliquary
2022-05-23 02:46:50 -07:00
ImmuState
922ae91771
Fix EnergyManager indentation.
2022-05-22 12:55:55 -07:00
ImmuState
ab1341f0d9
Make sure offFieldPenalty does not go below 0.1
2022-05-22 12:55:55 -07:00
ImmuState
88781fdd82
Remove debug stuff
2022-05-22 12:55:55 -07:00
ImmuState
4649680101
Fix traveller not being able to gain energy.
2022-05-22 12:55:55 -07:00
ImmuState
28323fed66
Move energy-related logic to a new EnergyManager.
2022-05-22 12:55:55 -07:00
ImmuState
1d2fde40d5
Make energy usage configurable, and preserve current behavior as the default.
2022-05-22 12:55:55 -07:00
ImmuState
531683f370
Make sure to use absolute energy to deplete burst.
2022-05-22 12:55:55 -07:00
ImmuState
8f5bd2f220
Give correct amount of energy for collecting particles/orbs, and consume energy on burst cast.
2022-05-22 12:55:55 -07:00
ImmuState
1df9acbb6a
Generate energy particle of the correct element for abilities.
2022-05-22 12:55:55 -07:00
Няшик Няшный
e6514f7ad1
Added banner start and end time checks
2022-05-20 05:51:44 -07:00
Няшик Няшный
1662278586
Changing how banners work
2022-05-20 05:51:44 -07:00
4Benj_
f473e44611
"Autogenerate" data files with data fallbacks and moved keys folder into jar resources ( #927 )
...
* Autogenerate keys and data files
* Update gacha html files
Accidentally pushed with old html files
* Keys no longer copied. No more manually retrieving listing files. Recursive directory creation
Removed unused code from old GC as well.
* Moved somethings and better errors
* Fixed resources from loading twice
* Data files fallback
2022-05-17 03:00:52 -07:00
1adffc21c0
Enhance the default permissions logic
2022-05-16 21:55:47 -07:00
line-bear
87966b9e98
Remove the extra slash while loading resources. ( #893 )
...
* Remove the extra slash
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Update src/main/java/emu/grasscutter/Configuration.java
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
* Import java.nio.file.Paths to use Paths.get
* Mark fields as private to prevent use *FOLDER directly
* Remove unnecessary slash
Co-authored-by: HotaruYS <105128850+HotaruYS@users.noreply.github.com>
2022-05-15 23:32:03 -07:00
Melledy
eb64b25f12
Implement quest rewards
2022-05-15 03:48:47 -07:00
muhammadeko
05e13d81ad
Modify chat manager to give plugin ability to change it
2022-05-14 23:27:36 -07:00
tiantian520
5b3c05a9a0
Add a new command "nostamina" ( #877 )
...
* Add a new command " nostamina\
* Fix
* Fix 2
* Renamed some names.
* Update zh-CN.json
Fix an existing language expression error.
2022-05-14 16:06:48 -07:00
KingRainbow44
2e7cd0b46f
Fix errors
2022-05-14 12:10:43 -04:00
KingRainbow44
a2ff8c8470
Merge development
into plugin-auth
2022-05-14 12:08:33 -04:00
Melledy
a751e71da9
Merge branch 'development' of https://github.com/Grasscutters/Grasscutter into development
2022-05-14 06:35:37 -07:00
muhammadeko
4f553f6694
remove log
2022-05-13 22:12:07 -07:00
muhammadeko
855a098aa7
fix logic and some cleaning
2022-05-13 22:12:07 -07:00
muhammadeko
922359d6e6
add negative permission check
2022-05-13 22:12:07 -07:00
KingRainbow44
3adf0d448c
Refactor dispatch (now called HTTP) server (pt. 2)
2022-05-13 23:22:30 -04:00
Melledy
248b655f07
Use scene types instead of hardcoding scene ids for checking enter reason
2022-05-13 16:35:03 -07:00
ShigemoriHakura
749ef3ff23
Add support for codexQuests ( #870 )
2022-05-13 16:33:07 -07:00
Yazawazi
ab6aa96144
fix(serenitea pot): teleport & read born pos from lua
2022-05-13 16:32:52 -07:00
Yazawazi
95a062123f
feature(serenitea pot): Implementation of enter
...
Ugly hard code
2022-05-13 16:32:52 -07:00
Melledy
83f8bec947
Implement QUEST_CONTENT_FINISH_PLOT
2022-05-13 06:33:12 -07:00
Melledy
a227b44c70
Fixed quests not finishing their questline
2022-05-13 06:24:50 -07:00
Melledy
f4770cf20a
Merge pull request #816 from Grasscutters/dev-quests
...
Implement quests
2022-05-13 05:36:30 -07:00
AnimeGitB
420801b49e
Updated cost logic and default weights
2022-05-13 05:34:14 -07:00
AnimeGitB
736ca85300
Remove debug log from gacha
2022-05-13 05:34:14 -07:00
AnimeGitB
83c46cb9c8
Custom costs for different gacha pulls
2022-05-13 05:34:14 -07:00
AnimeGitB
f83f13204e
Gacha rework
...
Add fallback stripping and C6 stripping
Converting banner definitions from pity vars to lerp arrays
Properly implement rates and pool smoothing
Also move reusable functions to Utils
2022-05-13 05:34:14 -07:00
Melledy
cbd46e9215
Add one more quest trigger
2022-05-13 05:33:43 -07:00
Melledy
631a53030c
Switch to using quest excels
2022-05-13 03:12:25 -07:00
Akka
00ea35b81f
add docs for tower
2022-05-12 14:54:44 -07:00
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
Melledy
9b26426e8a
Merge branch 'development' into dev-quests
2022-05-12 02:31:28 -07:00
Melledy
1231802192
Implement basic quest condition handling
...
Quests that require talking to npcs now work.
2022-05-12 02:30:34 -07:00
Yazawazi
8c32438b52
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
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
AnimeGitB
595234cc84
Add Inventory.payItems() method
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
Melledy
5d4f245293
Merge branch 'development' into dev-quests
2022-05-11 12:39:28 -07:00
ImmuState
57c7f7a43b
Add gacha details page.
2022-05-11 12:02:45 -07:00
Melledy
51844b6535
Merge branch 'development' into dev-quests
2022-05-11 03:56:59 -07:00
Melledy
e9d7d5d5f2
Implement quests
2022-05-11 03:56:40 -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
Secretboy
ecf028d0c6
add /language command ( #780 )
...
* Fix the following issues:
1. HashMap non-thread-safe issus
2. Fix the same problem in pr621, but use a better implementation
Add the following functions:
1. There is now a language cache inside getLanguage to prepare for different languages corresponding to different time zones where the accounts in the server are located
* add /language command,each account has their own Locate
2022-05-10 05:33:45 -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
Akka
2e69a4d8f7
Merge remote-tracking branch 'origin/development' into tower
2022-05-10 00:07:10 +08:00
Akka
faa3cde575
fix the Monster spawn between stage challenges
2022-05-10 00:05:01 +08: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
Melledy
f0aa8c2c53
Merge pull request #718 from Akka0/tower
...
Support Team Toggle in Tower & Refactor MonsterTide
2022-05-09 01:15:02 -07:00
AnimeGitB
f08a89711c
Account permission wildcards
2022-05-09 01:12:47 -07:00
Akka
47ea466054
Merge remote-tracking branch 'origin/development' into tower
2022-05-09 15:43:52 +08:00
Akka
65c93a747c
Support Team Toggle in Tower & Refactor MonsterTide
2022-05-09 15:39:49 +08:00
Akka
9fc4b916c8
Persist Tower Data && Set The Tower Schedule
2022-05-08 06:06:32 -07:00
Melledy
55389d3a5c
Optimize invoke packet handling
2022-05-08 06:05:50 -07:00
Melledy
2dfdc62743
Implement energy balls (orbs)
2022-05-08 06:05:50 -07:00
Melledy
897f082b12
Implement AbilityManager
2022-05-08 06:05:50 -07:00
Akka
219a850818
Merge remote-tracking branch 'origin/development' into tower
2022-05-08 20:56:50 +08: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
Akka
4b6842f006
Persist Tower Data && Set The Tower Schedule
2022-05-08 17:11:02 +08:00
gentlespoon
94a6a79b4a
Fix null reference on stamina timer when paused player disconnects.
2022-05-07 23:13:35 -07:00
Akka
eb94adb296
Monsters tide turn by turn && Ban User Skill && Lua functions
2022-05-07 18:18:27 -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