[General] Ability Shockwave Leaks??

Status
Not open for further replies.
After spending half a day thinking that my code is causing a leak in the game (Although all leakage issues had been dealt in the trigger), I decided to try something else. I removed the triggers and cast the spell on its own and saw to my amazement that the ability itself is causing the leak.

The spell is shockwave and I had turned its every data to zero, even cooldown. By casting it a high amount of times (even with pauses between each cast), I saw that it causes the game to start lagging. What is wrong?
 
After spending half a day thinking that my code is causing a leak in the game (Although all leakage issues had been dealt in the trigger), I decided to try something else. I removed the triggers and cast the spell on its own and saw to my amazement that the ability itself is causing the leak.

The spell is shockwave and I had turned its every data to zero, even cooldown. By casting it a high amount of times (even with pauses between each cast), I saw that it causes the game to start lagging. What is wrong?

Setting 0 for some things like buff duration or terrain deformation duration is effectively setting it to infinite. try setting some fields that are 0.00 or 0.01
 
Setting 0 for some things like buff duration or terrain deformation duration is effectively setting it to infinite. try setting some fields that are 0.00 or 0.01
I know that. I set the numbers to non-zero and it still lagged the game. According to the topic KILLCIDE has referred, it seems that terrain deformations are the cause of this lag. Thank you!
 
Status
Not open for further replies.
Back
Top