Jump to content
  • 0
anzert

open Critical and penetration in skills

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,
 

 

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

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

Share this post


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)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.