Noita
269 ratings
Unlimited Spells
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
421.000 B
15 May, 2020 @ 1:26pm
12 Sep, 2023 @ 4:33pm
7 Change Notes ( view )

Subscribe to download
Unlimited Spells

Description
Removes the cast limit on all spells (like Bomb, Earthquake, etc...)

Thanks to Conga Lyne's comment this mod now only modifies the two lines in gun.lua that it needs to and should be compatible with other mods.

This should work with any spells, the mod stops the game from checking the number of spell uses at all. It is not very balanced obviously.



I thought the preview image would be stretched to fit but that is not what happens it seems and I don't want to remake it.

If you want unlimited mana as well as no cast limits then use my mod "Unlimited Power" instead (Unlimited Power is not compatible with Unlimited Spells, use one or the other). https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2102506229

If you want to be invincible then get my mod "God Mode". https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2194781427
33 Comments
󠀡󠀡 20 Apr, 2024 @ 6:10am 
not compat with apotheosis still
Conga Lyne 16 Sep, 2023 @ 7:28pm 
Hmm, a better workaround might be to do a late append to gun_actions.lua and set every entry of max_uses to -1, this will make every spell infinite while still maintaining variables in the gun system some spells may expect to exist.

I've had some spells break because of the missing gun.lua data and I could imagine a few other modded spells which expect the charges data to be there to break as well.
TheBird  [author] 16 Sep, 2023 @ 4:24am 
@Conga Lyne I tried doing that but no luck, placing my changes at the end of the file like Apotheosis does didn't work either. I think there is a way to alter another mod's files so I will look for another mod that does that to see how it is done after I figure out how to change the Apotheosis function without breaking mana usage.

It is after 4 AM my time so I can't do any more on it for now, I should have time this next week to look at it some more.
Wandering Stars 16 Sep, 2023 @ 4:10am 
alright, for the time being ill just use the perk, which only partially gives infinite spells
Conga Lyne 16 Sep, 2023 @ 4:10am 
@TheBird you *might* be able to fix it by running the gun.lua changes later into the initialization process, as Apotheosis runs it outside of any functions
TheBird  [author] 16 Sep, 2023 @ 3:41am 
That makes sense, thanks for the clarification. This compatibility issue is because of something Apotheosis does but not to block stuff or nerf things. It seems to be in there for a good reason and I think I just need to look through their mod some more to figure it out.
Wandering Stars 16 Sep, 2023 @ 3:37am 
oh, as in an apotheosis moment i meant that apotheosis nerfed something, which resulted in this mod not working together with it.
TheBird  [author] 16 Sep, 2023 @ 3:35am 
@eight golden coins Sorry that it no longer works with Apotheosis, I do not know how you got it to work at all. I just spent an hour and a half trying to get my mod working with Apotheosis with no luck regardless of which method I tried.

Apotheosis adds a copy of the function my mod alters to give unlimited spells and trying to edit their function like I do the main game's function results in infinite spells and infinite mana so I don't understand what their extra copy is doing exactly yet.

Is "moment" another mod or a spell from Apotheosis? I will try to make my mod work with Apotheosis at some point but no guarantees about if or when, sorry.
Wandering Stars 16 Sep, 2023 @ 1:26am 
i dont know why but this doesnt work with some mods now, apotheosis moment???
TheBird  [author] 12 Sep, 2023 @ 5:09pm 
I tested the change with several spells and it worked with all of them so I think it will work with everything.