- Joined
- Aug 29, 2014
- Messages
- 350
- Reaction score
- 133
- First Language
- English
- Primarily Uses
I'm having a weird interaction when trying to put in the parameters for this plugin. I'm attempting to edit the critical rate modifier and the critical multiplier modifier however neither are working quite right. I was wondering if anyone could help me.
For the rate you get a critical hit at, I'm trying to make the modifier...
% of critical hit = (X*.75)+1
Where X is the character's CRI. Then it could round up. For examples of how this would work...
1 CRI = 2%
10 CRI = 9%
31 CRI = 25%
I have it down as...
rate = (user.cri*.75) + 1;
The problem is, this is making every attack a critical hit, which I don't want at all.
The second problem is the parameter that dictates the critical hit modifier. I want the formula to be...
[SIZE=14.6667px]Critical multiplier = (.2*X)+1[/SIZE]
[SIZE=14.6667px]Where X is the character's Luck. Not rounded. For example...[/SIZE]
[SIZE=14.6667px]1 LUK = 1.2 times the damage.[/SIZE]
10 LUK = 3 times the damage.
31 LUK = 7.2 times the damage.
I have this down as...
value = (.2 * user.luk) + 1;
The problem here is that it's making critical hits do way too little damage no matter what.
I think this is just me not reading how to input these numbers right. Can anyone help?
For the rate you get a critical hit at, I'm trying to make the modifier...
% of critical hit = (X*.75)+1
Where X is the character's CRI. Then it could round up. For examples of how this would work...
1 CRI = 2%
10 CRI = 9%
31 CRI = 25%
I have it down as...
rate = (user.cri*.75) + 1;
The problem is, this is making every attack a critical hit, which I don't want at all.
The second problem is the parameter that dictates the critical hit modifier. I want the formula to be...
[SIZE=14.6667px]Critical multiplier = (.2*X)+1[/SIZE]
[SIZE=14.6667px]Where X is the character's Luck. Not rounded. For example...[/SIZE]
[SIZE=14.6667px]1 LUK = 1.2 times the damage.[/SIZE]
10 LUK = 3 times the damage.
31 LUK = 7.2 times the damage.
I have this down as...
value = (.2 * user.luk) + 1;
The problem here is that it's making critical hits do way too little damage no matter what.
I think this is just me not reading how to input these numbers right. Can anyone help?
Last edited by a moderator:
