Bio 1 Posted May 26, 2017 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
0 Witness 87 Posted May 26, 2017 (edited) 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 May 26, 2017 by GameForge (see edit history) Share this post Link to post Share on other sites
0 .тιαgσ 624 Posted May 26, 2017 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
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