Jump to content

Recommended Posts

Version of Files 40k

Hey, 

 

I was kinda curios, how to detect top damages - I have had created boss and he's giving coins when it's killed and other players in the map get also a small amount of coins and I want to do something like giving coins to best three players with greatest damage. Is it possible in some easy way? 

 

Link to comment
https://metin2.dev/topic/23619-damage-detection/
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Developer
  • Solution

You could insert into a vector the damage taken and the player instance or player id, doesn't really matter. 

After the boss is killed you can just loop through the vector and see who did the most damage.

 

Hope it helped.

r

Link to comment
https://metin2.dev/topic/23619-damage-detection/#findComment-127141
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.