Noita
Not enough ratings
Simple divides
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
43.091 KB
8 Jul @ 11:47pm
12 Jul @ 12:49pm
7 Change Notes ( view )

Subscribe to download
Simple divides

Description
Makes Divides simple and intuitive (they was SO unintuitive and complicated). Now you can put many divides in a row to copy a modifier, it will be properly divided and it wont take a cast.
However, dividing multicast still gives you only one cast (but i'll probably fix it in september).
If you try to divide spell with 0 charges, divide will try the next spell (0 charges spell will be discarded).
Trigger projectiles (not add trigger) will work like a regullar projectiles.
Dividing Mu works well, but Mu + damage from mana is nerfed, so Mu now doesnt give the mana back (you can disable it in the settings).
Add trigger + modifiers + invalid target spell still works the same.
Gamma and Alfa now draws (casts) like their target, when divided, but not Tau. Tau always doesnt draw.
Omega now cannot copy divides (can disable in the settings, but I wont recommend)


Compatible with my another mod that lets you divide infinitely!

Github[github.com] version

If you find any bug, let me know.

Advanced explanation
Basically, only the first divide in the chain is doing something, the others only need for id's. While there is anything in the deck, divide is trying to find a relevant target, by adding every spell to the hand and checking it. If they find a divide, they will save its number and divide value. If they find something different, they'll check its charges and recursion and then, if its relevant, they'll save it as the target, if it is not, they'll discard it and try to find another target. Then, they save spell delay and recharge time to reset them in the end.
Now divides starts copying. They take every divide value and multiply it all together, calculating damage and explosion reduction, as well as total copies number. If divide is off its limit, then it will only multiply by 1. Then they call the target spell multiple times, and if the target is a spell that draw, divide will draw once.

Mu Phi and Sigma work pretty good, because they all cast at the same time and I changed them, so they doesnt start to cast if they divided (you can disable it). However, Mu now is nerfed, so it doesnt restore mana from "mana to damage" if divided. Without this it was too much (but still, you can disable it). Every other spell works properly. And dividing Gamma -> Mu is also fixed! Now gamma (also alfa, zeta, tau, omega and random copy spells) if casted by divide, also sends "divided tag" kinda, to the Mu.
7 Comments
Retro 28 Jul @ 12:38pm 
KaBOOM а я знал
KaBOOM  [author] 28 Jul @ 9:02am 
@Retro Да, я русский
Retro 28 Jul @ 2:21am 
KaBOOM you are spik RU? Yes you are spik RU, you are spik RU are discord.
KaBOOM  [author] 27 Jul @ 12:07pm 
I'll try to fix this in september
ᅠ |
ᅠV
KaBOOM  [author] 22 Jul @ 3:19pm 
@Saiyan Their logic confict with vanilla and it dont really makes sence. If you divide the modded divides, they will add a ton of spells in the hand, cuz every copy of modded divide will find its own target, by adding spells to the hand. You can get the same result by dividing greek spell to modded divide, but maybe I'll fix it. And the same happens if you do it with vanila one's.
Saiyan 22 Jul @ 1:40pm 
It would be cool if there was an option for separate divide spells that use this logic, while keeping the vanilla ones, so you could mix and match. I imagine that would make for some really crazy combos.
Retro 9 Jul @ 8:52pm 
Хороший мод для год-ранов и любителей палочек на оленях