Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
23:59, 19th Jul 2012
Magtheridon96:
What I would recommend is making it a spell that creates a rock at a certain height, which should be configurable from a configuration trigger (You did that, but you didn't use the variable), and then calculates the amount of periodic ticks to reach the ground, continues to add 1 to a counter every time the periodic trigger runs until the count is equal to the desired ticks, and then destroys the rock and deals damage ONCE to units in range.
Currently, it deals damage to units multiple times :/
IcemanBo: Too long as NeedsFix. Rejected.
23:59, 19th Jul 2012
Magtheridon96:
- You have on location leak:
- Set rocks_2 = (Units within real_range of (Position of (Picked unit)))
- The damage is dealt more than once.
- The hashtable variable doesn't need to be an array.
- Setting the height at a rate of 0 is instant
- You're changing the height of the rock and adding an expiration timer for each unit in the AoE
- The trigger is never turned off when no more units are casting the spell.
- 0.25 is not smooth :/. 0.03 would be much better.
What I would recommend is making it a spell that creates a rock at a certain height, which should be configurable from a configuration trigger (You did that, but you didn't use the variable), and then calculates the amount of periodic ticks to reach the ground, continues to add 1 to a counter every time the periodic trigger runs until the count is equal to the desired ticks, and then destroys the rock and deals damage ONCE to units in range.
Currently, it deals damage to units multiple times :/