Good list here :https://sc2mapster.fandom.com/wiki/Tutorials
Try the "Recommended starting point" under "For Beginners"
I never got a reply if it worked in this thread, but hopefully it does xD https://www.sc2mapster.com/forums/general/general-chat/247207-how-do-i-unlock-warcraft-3-formations
: Here's a tutorial that explains how to swap resources in data. You should be able to figure out a solution for you with this.
It can also be done in triggers, but I think data would be better. For triggers you'd want to use a "pick each unit in unit group" to pick all the unit type of the structure you want. You probably want to specify that it isn't under construction. Then underneath that loop you'd use "Modify player property".
Here's two ways you can do it.
1. Using triggers to apply it on a per unit basis whenever you want to.
Go to triggers (F6). Use an existing trigger such as Melee Initialization, or create a new trigger. Make sure there's an event such as "Map Initialization", Under actions add "Add Behavior (Player)". Choose the "Colony Infestation" behavior. Note this behavior may only be available if you are using single player dependencies (rather than multiplayer dependencies). Then choose the unit you want to give the behavior to.
2. Add the behavior to a whole unit type in the data module.
Open the data module (F7). Go to units tab. If you don't see it, click the plus and find it under game data. Find a unit type you want to make infested. Go to its behaviors and add colony infestation. Then all those units will have it.
I think most maps that hide that information use a custom user interface. I haven't worked too much with those, but here's a link to a tutorial: https://docs.google.com/document/d/1aTq9Q_DggMywVgE6pbOx-9av5lm2K9ZjAUd-vD07DFc/edit
There might be something like "ability effect target" which would refer to the unit clicked on. You would use "owner of unit" to get the player. Then you could probably use a player group to see if the owner of the unit is in the, allies of player (triggering player), player group.
Maybe stacking behaviors over time? They could be given a death effect. You'd need to test to see if it works... and I imagine it could potentially be a laggy solution...
You could potentially do something with like 5 behaviors and five damage effects (100, 200, 300, etc), one for each behavior. When a behavior expires, it gives the bomb the new behavior, with the increased damage.
What kind of map are you making, and what do you want to change about the AI? (intelligence, wave size, etc)
You can use "Unit Property" to get the energy a unit has. You can use "Modify Player Property" to adjust a players money. Change it from "set to" to "add". You can use "arithmetic" in the value area to do whatever math you want to.
for the data editor you'll want to look into persistent effects. You can specify an initial effect, a periodic effect, and end effect. You can say how long the periods are and how many. So you could apply your damage effect three times under the persistent effect.