Moderator
M
Moderator
Reviewed by Maker, Electric Web V1.02, 2nd Apr 2012
Interesting concept. Works well but this could be more efficient and lighter on your computer
Suggested changes
- Don't create double lightnings. If you have units A and B, only create
from A to B or B to A. Not A to B and B to A- Use MoveLightningEx instead of creating/destroying lightnings all the time
- Don't use a 0.03 periodic trigger for the activation
Reviewed by Maker, Electric Web V1.01, 17th Feb 2012
Required changes
- In finding targets, you need to use
- (Picked unit) Not equal to EW_U
- Don't create double lightnings. If you have units A and B, only create
from A to B or B to A. Not A to B and B to A- Use MoveLightningEx instead of creating/destroying lightnings all the time
- Units that are revived can no longer use the ability
Pharaoh_: Very interesting. Count GetLocationZ() as a height parameter for the lightnings. Save the source of lightning unit to the sub-unit (which "receives" the lightning) and check the distance between these and then destroy the lightnings, otherwise, it's pretty heavy, creating and destroying the lightnings all the time.