Jump to content

Recommended Posts

Posted (edited)

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
Posted

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

  • 2 months later...
Posted

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
Posted

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 :)

Posted (edited)

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
  • 2 weeks later...
Posted

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

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

  • 2 weeks later...
Posted

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

Posted

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!

Posted

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?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...