That was the first thing I tried, the problem is, user.paramBase(7), and I tried user.paramBase(6) too, aren't taking into consideration the equippment. I have a heavy helmet that decreases the agility, and only that, for testing purposes. But it ends up making no difference into the damage. That's why i was seraching fo a different command that returned the actual agility instead of the base agility.
The command is now:
<Custom Parameters>
atk = user.paramBase(2) * ( 200 / user.paramBase(7) );
</Custom Parameters>
On level 50 the attack will always be 487 no matter if the speed is 73 or 13 (with the helmet)
The command is now:
<Custom Parameters>
atk = user.paramBase(2) * ( 200 / user.paramBase(7) );
</Custom Parameters>
On level 50 the attack will always be 487 no matter if the speed is 73 or 13 (with the helmet)
user.param(7);
/EDIT:
Okay, forget that. That doesn't work.
I don't know how you can include boni/mali from equipment here.
