Jump to content

[Skill Damage] Ninja Arc


Recommended Posts

Hello community I know I'm new here but I'm with a very big doubt 

I have a server and ninja arc I send a skill near the other race and 30k bag from damage,
And if I send the same skill from afar the skill will withdraw 10k from damage

I'd like to know if there's any solution for him to draw as much as the nearest and far away.

I'm going to leave two GIFs to try to understand : 

From afar: https://metin2.download/picture/kCj6f5BKzfAK893wh6eMMEC6md4DDp7v/.gif
Up close: https://metin2.download/picture/RX06gnGNzOSvp8w16d01cwEj3o0CgI5S/.gif

I appreciate any help if possible.

with the best Reghards Rafael 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The archery skills have the dependencies of location ( if you're far or near ) , i have it the default , and the dmg is around yours generally , and even if the assassin is near, it increases the dmg a bit but not this much.

Make sure of the function in battle.cpp. if you want post it here so we can compare.

Link to comment
Share on other sites

  • Premium

Oh God... this is Metin2! More is distance between attacker and victim, less is damage. There is a system, made from GF (or Ymir or whatever you want) that remove this problem: Quiver.

Anyway... a fast solution is: 

#Battle.cpp
#Search: int CalcArrowDamage(LPCHARACTER pkAttacker, LPCHARACTER pkVictim, LPITEM pkBow, LPITEM pkArrow, bool bIgnoreDefense)
#In this function find: int iPercent = 100 - (iGap * 5);
#Replace with:
iPercent = 100;

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.