Akka
557298f847
a little fix
2022-06-17 18:15:49 -07:00
Akka
2d461641f1
a little fix
2022-06-17 18:15:49 -07:00
Akka
247412b17e
fix the rot of furniture
2022-06-17 18:15:49 -07:00
Akka
211d7d6fbf
implement furniture make system
2022-06-17 18:15:49 -07:00
Akka
7a247e70e0
npc/animals arrangement & support enter room scene
2022-06-17 18:15:49 -07:00
Akka
e16633e34b
Implement the Home System (Serenitea Pot)
2022-06-17 18:15:49 -07:00
Melledy
359e83596c
Refactor gacha banner proto creation to not do a lookup on the database
2022-06-16 08:18:24 -07:00
CamChua_VN
2624f48a84
Update Epitomized Path ( #1254 )
...
* Update Epitomized Path
* Update Epitomized Path
* Update Epitomized Path
* Refactor doRarePull
* Update Epitomized Path
Co-authored-by: AnimeGitUserB <AnimeGitUserB@bigblueball.in>
2022-06-16 08:01:27 -07:00
Melledy
6d59159b8b
Cleanup package names
2022-06-16 07:57:57 -07:00
Melledy
ac49114c45
Add embryos for all skill depots for the main characters
2022-06-16 07:54:53 -07:00
Paimon2022
37230d1274
Fix issue: skill recovery value of a character should benefit from his/her own property,
...
not the character he/she treats.
2022-06-15 23:10:17 -07:00
ImmuState
ebab89d433
Don't show internal server error on gacha with full inventory.
2022-06-14 18:09:02 -07:00
ImmuState
e0d386105a
Only send full clear notification on burst cast.
2022-06-14 18:08:55 -07:00
ImmuState
0db1472195
Adapt protocol for clearing energy.
2022-06-14 18:08:55 -07:00
saucebing
458aadc2ff
fix healing ability of some characters to some extent ( #1201 )
...
* fix healing ability of some characters to some extent
* using SerialName to replace replaceAll in avatar ability files reading
* add class HealAbilityManager
* move codes in onAbilityInvoke of class AbilityManager to class HealAbilityManager
2022-06-14 04:36:53 -07:00
ImmuState
6e955c9fdb
Implement Resin ( #1257 )
...
* Basic resin usage/refresh.
* Honor resin config, move some logic to logon.
* Add resin usage to DungeonChallenge
* Make fragile and transient resin usable.
* Get resin cost from dungeon excel.
* Add ability to unlock combine diagrams.
* Refactor CombineManager to use Inventory.payItems, enabling crafting of condensed resin.
* Refactor ForgingManager to use Inventory.payItems, to prepare for eventually forging Mystic Enhancement Ores using resin.
* Remove comment
* Check resin usage in addResin
2022-06-14 01:14:15 -07:00
zhaodice
db039cc35b
make sure towerData is not null ( #1240 )
...
* make sure towerData is not null
* Update Player.java
* add notice
2022-06-11 04:34:25 -07:00
zhaodice
052e70e488
Fix inconformity of Player Object at TowerManager ( #1226 )
...
* Fix inconformity of Player Object at TowerManager
Fix inconformity of Player Object at TowerManager class from GameSession
* fix with a reasonable resolution
* Make sure towerManager'player is online player
* Make sure towerManager'player is online player
* Obsolete storage
* Fix build
* fix build
* fix build
* add @Entity
* set record map
* replace tab with space
* add Entity to TowerData
* make infomater more accurate
* move player register to onLogin
2022-06-09 13:38:53 -07:00
ImmuState
a8d972c0c0
Make UI for blueprint unlocking behave.
2022-06-08 05:43:38 -07:00
ImmuState
4309e96253
Make calculation for partial claims better.
2022-06-08 05:43:38 -07:00
ImmuState
443cc8fc4b
Make the UI behave.
2022-06-08 05:43:38 -07:00
ImmuState
9a313e50eb
Send periodic notifications to the client for ongoing forges.
2022-06-08 05:43:38 -07:00
ImmuState
4b77e84e81
Add ForgeQueueDataNotify, unwhack UI.
2022-06-08 05:43:38 -07:00
ImmuState
0e1c8dc526
Cancel forging and refund items.
2022-06-08 05:43:38 -07:00
ImmuState
0cc4bad18c
Obtain forging results (UI is broken though).
2022-06-08 05:43:38 -07:00
ImmuState
28a8475cea
Consume material.
2022-06-08 05:43:38 -07:00
ImmuState
a668bd6ec1
Check materials and mora
2022-06-08 05:43:38 -07:00
ImmuState
5db5c90a8b
Start a new forge (no checking for now).
2022-06-08 05:43:38 -07:00
ImmuState
9d6bc2a910
Change active forges in player to list.
2022-06-08 05:43:38 -07:00
ImmuState
8db0500e9d
Add missing forging protos, add data for ongoing forges to player, handler for ForgeStartReq.
2022-06-08 05:43:38 -07:00
ImmuState
3fc63c2c4b
Move forging stuff to ForgingManager, make client respond to ForgeGetQueueDataReq and actually display forging queues.
2022-06-08 05:43:38 -07:00
zhaodice
ecf7a81ad1
Fix unable to save game data occasionally ( #1194 )
...
* Fix unable to save game data occasionally
* No self-kicking
* Game data synchronization
* finally
* prevent duplicated saving
* reverse changing
* keep the previous code
* Update GameServerInitializer.java
* Update GameSession.java
* remove sanity check because of try block
* a session needs can be created without a pipeline.
2022-06-05 04:23:19 -07:00
liizfq
934fb5873a
add new command (unlimitenergy):toggle energyusage for each player ( #1186 )
...
* add new command (unlimitenergy):toggle energyusage for each player while energyusage is ture in config.json
* Solve the problem of layout and naming errors
* make currentActiveTeam's Avatar full-energy while turn on the ule.
* Resolve language document errors
* add config_error message while player try to execute UnlimitEnergyCommand in GAME_OPTIONS.energyUsage == false
2022-06-04 19:14:52 -07:00
Paimon2022
a19e7c6db6
Spawn default monsters with different levels according to data/Spawns.json when worldLevelOverride is not zero.
...
For example, in world with worldlevel 8, base monster level is 90 according to resources/ExcelBinOutput/WorldLevelExcelConfigData.json,
monster level bias in data/Spawns.json belongs to [1,32], so the monster level would belong to [69, 100].
2022-06-03 03:20:07 -07:00
zhaodice
73a1c5762a
skipping right characters panel for Android
2022-06-03 02:42:17 -07:00
ImmuState
e140284d37
Persist unlocked blueprints to the database.
2022-06-03 00:52:22 -07:00
ImmuState
f243c10157
Unlock forging blueprints.
2022-06-03 00:52:22 -07:00
zhaodice
01481fd524
Arresting small creature support ( #1150 )
...
* Arresting small creature support
* add InsectCaptureManager
* use EnvAnimalGatherExcelConfigData.json
* Update InsectCaptureManager.java
2022-06-03 00:51:51 -07:00
line-bear
28b505e187
Fix stuck when talking to npc seller ( #1128 )
...
* Fix zero length array check method
* Import grasscutter logger
2022-05-31 02:42:16 -07:00
ImmuState
2e167d2d78
Add energy generation probabilities to WeaponType.
2022-05-30 20:06:25 -07:00
Melledy
ef6e16aaf5
Refactor WeaponType and MonsterType into enums
2022-05-30 20:06:25 -07:00
ImmuState
b9ca4a5dbd
Make NA/CA energy not scale with ER.
2022-05-30 20:06:25 -07:00
ImmuState
635e342a3d
Make sure the hit target is actually a monster.
2022-05-30 20:06:25 -07:00
ImmuState
febdb99855
Add a rough implementation for NA/CA energy generation.
2022-05-30 20:06:25 -07:00
linebear
18df521347
Fix enter tower dungeons
2022-05-30 20:06:25 -07:00
Melledy
0ba13ef7ff
Fix map mark issues from updating from 2.6
...
Close #1086
2022-05-30 20:06:25 -07:00
Melledy
a23b29b65a
Rename excel classes
2022-05-30 20:06:25 -07:00
Yazawazi
f139818224
[Anime Game Version update] Support 2.7 ( #1072 )
...
* feature(2.7 version): support 2.7 version & upload new protos
1. Support GC in GI 2.7.0;
2. Upload new protos;
3. Fix some bugs cuz by new protos.
BREAKING CHANGE: all
* fix(database helper): fix player uid issues
* fix(ability embryo): uint32 to fixed32
* fix(proto): map mark
rename MAP_MARK_FROM_TYPE_NOE to MAP_MARK_FROM_TYPE_NONE
* fix(game version): change game version to 2.7.0
* perf(proto): remove unused protos
1. Remove unused protos;
2. Temporarily commented out some of the proto fields.
* fix(proto): uint32 to fixed32
2022-05-30 20:06:25 -07:00
zhaodice
a95002fd40
Hunting and deforestation support. ( #1083 )
...
* add drops for animals wild pig,fishes,foxes,birds
* append fox
* Deforestation Support
implement drop woods when attacking tree
* Deforestation support (remove prints)
implement drop woods when attacking tree
* Deforestation support (remove prints)
implement drop woods when attacking tree
* add AutoRecycleHashMap
Map's KEY is automatic expire if key long time no use (query or modify from HashMap)
* use AutoRecycleHashMap in case of memory leak
* fix bug
* remove prints
* static AutoRecycleHashMap
* fix problems
* Delete AutoRecycleHashMap.java
* remove log
* fix build
* improve
* remove unnecessary information
Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
Co-authored-by: Albedo <105265570+arub3do@users.noreply.github.com>
2022-05-29 06:16:49 -07:00
ImmuState
cb3f3b92f5
Make sure energy drops are only processed for actual monsters.
2022-05-27 23:48:54 -07:00
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
Akka
5a3e9bc34e
Fixed excessive memory usage of Spatial Index
2022-05-25 00:42:52 -07:00
Akka
d95708ec03
Support spawn NPC
2022-05-24 21:43:51 -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
Akka
5a4a708931
remove unused imports
2022-05-23 15:46:17 -07:00
Akka
791b9534b7
refactor the challenge
2022-05-23 15:46:17 -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
Akka
717c2d1dd7
Support Boss Chest
2022-05-19 23:36:13 -07:00
Melledy
8c860308ba
Fix bad casting exceptions with scene garbages objects
2022-05-19 02:28:25 -07:00
Melledy
0dac404f0d
Fix issue with groups that dont have any suites
2022-05-19 02:19:18 -07:00
Melledy
cd77fb90a3
Move gadget/monster creation events to after they are spawned in scene
2022-05-19 00:36:38 -07:00
Akka
bad853573c
optimized the Lua func binding so that the script will not eval again
2022-05-18 20:51:39 -07:00
Melledy
a8f38ad995
Move chest rewards to new data format
2022-05-18 15:54:55 -07:00
Melledy
fe4e599014
Merge branch 'development' into dev-world-scripts
2022-05-18 15:54:35 -07:00
Melledy
3cffdd9773
Cleanup and remove business_type filter
2022-05-18 05:33:00 -07:00
Melledy
4b5f5b3db5
Only load groups that have a business type of 0
2022-05-18 05:10:45 -07:00
Melledy
b375881a3e
Fix errors caused by merge + Refactor chests into GadgetChest
2022-05-18 02:36:50 -07:00
Melledy
94997276db
Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into dev-world-scripts
2022-05-18 02:24:00 -07:00
Melledy
a48585d124
Implement local specialty spawning
2022-05-18 02:21:34 -07:00
Akka
5f13a51668
Support Open Chest
2022-05-18 01:07:06 -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
Melledy
81183db104
Merge branch 'development' into dev-world-scripts
2022-05-16 22:08:28 -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
Akka
18ef5ee7de
fix the dynamic group loading
2022-05-15 12:40:36 -07:00
Akka
6dc30e4def
Enable script in big world ( #884 )
...
* add docs for tower
* fix: LEAK: ByteBuf.release() was not called
* enableScriptInBigWorld
* not print log when loaded scripts from cache
* revert the change of server tick
* revert the change of server tick
* fix
* optimize the performance: lazy load & cache
* fix the refresh group
* fix NPE
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-15 04:19:24 -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
HotaruYS
ab5131e9fd
Respect FrontHTTPS when creating URI for gacha record
2022-05-07 14:54:15 -07:00
Akka
39e8f810d2
Merge pull request #5 from Grasscutters/development
...
Development
2022-05-07 21:49:22 +08:00
Akka
6148ee8742
Monsters tide turn by turn && Ban User Skill && Lua functions
2022-05-07 21:47:13 +08: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
Melledy
f894b96edf
Fix crash on login if the player didnt have a TowerManager
2022-05-06 19:12:54 -07:00
Magix
38fd7bb76a
Merge pull request #567 from Grasscutters/localization
...
Implement a proper language system
2022-05-06 21:05:29 -04:00
KingRainbow44
0d7f58fc25
Merge development
into localization
2022-05-06 19:40:32 -04: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
Melledy
ad84635540
Merge pull request #594 from Akka0/tower
...
Tower Dungeons Handoff between levels
2022-05-06 13:37:30 -07:00
Kinesis
8abd3ace6c
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
f2231349bd
a little fix
2022-05-07 00:31:48 +08:00
Akka
c2d2a37fc5
Merge branch 'tower' into development
2022-05-07 00:19:51 +08:00
Akka
b58bcda0c8
Tower Dungeons Handoff between level and floor
2022-05-07 00:11:54 +08: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
Melledy
b760fb1b26
Fix morphia error when saving player to db
2022-05-06 01:19:39 -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
Akka
2ad6f5934b
Add @Transient for temporary team
2022-05-06 00:12:33 -07:00
Akka
c912b8d857
Choose Avatar & Enter Tower
2022-05-06 00:12:33 -07:00
Akka
f683b222fc
Add @Transient for temporary team
2022-05-06 14:46:10 +08:00
gentlespoon
93b3265d72
Add drowning. Better movement ticking.
2022-05-05 23:42:34 -07:00
Akka
833ea1b791
Merge pull request #1 from Akka0/development
...
Updated
2022-05-06 14:16:44 +08:00
Akka
3d3f36cf56
Choose Avatar & Enter Tower
2022-05-06 14:10:23 +08:00
KingRainbow44
c0b1ec1b9e
Convert to the superior language system. (pt. 2)
2022-05-06 00:57:45 -04: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
gentlespoon
5c275c2e3c
SetPlayerPropReq Handler and player.setProperty() sanity check.
2022-05-05 00:03:42 -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
Akka
48d1e026ef
Add Support of Item Combine ( #513 )
...
* Add Support of Item Combine
* Add Support of Item Combine
Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-04 10:06:13 -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
EtherealAO
5e0e65123e
Dungeon challenge success/fail notify should only be triggered once (when server spawned mob more than score)
2022-05-04 01:48:56 -07:00
Melledy
3d52964112
Fix equip swapping
2022-05-04 01:45:41 -07:00
Melledy
787f3fd45e
Fix damage number not showing up if it was the killing blow
2022-05-04 01:21:34 -07:00
Melledy
1b97b4afa0
Fixed dungeon challenge scoreboard and implement dungeon drops
...
Also fixed a few dungeon script handlers
2022-05-03 23:24:43 -07:00
Melledy
ae31e4fd98
Weapons/artifacts should not have a count of more than 1
2022-05-03 23:24:18 -07:00
86e6eef4e2
Support giftPackage BatchUse
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-03 02:29:04 -07:00
Melledy
a93d7c579f
Fix extra skill charges being removed if you teleport
...
Close #404
2022-05-03 02:27:18 -07:00
Melledy
7395a268ef
Fix mail not sending to offline players
2022-05-03 02:27:18 -07:00
mingjun97
0421d912fd
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
b253e779a2
Implement food heal function
...
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-02 22:02:11 -07:00
dogdie233
16f77ee520
Add EnterDungeonCmd, fix error when enter dungeon by changescene, import spawn cmd
2022-05-02 10:50:08 -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
fba26d2da9
Fix gacha rate for weapons
2022-05-02 02:01:24 -07:00
Melledy
19396a63c7
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
afa8fb7a51
Merge remote-tracking branch 'origin/development' into development
2022-05-01 20:15:27 -04:00
mingjun97
98122f3c55
Implement gacha history record subsystem
...
* Frontend is not very beautiful yet
* Didn't include too much `some anime game` data in the page to avoid being DMCA'd
2022-05-01 13:47:17 -07:00
4Benj_
0d262e2d07
Cleaned up dispatch iOS fixes ( #396 )
...
* Attempting to fix crashing on iOS devices
plus I forgot a thing in string.format
* Removed unnecessary things
2022-04-30 23:31:39 -07:00
KingRainbow44
72b5ec210c
Merge remote-tracking branch 'origin/development' into development
2022-05-01 02:14:35 -04:00
Melledy
3169e87c60
Fix constellations that give an extra charge to skills
...
Fix #228
2022-04-30 19:34:50 -07:00
KingRainbow44
e898384532
QoL changes
2022-04-30 21:52:30 -04:00
KingRainbow44
86b8f4549f
Merge remote-tracking branch 'origin/api' into api
2022-04-30 16:11:12 -04:00
KingRainbow44
b5c277234c
Move join & quit to player event
2022-04-30 16:11:00 -04:00
Magix
63d41fd79e
Merge branch 'development' into api
2022-04-30 16:07:54 -04:00
KingRainbow44
f73a713fac
Create player creation event & move join event to player
2022-04-30 16:07:12 -04:00
LDA
d133e55666
Implement viewing character details in character showcase
2022-04-30 10:49:45 -07:00
Aru
d6fa05915f
Monsters should drop items in world ( #373 )
...
* Monsters should drop items in world
fix the typo introduced in f1934c3a47
* Determine whether in dungeon scene
2022-04-30 13:18:09 +02:00
lhhxxxxx
eef216aea8
Update Account.hasPermission()
...
Add wildcard characters to permission nodes under the same namespace. (simple implementation)
2022-04-30 01:30:38 -07:00
Melledy
286ab545e9
Monsters should not drop items inside dungeons
2022-04-30 01:20:44 -07:00
Melledy
7e377dff59
Implement script region check
2022-04-30 01:20:44 -07:00
Melledy
f8f4d89cd0
Optimize GetOnlinePlayerListRsp
2022-04-30 01:20:44 -07:00
Melledy
66c2743d6e
Update how scene/dungeon map points are handled
2022-04-30 01:20:44 -07:00
KingRainbow44
4db1724d06
Merge branch 'development' into api
...
# Conflicts:
# src/main/java/emu/grasscutter/Grasscutter.java
2022-04-29 19:31:33 -04:00
lilmayofuksu
59ff79e23a
Limit the amount of vehicles that a player can spawn ( #340 )
2022-04-29 21:01:07 +02:00
赤座あかり
79165aa402
Add command to get reliquary with specific props ( #300 )
2022-04-29 16:31:22 +02:00
Melledy
6d98743025
Prevent console error spam when attacking gadgets
2022-04-29 03:33:14 -07:00
Melledy
d877d7eebc
Remove player from challenge if they are leaving the scene
2022-04-29 03:24:36 -07:00
Melledy
cb15a5dec9
Deregister scenes if no one is in them instead of deregistering when no entities are in them
2022-04-29 03:09:17 -07:00
Melledy
ae3d9a4dc1
Add a few more functions for the script engine to call
2022-04-29 02:38:25 -07:00
Melledy
1a5d4cf466
Implement lazy loading of scripts when they enter a new block
2022-04-29 02:07:25 -07:00
Melledy
14b6d3ce55
Fix monster levels in dungeons
2022-04-29 01:03:16 -07:00
Melledy
72e9a21ce3
Allow the player to finish dungeons
2022-04-29 00:49:05 -07:00
Melledy
8ab2b446cd
Clean script events
2022-04-29 00:00:23 -07:00
Melledy
30886da0ad
Fix compile error caused by merge
2022-04-28 23:09:07 -07:00
Melledy
60cfa40d7f
Merge branch 'development' into dungeon-scripts
2022-04-28 22:21:26 -07:00
Melledy
d71b7abfc3
Implement script support needed for dungeons
...
Only a few are supported right now
You will need certain script files in ./resources/Scripts
2022-04-28 22:19:14 -07:00
KingRainbow44
d359e5111a
Player events + mail receive event
2022-04-28 22:21:55 -04:00