]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fix: spellbooks can have charges ≠ 3 (#38769)
authorPerry Fraser <perryprog@users.noreply.github.com>
Wed, 20 Aug 2025 22:47:31 +0000 (18:47 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Aug 2025 22:47:31 +0000 (15:47 -0700)
commit9b8fa1af6f126cfa962e31d481accd03fafceb16
tree817dd0a7b79cdbff56dabc6d608ffc1f2b2644d7
parentdd74bfc083052bace7eaee20f04c0d9aa68f9faa
fix: spellbooks can have charges ≠ 3 (#38769)

* fix: spellbooks can have charges ≠ 3

* refactor: just make setting MaxCharges an api thing

* refactor: don't auto-add LimitedCharges

* Small stuff

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Content.Shared/Charges/Components/LimitedChargesComponent.cs
Content.Shared/Charges/Systems/SharedChargesSystem.cs
Content.Shared/Magic/SpellbookSystem.cs