- Joined
- Mar 27, 2008
- Messages
- 8,035
Maximum Loop Per Instance [SOLVED]
I did a research and some experimenting just how much value can a loop goes in a single run.
It seems that a maximum loop per instance is 7894 times in a single-run.
What I did, is this;
- My end number of the loop is 10,000
- My initial number of the loop is 1
- I put a dummy unit with HP 10,000 (with no HP regen at all)
- I used a trigger to damage the target (ignores armor and magical reduction type of damage) (the damage is 1)
- Result: The unit's HP is 2106 (which means 10,000 - 7894 = 2106)
EDIT:
And now I can do a maximum of 10,714 loop per single instance dammit.
Solution:
If I want to bypass this limit, let's say I want the loop to be made 10,000 times, what algorithm/method/formula should I use ?
Can you guys do a loop per instance for 100,000 in single-run ?
Each test gives me various of results, just close this thread..
It seems that a maximum loop per instance is 7894 times in a single-run.
What I did, is this;
- My end number of the loop is 10,000
- My initial number of the loop is 1
- I put a dummy unit with HP 10,000 (with no HP regen at all)
- I used a trigger to damage the target (ignores armor and magical reduction type of damage) (the damage is 1)
- Result: The unit's HP is 2106 (which means 10,000 - 7894 = 2106)
EDIT:
And now I can do a maximum of 10,714 loop per single instance dammit.
Solution:
If I want to bypass this limit, let's say I want the loop to be made 10,000 times, what algorithm/method/formula should I use ?
Can you guys do a loop per instance for 100,000 in single-run ?
Each test gives me various of results, just close this thread..
Last edited: