antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Bio

[BUG] Skill Lâmina do Sura

Question

Presido de ajudar para resolver um bug na skill lamina do sura, quando eu ataco ao invés de ela me dar 12% do dano em HP ela me tira. alguém sabe resolver? 

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

mano vou deixar um tópico de outro forum que como implementar uma skill o que tens de fazer é usar engenharia reversa

 

https://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/916033-howto-erkl-rung-skills-einf-gen-mit-icon-korea-skills.html

Edited by GameForge (see edit history)

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Na source  abres o char_battle.cpp

 

Procuras isto 

if (pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) && number(0, 4) > 0) // 80% Č®·ü
            {
                int i = MIN(dam, iCurHP) * pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) / 100;
                if (i)
                {
                    CreateFly(FLY_HP_SMALL, pAttacker);
                    pAttacker->PointChange(POINT_HP, i);
                }
            }

E substituis por isto

 

if (pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) && number(0, 4) > 0) // 80% Č®·ü
            {
                int i = MIN(dam, iCurHP) * pAttacker->GetPoint(POINT_HIT_HP_RECOVERY) / 100;
                if (i)
                {
                    if (i < 0)
                         i *= -1;
                    CreateFly(FLY_HP_SMALL, pAttacker);
                    pAttacker->PointChange(POINT_HP, i);
                }
            }

 

Share this post


Link to post
Share on other sites

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