Jump to content
Abdelrahman Hajjaj

DMG calculations

Recommended Posts

hi, i have a small question where can i find the dmg calculations for different classes

i read Ximboliex guide for balancing but that's for the base attr

so what about the whole dmg calculations like making crus 1.2x , ss 2x and so on

Share this post


Link to post
Share on other sites

Why not try looking around in files? Specific functions to control each class' damage don't exist. Although there are generic functions where all damage is dealt and another for when damage is received. Such as "Atk_Dmg" and "Hp_Dmg".

Edited by Angelix

Share this post


Link to post
Share on other sites
2 minutes ago, Abdelrahman Hajjaj said:

@Angelix  oh thought there is a defined function. Thnx for the reply.

so if i made a function detects the current char class and set up a new dmg ratio should i put it into atk_dmg or cha timer?

or should i just try my luck 😃 

Why did you mention "cha_timer"? It has nothing to do with damage. Just find the correct function for your needs and place 3 lines and that's it. You should not modify "cha_timer" in no way to alter player's stats.

Share this post


Link to post
Share on other sites

I'm not sure, isn't cha timer working as a function which gets excuted frequently i.e. (like update() method in unity or so?)

if not then thnx for clearing things up for me.

I'm just playing around trying different stuff and learning.

and see how much it affects the game.

so i don't know much about hw serve files work

Share this post


Link to post
Share on other sites
18 minutes ago, Abdelrahman Hajjaj said:

I'm not sure, isn't cha timer working as a function which gets excuted frequently i.e. (like update() method in unity or so?)

if not then thnx for clearing things up for me.

I'm just playing around trying different stuff and learning.

and see how much it affects the game.

so i don't know much about hw serve files work

Yes, "cha_timer" is like an updating function, a timer like its name says, but it should not be overloaded, if you do, server will constantly lag. It has nothing to do with what you want, you want to modify their damage dealt/received, not their base stats. 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...