Jump to content

Damage Warrior 40k


Recommended Posts

  • Premium

EN : 

Hello,

I have a very serious problem with damage from warrior.
Warrior mental causes most damage.. How can I fix / balance damage from source game or skill_proto (table) ?

 

GR :

Hello,

I have a very serious problem with damage from warrior.
Warrior mental causes most damage.. How can I fix / balance damage from source game or skill_proto (table) ?

RO : 

Salut,

Am o problema foarte grava cu damage-ul pentru razbonic. 

Warrul mental provoaca cele mai mari daune (20k fara critica pe spirit) si nu am nici cea mai mica idee cum as putea rezolva bugul.

Ma gandesc ca pot diminua damage-ul din sursa dar si din skill_proto insa nu stiu exact de unde.

 

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium

Find the ID of skill which does too much damage in skill_desc.txt.

Navigate to skill_proto.sql and search for the ID, there you will see some formulas which are skill damage or any other effects values. 

Example: This is the damage formula from Spirit Strike(W), I took it from r00t. You can see some numbers that are multiplied with small words. I am not 100% sure if that "atk" is Attack Power, someone correct me if they aren't. Next 2 are pretty clear I think, "str" is Strength and "con" is Vitality. How you wanna decrease the damage is make those multipliers smaller (2.3;4;4) -> (1.5;2;4). That was just an example. The principle is the same at the skill_desc.txt and the skill_table.txt in clienside locale/%/skill_desc.txt. Make sure you change the damage formula or any other value in the skill_desc & skill_table in every column. Serverside has 2x of them, skill_table 1x and skill_desc has 2x, for minimum damage and highest damage. 

Do not worry about "k". That is skill power per skill rank. Here is the table for its multiplier based on skill rank.

Spoiler
  1. 0.05
  2. 0.06
  3. 0.08
  4. 0.1
  5. 0.12
  6. 0.14
  7. 0.16
  8. 0.18
  9. 0.2
  10. 0.22
  11. 0.24
  12. 0.26
  13. 0.28
  14. 0.3
  15. 0.32
  16. 0.34
  17. 0.36
  18. 0.38
  19. 0.4
  20. 0.5
  21. 0.52
  22. 0.54
  23. 0.56
  24. 0.58
  25. 0.6
  26. 0.63
  27. 0.66
  28. 0.69
  29. 0.72
  30. 0.82
  31. 0.85
  32. 0.88
  33. 0.91
  34. 0.94
  35. 0.98
  36. 1.02
  37. 1.06
  38. 1.1
  39. 1.15
  40. 1.25
  41. Lv 40 is Perfect Master, that means all will be multiplied by 1.25

Damage Formula: -(2.3*atk+(4*atk+str*4+con)*k)

Good luck  :) 

*Make backup of every file too before you start editing!

Link to comment
Share on other sites

As was advised above, you need to edit skill_proto (on this forum I've saw few topics about how to).

If you want to see which values are in use for skill's calculations add next line in "void CSkillProto::SetPointVar" (skill.cpp file):

sys_log(0,"CSkillProto::SetPointVar %d %s %f", dwVnum, strName.c_str(), dVar);

Spoiler

uBCmaWC.png

Regards.

Edited by Metin2 Dev
Core X - External 2 Internal
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.