To stun units for each star hit, you need to use Unit Friendly Damage Detection System posted here before, it requires some Jass knowledge to understand it, but you don't need to, just copy paste the trigger into your map and do everything else in GUI, here, i made an example, I think this is...
I once created a cool passive healing spell, you get a chance of canceling enemy attack or spell damage and transforming it into AoE heal for the amount of damage dealt to you. You can aditionally add a cooldown to the effect so it can only occur once every X seconds ;P
1) create a dummy with a storm bolt dummy spell of Z stun duration (Z being the seconds of your desired stun) in your unit's position for each unit within X range of your unit (X being the range of your spell) and make it cast it on each unit.
2) create a dummy unit in your unit's position with...
If i have a trigger with everything inside a scope, and there's a globals block wich variables are all private: If the trigger triggers twice at the same time, will those globals overwrite each other? Or will they work like locals for that scope?
Dude great tutorial!
I have a few questions:
- So, scopes are like classes in Java, right?
- When you create a scope with an initializer, your are making that function to load in map initialization, but the other functions in the scope wont, right?
- Can you have a scope with multiple...