-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Levelup City Implementation #2281
Levelup City Implementation #2281
Conversation
hmm have you tried this on the old account? (after Implementation) because it doesn't seem to be able to handle the null get data
set data
|
Shouldn't this be using CityLevelupConfigData.json? Looking at your new excel it appears you've at least looked over the original, I believe it would make more sense to use existing resources instead of creating something new that won't exist in future dumps, and also keeps it backwards compatible with all earlier versions and resources. One other thing is that while this is adding the stamina, it's not adding the correct value of stamina. The player property MAX_STAMINA starts at 10000 (100 stamina) with max 24000 (240 stamina). You're adding the in-game stamina value of 8, which gives the user no actual new stamina. You need to add 800 to MAX_STAMINA property (8 stamina) to match values with the in-game stamina shown. Then last is old accounts will null pointer with the manager, probably need a check for that. |
Oh, this happened on the old account so I'll fix it soon |
btw in |
I've looked in resources but can't find data related to the costItems of each city upgrade level. So I simulated WeaponPromoteExcelConfigData.json . With costItems based on the original game and reward information taken from RewardExcelConfigData.json. If you have any other way to save, please suggest me. About MAX_STAMINA, I thought the stamina base was 100, and 10000 was due to the unlimited stamina hack so I didn't pay attention to this problem. haha. I will fix it soon. |
In CityLevelupConfigData.json, consumeItem is the item taken ("costItem" equivalent), and it includes amount. Example here for level 2 (as first level is given by default) where the item being consumed has id included and 1 is needed.
|
src/main/java/emu/grasscutter/data/excels/StatuePromoteData.java
Outdated
Show resolved
Hide resolved
…ata to player class
Description
See #2267.
Levelup City Implementation.
requires placing the StatuePromoteExcel.json file in /resources/ExcelBinOutput
Issues fixed by this PR
Fix level Statue of the Seven always shows 1.
Type of changes
Checklist: