Jump to content
  • 0

Critical and penetration in skills


anzert

Question

Hello M2Dev :)

 

I would like to know how critical and penetration works on skills. Is possible to get  the 100% avg?

 

At the moment Im playing in a pvp server and I use dragon shaman with full int/crit in my set, normal bonuses, 6/7 bonuses, alchemy, and food/potions.

 

In this metin2 server, we have a panel where we can observe the % critical and penetration always. I play with 275% or 265% if I use christal power(10%) in bad order.

 

When I fight with other ppl, I observe less critical skills than In my personal tests against secondary characters.

 

Does penetration need more than 100% too in order to perform 100% real penetrate skills?

 

Thanks, Sincerly,
 

 

Link to post

2 answers to this question

Recommended Posts

  • 0
  • VIP

char_battle.cpp

bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type)
  
if (type == DAMAGE_TYPE_MELEE || type == DAMAGE_TYPE_RANGE || type == DAMAGE_TYPE_MAGIC)
                //OLD YMIR CALCULATION
                if (iCriticalPct >= 10)
                    iCriticalPct = 5 + (iCriticalPct - 10) / 4;
                else
                    iCriticalPct /= 2;

                iCriticalPct -= GetPoint(POINT_RESIST_CRITICAL);

                if (number(1, 100) <= iCriticalPct)
                {
                    IsCritical = true;
                    dam *= 2;
                  ....
                }

 

  • Love 1
Link to post
  • 0

Hi Weed,

 

First of all thanks for sharing that code.

 

Then if I did it well, 275% critical would be:

 

275 = 5 + (275 - 10) /4 = 71,25% 

 

Could pls confirm that?

 

Do you know guys examples of items / bonuses with that crit resistance in game?

 

Best regards!

 

Edited by anzert (see edit history)
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.