]> git.smokeofanarchy.ru Git - space-station-14.git/commit
fix: spellbooks can have infinite charges (#38376)
authorPerry Fraser <perryprog@users.noreply.github.com>
Sat, 5 Jul 2025 06:28:56 +0000 (02:28 -0400)
committerGitHub <noreply@github.com>
Sat, 5 Jul 2025 06:28:56 +0000 (23:28 -0700)
commit6cefc412a3d9f7f064ddd49e2d6dc66bfee87d71
treec91852a4c8a3338f2afcd02d3926787591005650
parent78e8d98137f7f362cb396700be802a9023ec50a7
fix: spellbooks can have infinite charges (#38376)

* fix: spellbooks can have infinite charges

* refactor: indicate infinite spellbook charges with null

Not sure if I like this much better...
Content.Shared/Magic/Components/SpellbookComponent.cs
Content.Shared/Magic/SpellbookSystem.cs
Resources/Prototypes/Entities/Objects/Magic/books.yml