-
-------- This is what makes it decide to go through armor or not. --------
-
Set QQSDamageType = Magic
|
From the comment it looks like it would make more sense to use a boolean here.
-
-------- How long the spell will last --------
-
Set QQSFtime[QQSFindex] = (80 x QQSFlevel[QQSFindex])
|
Actually it is how often the periodic event will operate with it, and just indirectly 80x. ( user could think 80 seconds)
-
Set QQSFTimeCheckOutwards[QQSFindex] = (QQSFlevel[QQSFindex] x 50)
-
-------- --------
-
Set QQSFTimeCheckInwards[QQSFindex] = (QQSFlevel[QQSFindex] x 30)
|
Are these really needed? I saw you already use minimum and maximum range config, which is quite cool.
Something like this:
If currentDistance <= min distance | --> set offset positive |
Else If currentDistance >= max | --> set offset negative |
Set position = position + offset | (After the If/Then/Else) |
-
((Picked unit) belongs to an enemy of QQStarFuryOwner[QQSFi]) Equal to True
|
You could use "QQSPickedUnit" here, instead of "Picked unit".
I'm also for .03 as interval, it's just more smooth. But this anyway was mentioned already and it's your choice.
Me don't see much sense in nulling global unit variables, because you will re-use it in all but one case, but it's not really a problem I guess.
__________________________________________________
If you would change the changing-offset method, like I made in an my example and use the variable instead of "Picked unit" I vote for
approval. It look's cool