Noita
Spells Evolutions
ways to exclude spells
find ''files\lib\matolabu_tools.lua'' and rewrite this funcion 【GetAllInfiniteProjectileSpells】like below to exclude spells you dont want to boost
function GetAllInfiniteProjectileSpells()
local t_all_projectile_spells = {}
--------------exclude some spells,you can put other spell's official id(by wiki)here-----------
local exclude_spell_ids = {
"CHAINSAW",
"DIGGER",
"POWERDIGGER",
"MAGIC_SHIELD",
"BIG_MAGIC_SHIELD",
"SPORE_POD",
"DISC_BULLET",
"DISC_BULLET_BIG",
"DISC_BULLET_BIGGER",
}
----------------turn into set---------------------
local exclude_set = {}
for _, id in ipairs(exclude_spell_ids) do
exclude_set[id] = true
end
---------------insert table
dofile_once("data/scripts/gun/gun_enums.lua")
dofile("data/scripts/gun/gun_actions.lua") -- dofile, not once, because we need the updated list of spells!
for i, action in ipairs(actions) do

-- print(" ---> action.id = " .. tostring(action.id))

if action.type == ACTION_TYPE_PROJECTILE then
local action_max_uses = action.max_uses
if action_max_uses == -1 or action_max_uses == nil then
if not exclude_set[action.id] then
table.insert(t_all_projectile_spells, action)
end
end
end
end
return t_all_projectile_spells
end