Is there a way to cap the Chicken Knife?

So, Following Yanfly's tutorial, I was easily able to recreate the fabled Chicken Knife from Final Fantasy.
http://www.yanfly.moe/wiki/Chicken_Knife_(MV_Plugin_Tips_&_Tricks)

What Im wondering though, is i f there is a way to cap the weapon's attack so it doesnt infinitely scale. Is there an easy way to hard-limit it at 200atk? Not competent with JS at all, but is there if and else statements I can use?

For instance, would this work:


<Custom Parameters>
atk = $gameSystem.escapeCount();
if (atk > 200)
atk = 200
else
atk = $gameSystem.escapeCount();
</Custom Parameters>
It looks like it could work this way. Just the else clause is pointless, since if it's not greater than 200, it won't change anyway.
@DMJohn0X This is a problem you're having with a plugin, not a topic for Game Mechanics Design (which is meant for not-game-specific discussions).

Moving to Plugin Support.

Thanks Poryg, I did test it and it seems to work like I thought. Good to know that the else statement is unneeded though.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-cap-the-chicken-knife.114106/