Jump to content

Global Damage Adjustment


Cydh

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Prolog

 

Quote

Long time ago, I felt that the current damage is too low, on battle config, I only found damage adjustments for GVG, PK, and BG damages. How to adjust global damages just like GVG, PK, and BG damages?

Until I found Lilith's Manage Skill Damage, it's really help.

But, how if I want to adjust all damage not only skill damages, but normal attack wihout skills?

I found some people with same vision (problem. :P don't remember which posts), until I found someone post an Outdated Modification for Decrease or Increase Global Damage, but it seem doesn't work properly (I saw the pictures there. :D).

 

And finally, I made it my version and this is time to share it. :D

 

What's new?

  • Added kind of attacker that will be affected of this damage adjustment
  • Corrected script command usage for atk_rate that didn't work on previous releases
  • Remove some unusable params on battle_calc_normal_damage

 

Conf file, on misc.conf

 

// Adjust global damage rate. (Works like GVG, PK, and BG damage rates) [Cydh]
//    1 - Normal maps
//    2 - PVP
//    4 - GVG
//    8 - Battlegrounds
//   16 - AtkRate mapflag (see conf/mapflag/atk_rate.txt)
//   32 - zone 1
//   64 - zone 2
//  128 - zone 3
//  256 - zone 4
//  512 - zone 5
// 1024 - zone 6
// 2048 - zone 7
// If you decide only to use for certain map, put 16 for 'atk_adjustment_map'
atk_adjustment_map: 4095
// Whos attacker kind that will be affected? (Note 3) Default is 1 (Player)
atk_damage_attacker: 1
// Damage rate between 1 ~ 10000. 100 is default, means 100%
atk_short_attack_damage_rate: 100
atk_long_attack_damage_rate: 100
atk_weapon_attack_damage_rate: 100
atk_magic_attack_damage_rate: 100

 

 

Mapflag NPC

 

//===== rAthena Script =======================================
//= Mapflag: Damage Adjustment
//===== By: ==================================================
//= [Cydh] [email protected]<script data-cfhash='f9e31' type="text/javascript">
/*  */</script>
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
// <mapname> mapflag atk_rate <AttackerType>,<ShortDamageRate>{,<LongDamageRate>,<WeaponDamageRate>,<MagicDamageRate>,<MiscDamageRate>}
//
// 'AttackerType'
// 1: PC
// 2: Mob
// 4: Pet
// 8: Homun
// If only 'ShortDamageRate' that has the given value, the rest of rates will be same with its value.
//============================================================
// Example:
//niflheim mapflag atk_rate 1,200 //All damage rates will be 200%
//nif_fild01 mapflag atk_rate 1,70,80,60,75,120

 

Download!

 

 

 

If you think this mod should be credit to someone here, it's up to you, this is just similar. I made this myself before download .patch file there.

If you like this, +1 please.

Please report any bugs you found and if any suggestion, just tell it, I hope we can improve this mod.

For specified rev or emulator, can be requested by send me a PM 

screenChyraRO179.jpgscreenChyraRO172.jpgscreenChyraRO174.jpgscreenChyraRO175.jpg

screenChyraRO177.jpgscreenChyraRO178.jpgscreenChyraRO180.jpgscreenChyraRO182.jpgscreenChyraRO183.jpg

global_damage-rA-20180918-0d773983.diff

Edited by Cydh
  • Upvote 11
  • Love 2
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

Good job! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   217
  • Joined:  11/22/11
  • Last Seen:  

good job  /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Good Job ! /no1.

 

 

Thanks btw.

 

SlashGeeGee

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Good job! :)

 

 

good job  /no1

 

 

Good Job ! /no1.

 

 

Thanks btw.

 

SlashGeeGee

 

Doesn't matter. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.03
  • Content Count:  455
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

wow great!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

wow great!

 

Thank's, I hope so. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  115
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

this is what Im looking for..

 

2 thumbs up :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

This is great good job..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

Was using the previous version on my server, but this is excellent.
Thanks very much.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

this is what Im looking for..

 

2 thumbs up :D

 

 

This is great good job..

 

Thank's

 

Was using the previous version on my server, but this is excellent.

Thanks very much.

 

yeah, time to share now. haha

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

How can i put all maps in mapflag atk_rate and make it all 200 ??

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

for all maps, don't need make mapflag for each, just set on the conf file

atk_adjustment_map: 4095
atk_short_attack_damage_rate: 200
atk_long_attack_damage_rate: 200
atk_weapon_attack_damage_rate: 200
atk_magic_attack_damage_rate: 200
atk_misc_attack_damage_rate: 200
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

ohh .. thanks Cydh. i thought 100 was the max. :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   4
  • Joined:  08/09/12
  • Last Seen:  

It could be better if there's a way to adjust damage on every specific class, not just a global adjustment. For my own opinion, some classes needs their physical damage to be boosted while some classes's damage are way too high, and global adjustment would boost overall damage for all classes. Specific adjustments should be very very cool. Like an audio equalizer :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

Good Job

thanks bro  /no1  /no1

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

ohh .. thanks Cydh. i thought 100 was the max. :P

 no. haha

 

It could be better if there's a way to adjust damage on every specific class, not just a global adjustment. For my own opinion, some classes needs their physical damage to be boosted while some classes's damage are way too high, and global adjustment would boost overall damage for all classes. Specific adjustments should be very very cool. Like an audio equalizer :)

nice idea. /no1

I'll try to add it

 

Good Job

thanks bro  /no1  /no1

/thx

Edited by Cydh
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/06/12
  • Last Seen:  

Nice work sir......

 

(revision 17348)

but im got this problem,

 
battle.c: In function âbattle_calc_normal_damageâ:
battle.c:1397: warning: suggest parentheses around â&&â within â||â
battle.c:1398: warning: suggest parentheses around â&&â within â||â
battle.c:1400: warning: suggest parentheses around â&&â within â||â
battle.c:1377: warning: unused variable âsdâ
 
need help.....thank you ^.^
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Nice work sir......

 

(revision 17348)

but im got this problem,

 
battle.c: In function âbattle_calc_normal_damageâ:
battle.c:1397: warning: suggest parentheses around â&&â within â||â
battle.c:1398: warning: suggest parentheses around â&&â within â||â
battle.c:1400: warning: suggest parentheses around â&&â within â||â
battle.c:1377: warning: unused variable âsdâ
 
need help.....thank you ^.^

thank's, added new file

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/06/12
  • Last Seen:  

thank you so much.....its work

Edited by FutureGazer
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

Sir Cydh,

 

Is this compatible in the recently released renewal atk diff?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Sir Cydh,

 

Is this compatible in the recently released renewal atk diff?

renewal atk isn't released yet, it still as test.

so, if u're using the clean svn, it should work. If renewal atk is released, of course I'll update the patch for it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

Sir Cydh,

 

Is this compatible in the recently released renewal atk diff?

renewal atk isn't released yet, it still as test.

so, if u're using the clean svn, it should work. If renewal atk is released, of course I'll update the patch for it

 

I see! Thanks for this!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

Wow great release!

Edited by Qube Eks
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

Sir Cydh,

 

Is this compatible in the recently released renewal atk diff?

renewal atk isn't released yet, it still as test.

so, if u're using the clean svn, it should work. If renewal atk is released, of course I'll update the patch for it

 

Now sir it's released, any updates on the patch?

Link to comment
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.   Paste as plain text instead

  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...