User:IapIac/Things
Here're things not suitable for main namespace (and yeah, nk's official forums) but I think it is necessary to say...
Great white thrash interval
This is AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH.
Some important version history
36.0
The interval was 0.3s when dragging, BUT, when latching onto the target, it thrashes every frame, EVERY. Also the interval couldn't be buffed.
The rate is 0.6s for T3 (to match with T2 I think), 1.1s for T4, 1.0s for T5.
Note that rate usually is attack cooldown.
36.1
The intraval when latching changed to 0.3s (18 frames).
37.0
The interval can be buffed by rate, cooldownScaleRange was 0.38 for T3&T4. T5 unchanged.
But the rate was unchanged. This caused great white thrashed too fast, 0.6x at min power and 0.22x at max power.
The interval in the code is still 0.3, for both situation.
37.2
Great white's rate changed: 0.6 -> 1.1, T4&T5 unchanged, So it thrashes slower (1.1x at min power and 0.72x at max power).
How I found them
I manually tested great white first, then I got 0.55s at min power and 0.36s at max power. The rate is 1.1 at min power and 0.72 at max power. So the thrash interval is 0.5*rate instead of what I thought (0.3*rate)? Coooooooool...
So I used a mod to modify the rate, and saw the actual interval scaled with it. Good. Then I modified the base interval, 0.3, to 0.6, and it truly doubles the interval... Still didn't get it, but it is enough to add them to a wiki site :)
Recently (Dec 29th 2024), I found there's a function that returns the rate multiplier of one tower in game, so I used a mod and got that the shark is 1.8333333 at min power... WHAT? Shouldn't it be 1.1? Then I found (DO NOT ask me how) that there's Piranha in the game model and its rate is 0.6. So I modded it to 1.0, then the rate multiplier function returns 1.1, and actual thrash interval is 0.33s, at min level... What the hell...
NKode OP.