Hi,
I'm trying to make it so that the player's luk parameter gets added to the damage whenever he lands a critical hit on an enemy.
I first tried changing the formula for "Apply Critical" in Game_Battler to "damage + luk", but I noticed that this added the target's luck value, not the user's.
I then tried changing the formula to "damage + user.luk" but then, whenever I landed a critical, I returned an error message saying 'undefined local variable or method 'user'
Wondering how I can accomplish this? Thanks in advance.
I'm trying to make it so that the player's luk parameter gets added to the damage whenever he lands a critical hit on an enemy.
I first tried changing the formula for "Apply Critical" in Game_Battler to "damage + luk", but I noticed that this added the target's luck value, not the user's.
I then tried changing the formula to "damage + user.luk" but then, whenever I landed a critical, I returned an error message saying 'undefined local variable or method 'user'
Wondering how I can accomplish this? Thanks in advance.