1. 18 Oct, 2022 1 commit
    • natsu's avatar
      Extend give command "skill level" & shortening /talent all (#1865) · 2b087380
      natsu authored
      
      
      * Extend give command "talent"
      
      * Update src/main/java/emu/grasscutter/data/excels/AvatarSkillDepotData.java
      
      Shorten IntStream for getCombatSkills
      Co-authored-by: default avatarLuke H-W <Birdulon@users.noreply.github.com>
      
      * Fix setSkillLevel to work during avatar construction
      Shortening getCombatSkills
      
      * changeSkillLevel now acts as intermediate operation to fetch skillIds
      
      * setSkillLevel changes to allow out of range levels to be normalized
      
      * Update src/main/java/emu/grasscutter/command/commands/GiveCommand.java
      
      Removing recalcStats since it's redundant
      Co-authored-by: default avatarLuke H-W <Birdulon@users.noreply.github.com>
      
      * Major changes and cleanup:
      - AvatarSkillDepotData: removed getCombatSkills since it's unused
      - TalentCommand: shortened /talent all using getSkillsAndEnergySkill
      - GiveCommand: changed changeSkillLevel to setSkillLevel
      - Avatar: delete changeSkillLevel and moved the operation inside setSkillLevel,updated skillId to Integer to catch special cases from GiveCommand
      
      * Small cleanup:
      Removed the special case from Avatar to be handled inside of GiveCommand
      Co-authored-by: default avatarLuke H-W <Birdulon@users.noreply.github.com>
      2b087380
  2. 17 Oct, 2022 1 commit
  3. 13 Oct, 2022 1 commit
    • natsu's avatar
      Extend talent command "all" (#1850) · 95327248
      natsu authored
      
      
      * Extend talent command "all":
      Added talent option to set all talents (n, e, q) at once
      Modified error message to cover edge cases when player entered talent level lower than 1
      
      * Update src/main/java/emu/grasscutter/command/commands/TalentCommand.java
      
      some suggested changes
      Co-authored-by: default avatarLuke H-W <Birdulon@users.noreply.github.com>
      95327248
  4. 03 Oct, 2022 1 commit
  5. 28 Sep, 2022 1 commit
  6. 16 Sep, 2022 1 commit
    • Alexander Hartmann's avatar
      Extend spawn command (#1777) · 08f36195
      Alexander Hartmann authored
      
      
      * add missing EntityTypes
      
      * small command refactorings and improvements
      * move common command patterns and methods to CommandHelpers
      * let the spawn command detect the entityType instead of spawning every entity as EntityVehicle
      * add extra options for spawning gadgets for better debuging and testing
      
      * More spawn command additions and cleanups+EntityVehicle changes
      * Moved remaining patterns from GiveCommand and ClearCommand to CommandHelpers
      * Added patterns for hp, maxhp, atk, def and (monster)ai for the spawn command
      * Moved intParam parsing via regex to the CommandHelpers
      * Read most of EntityVehicle stats from the ConfigGadget instead of hardcoding them
      Co-authored-by: default avatarhartie95 <mail@hartie95.de>
      08f36195
  7. 05 Sep, 2022 1 commit
  8. 03 Sep, 2022 1 commit
  9. 02 Sep, 2022 1 commit
  10. 31 Aug, 2022 1 commit
  11. 27 Aug, 2022 1 commit
  12. 25 Aug, 2022 3 commits
  13. 24 Aug, 2022 2 commits
  14. 21 Aug, 2022 3 commits
  15. 19 Aug, 2022 2 commits
  16. 18 Aug, 2022 1 commit
  17. 11 Aug, 2022 1 commit
  18. 10 Aug, 2022 2 commits
    • GanyusLeftHorn's avatar
      Handle Unlocking of Waypoints and Statues (#1608) · 04f0fae8
      GanyusLeftHorn authored
      Original commits:
      
      * Add necessary protos for scene point/area unlocking.
      
      * Rename PlayerOpenStateManager to PlayerProgressManager and move data to Player.
      
      * Handle unlocking of waypoints.
      
      * Add primo rewards for waypoint unlock.
      
      * Statue unlocking.
      
      * Add statue quest on player login.
      
      * I forgor to add an unlock command.
      
      * Give EXP as reward, fire quest trigger, make EXP UI show up.
      04f0fae8
    • Magix's avatar
      Introduce a new arguments parser (#1629) · 3121e3e6
      Magix authored
      
      
      Original commits:
      
      * Clean-up
      
      * Introduce a new application arguments parser & handler
      
      * Clean-up and deprecate `Tools#getLanguageOption`
      
      * Fix `-debug` and `-debugall` parameters
      
      * found this while debugging, ...why
      
      * Remove deprecated parameters
      
      * Invoke startup argument parser before handbook generation
      
      * Move command map instantiation to `Grasscutter `(prevent making 3 instances on startup)
      
      * Ensure \n at EOF
      Co-authored-by: default avatarAnimeGitB <AnimeGitB@bigblueball.in>
      3121e3e6
  19. 09 Aug, 2022 1 commit
  20. 02 Aug, 2022 1 commit
  21. 28 Jul, 2022 2 commits
  22. 26 Jul, 2022 2 commits
    • AnimeGitB's avatar
      [Bug] New avatars always created with C0 constellation · 883b6f1f
      AnimeGitB authored
      Fixes #1552
      883b6f1f
    • lactose's avatar
      Set Constellation Command (#1565) · 59a412cc
      lactose authored
      Original commits:
      
      * create `SetConstCommand` class and translations
      
      * (partially) functional `setconst` command
      
      * fixed punctuation
      
      * added success message
      
      * implemented `SetConstCommand`
      
      * added translation keys
      
      * update keys
      
      * refactor + automatic reload
      
      * Nitpick (Co-authored-by: AnimeGitB <AnimeGitB@bigblueball.in>)
      59a412cc
  23. 24 Jul, 2022 2 commits
    • KingRainbow44's avatar
      Attempt to fix the `teleport` command. · 41ec2316
      KingRainbow44 authored
      41ec2316
    • GanyusLeftHorn's avatar
      Read Open States from Excels (#1557) · d0edd394
      GanyusLeftHorn authored
      * Make sure we never access PlayerOpenStateManager::map directly.
      
      * Read OpenStates from excels.
      
      * Add defaultState
      
      * Replace hardcoded open states with the ones read from excels.
      
      * Don't send change notify when unlocking on login.
      
      * Add open state blacklist for default unlocks.
      
      * Add a way to temporarily set open states for dev
      
      * Remove old OpenState.java
      
      * Fix UnlockAllCommand
      
      * Change condType to an enum.
      d0edd394
  24. 22 Jul, 2022 4 commits
  25. 21 Jul, 2022 3 commits