Jump to content

Penetrate Effect System


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

Hello friends. 

This is my first topic.

 

So lets do this.

 

I tried to find this in some places and forums but not found it

so i edit for my self.

Its not to mutch but i hope this help some one. Q_Q

 

All you just need to do is 

 

open you char_battle.cpp

 

and search

 

 

 

Spoiler

IsPenetrate = true;

 

 

and under add

 

 

 

Spoiler

EffectPacket(SE_PENETRATE);

 

 

Need look like this:

 

 

Spoiler

 

{

IsPenetrate = true;

if (test_server)

ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°üÅë Ãß°¡ µ¥¹ÌÁö %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);

dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100;

EffectPacket(SE_PENETRATE);

if (IsAffectFlag(AFF_MANASHIELD))

{

RemoveAffect(AFF_MANASHIELD);

}

 

 

 

Now search again

 

 

 

 

Spoiler

IsPenetrate = true;

 

 

 

and add under 

 

 

 

Spoiler

EffectPacket(SE_PENETRATE);

 

 

Need look like this:

 

 

 

Spoiler

if (iPenetratePct)

{

 

//°üÅëŸ°Ý ÀúÇ× °ª Àû¿ë.

iPenetratePct -= GetPoint(POINT_RESIST_PENETRATE);

 

if (number(1, 100) <= iPenetratePct)

{

IsPenetrate = true;

 

if (test_server)

ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°üÅë Ãß°¡ µ¥¹ÌÁö %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);

dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100;

EffectPacket(SE_PENETRATE);

}

}

 

 

vualla

 

https://metin2.download/picture/0KNqNhQmUA2WrmmWLxWq11Z5DEFvgQ4N/.gifv#embed

 

See you soon!

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 9
  • Good 1
  • Love 1
  • Love 19
Link to comment
Share on other sites

  • 4 months later...
  • 10 months later...

Announcements



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