Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 21:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Max Additional Damage of Critical Hits

Discussion on Max Additional Damage of Critical Hits within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Max Additional Damage of Critical Hits

Hello Epvpers,

I am wondering how can i add an restriction to the ADOCH type.

I want to try something out for testing purpose atm But i am not quite sure on how to add them. I have searched for DST_CRITICAL_BONUS and it shows in several files. I was thinking that i need the file MoverAttack.cpp and change it there. Any tips in this will be highly appreciated.
raventh1984 is offline  
Old 08/31/2013, 16:52   #2
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
Search for the getter-function of ADOCH.

And change it from something like this:

...
return m_ADOCH (ADOCH variable)
...

to

...
if(m_ADOCH>x)
return x
else
return m_ADOCH
...
Mognakor is offline  
Thanks
1 User
Old 09/02/2013, 08:30   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
i this the correct way to do it?

PHP Code:
float fCriticalBonus    + (float)GetParamDST_CRITICAL_BONUS0  ) / 100.0F;
#ifdef __JEFF_11
        
if( fCriticalBonus 0.1F )
            
fCriticalBonus    0.1F;
        else if( 
fCriticalBonus 500 )
            
fCriticalBonus 150;
#endif    // __JEFF_11 
raventh1984 is offline  
Old 09/02/2013, 10:14   #4
 
Pumaaa's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 569
Received Thanks: 695
Code:
float fCriticalBonus    = 1 + (float)GetParam( DST_CRITICAL_BONUS, 0  ) / 100.0F;
#ifdef __JEFF_11
        if( fCriticalBonus < 0.1F )
            fCriticalBonus    = 0.1F;
        else if( fCriticalBonus > 500.0f )
            fCriticalBonus = 150.0f;
#endif    // __JEFF_11
Pumaaa is offline  
Thanks
1 User
Old 09/02/2013, 12:02   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
I have 1 final question in this matter then it can be closed.

how does the flyff source see this
500.0F is it 5000 or is it 500?

with kind regards.
raventh1984 is offline  
Old 09/02/2013, 14:02   #6
 
Pumaaa's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 569
Received Thanks: 695
Code:
        else if( fCriticalBonus > 500.0f )
            fCriticalBonus = 150.0f;
I see no reason why you want to set the CritBonus back to 150 when it is over 500, because that'd mean a player with 499 Critbonus would have far more bonus than a player with 501 CritBonus.

The 500.0f refers to a "float" value.

500 will be converted to the 500.0f in general, though using 500 instead of 500.0f will cause a warning because 500 is an int value, while 500.0f is as I said a float value.

The warning will be produced because int and float are different types, it would also produce a warning when you compare a unsigned int with a (signed) int.


To understand why it is like that , you should take a look at a documentation of the different types in C++.
Pumaaa is offline  
Thanks
2 Users
Old 09/02/2013, 14:58   #7
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Yes i understand what you mean by it and i found it an excellent explanation.

The reason was that i wanted to test something out. i already was are that if someone has 499% it has better damage then someone over 500 still when i test things out i get some experience and such. This of course will not be implanted cause i see no reasons for it.

Again thank you for your effort.

#closerequest
raventh1984 is offline  
Old 09/02/2013, 15:38   #8


 
Reavern's Avatar
 
elite*gold: 15
Join Date: May 2010
Posts: 5,996
Received Thanks: 2,283
Please report this next time.

#closed
Reavern is offline  
Closed Thread


Similar Threads Similar Threads
11k critical damage :)) by Mohd
05/02/2013 - Facebook - 3 Replies
11k crictal damage :p watch thiis adf.ly - shrink your URLs and get paid! add this : Security Check Required | Facebook download this vedio :) = Vidéos publiées par Mohd Salleh 13 février 2011 14 26.mp4 bye guys ;)))):o
Combining cannon to more damage and more critical
05/02/2013 - Seafight - 8 Replies
remove
NINJA SAGA HACKS(DAMAGE,HP,CP,CRITICAL)
07/28/2012 - Facebook - 5 Replies
Tools needed: Mozila/Chrome &Cheat Engine Steps: -Open Ninja Saga, -Log into your char, -In the lobby,open CE, -For firefox,select plugin container.exe, -Select 4 bytes,exact value and don't touch anything else, -Search your gold,(For chrome,you'll have to look a bit longer)
Critical Damage
10/17/2011 - Flyff Private Server - 2 Replies
Also gut, ich hab folgendes Problem Einige meiner User die Slayer sind buggen mit ihrem DMG, troz nice Crit-Dmg awakes hauen sie recht low DMG, habs selber getestet und hatte sogar -50% CD und dennoch beinahe den gleichen DMG gehauen.. Hat vll jemand ne Idee, oder liegt das vll an der DB? o.o
Is it possible to change damage of critical?
07/15/2008 - Kal Online - 3 Replies
I seen today that someone used a hack and gm said it was a crithacker and its also a knight so any ideas of hack that could have done this? And is there any other good Kal Online hacking site beside this one?



All times are GMT +2. The time now is 21:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.