Page 1 of 1

How modify Critical Dmg Magical and physical?

Posted: Thu Nov 19, 2009 2:48 am
by ZeroCool22
If you want to receive support we need this info to help you properly.
ยป Find Revision
Gracia Final
L2J Revision 3695
L2JDP Revision 6775

How/from where i can modifiy the critical power of the skills i modify in GS..

# Maximum character Physical Critical Rate. (10 = 1%)
# Default: 500
MaxPCritRate = 400

# Maximum character Magic Critical Rate. (10 = 1%)
# Default: 200
MaxMCritRate = 100

But this is not enough i mean for example Force Blaster (Tyrant) hit normal 1020 and critics of 4k - 5k is too fucking much same with some skills of Duelist how i can change the Critical % or power i was reading some forums and in some place say

<set name="sCrit" val=""/> and others for mCrit but i see in my C:\server\gameserver\data\stats\skills any skill have in their option this line or the only way is a low the effect of Buffs what give critical? thx.

Re: How modify Critical Dmg Magical and physical?

Posted: Thu Nov 19, 2009 4:35 am
by MELERIX
mCrit is the rate of Magical Critical Hit
rCrit is the rate of Physical Critical Hit

criticals hits are x2, example if you have a skill that make 1000 damage with a normal hit, it will make 2000 with a critical hit.

Re: How modify Critical Dmg Magical and physical?

Posted: Sat Nov 28, 2009 3:12 am
by issle88
You need a multiplier in formulas.java for critical hit multiplier:

if( crit ) {
dmg *= 2;
dmg *= critModifiers.get(skill.getSkillId());
}

critModifiers being eg a FastMap with skill ID/miltiplier pairs inside.

And the FastMap object critModifiers can be loaded either from db or from seperate FILES.

Re: How modify Critical Dmg Magical and physical?

Posted: Tue Mar 22, 2011 8:44 pm
by Wunderkind
Is there ANY place to modify the general critical damage WITHOUT adding anything?

I'm developing on an Interlude server and the only way I know to modify critical damage is by adding a passive buff that reduces the damage %.