Custom Parameter Question for Yanfly Equip Core

I am using Yanfly's Equip Core, and in this video, the maker shows how to create a dynamic weapon that gains attack based on a formula. I also want to do this for magic attack but not sure what to change parameter to.

Youtube Video:

Here is the formula:

<Custom Parameters>

atk = user.paraBase(2) * .1 + user.level;

</Custom Parameters>

Would I just change atk to mat and change user.paraBase(4) ?

Thanks.
Yes, you would.
I was confused as to why it is four but thank you.
@Solis

All parameters have numbers that identify them.
Code:
0 - mhp
1 - mmp
2 - atk
3 - def
4 - mat
5 - mdf
6 - agi
7 - luk
aww that makes sense. Thank you so much. I thought it started at 1.

Original thread: https://forums.rpgmakerweb.com/threads/custom-parameter-question-for-yanfly-equip-core.120532/