How modify Critical Dmg Magical and physical?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
ZeroCool22
Posts: 136
Joined: Mon Nov 10, 2008 5:59 pm

How modify Critical Dmg Magical and physical?

Post 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.
Image
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How modify Critical Dmg Magical and physical?

Post 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.
issle88
Posts: 36
Joined: Sat Apr 01, 2017 2:35 pm

Re: How modify Critical Dmg Magical and physical?

Post 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.
User avatar
Wunderkind
Posts: 5
Joined: Wed Sep 01, 2010 11:38 pm

Re: How modify Critical Dmg Magical and physical?

Post 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 %.
Image
Post Reply