Jump to content

Manage Skill Damage [2.1]


Lilith

Recommended Posts


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

This small modification allow you to manage damage of skills.

Request: this topic

Ver.2.1: patch updated.

You can change the skill damage in file db/skill_damage_db.txt (skill_damage.txt)

Version 1.1: added more options for manage skills damage on specific mapflags ( QQfoolsorellina'sSuggestion )

// Manage skill damage [Lilith]

// Format: Skill ID, % damage: Normal Maps, PvP Maps, GvG Maps, BG Maps{,flag}

// Flag may be:

// nothing - for full additional damage

// 1 - for ATK based part of damage

// 2 - for MATK based part of damage

// 4 - for misc part of damage

// Example:

// 42,100,50,130,75 - Skill 'Mammonite' will be have full additional damage to

// 100% for normal maps, 50% for pvp, 130% for gvg and 75% for bg maps

// 379,100,100,10,15,1 - Skill 'Soul Destroyer' will be have additional ATK based only damage, not MATK, to

// 100% for normal and pvp maps, 10% for gvg and -15% for bg maps

// Notice: percentage may taking a negative value

// Mammonite: +100%, +50%, +130%, +75%

42,100,50,130,75

// Cart Termination: + 15%, +100%, +10%, +20%

485,15,100,10,20

// Adoramus: -50%, +100%, -10%, +70%

2040,-50,100,-10,70

// Soul Destroyer: ATK ONLY +100%, +100%, +10%, -15%

379,100,100,10,-15,1

Version 2.0: added map bitflag ( Lighta's Suggestion )

// Manage skill damage [Lilith]

// Format: Skill ID, Mode, PC damage, Mob Damage, Boss Damage, Other damage

// Mode

// 1 - normal maps

// 2 - PVP

// 4 - GVG

// 8 - Battlegrounds

// 32 - zone 1

// 64 - zone 2

// 128 - zone 3

// 256 - zone 4

// 512 - zone 5

// 1024 - zone 6

// 2048 - zone 7

// Examples:

// Mammonite: Normal maps, 0% on players, +50% on mobs, -30% on boss monsters, +10% on others

// 42,1,0,50,-30,10

// Adoramus: PvP & GvG maps, +50% on players, -50% on mobs, 0% on boss monsters, 0% on others

// 2040,6,50,-50,0,0

Version 2.1:(Updated 2.0)

// Manage skill damage [Lilith]

// Format: Skill ID, Mode, Damage against Players{, Damage against Mobs{, Damage against Bosses{, Damage against Other}}}

// Mode

// 1 - restricted in normal maps

// 2 - restricted in PVP

// 4 - restricted in GVG

// 8 - restricted in Battlegrounds

// Restricted zones - they're configured by 'restricted <number>' mapflag

// 32 - restricted in zone 1

// 64 - restricted in zone 2

// 128 - restricted in zone 3

// 256 - restricted in zone 4

// 512 - restricted in zone 5

// 1024 - restricted in zone 6

// 2048 - restricted in zone 7

//

// Examples:

// Mammonite: Normal maps, +50% against players, nothing else.

// 42,1,50

// Adoramus: PvP & GvG maps, +50% against players, +0% against mobs, +10% against boss monsters, +15% against others

// 2040,6,50,0,10,15

Skill_damage_v1.1.patch

Manage_Skill_Damage_2.0.patch

manage_skill_damage_v2.1_rAthena17121.patch

Edited by Lilith
  • Upvote 13
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   4
  • Joined:  11/15/11
  • Last Seen:  

wow this is great esp. on high rate server where some skills sure get imbalance

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

Nice Share Lilith this will be a very useful Mod Big Thanks.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

Wow thanks!

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:  

Updated to version 1.0

Now you can choose flag of part of skill ( see db/skill_damage.txt )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

Updated to version 1.0

Now you can choose flag of part of skill ( see db/skill_damage.txt )

Hi~~Lilith

this is a usefull mod . I like it a lot.,

but I was very greedy to make a suggestions :)

Is this possible to build ?

skillid,normal map % damage, pvp map % damage, gvg map%damage,battle ground %damage ,damage type flag

-----------------------------------------------------------------------------------------------------------------------------------------

edit :

thanks for updating so fast

Edited by QQfoolsorellina
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:  

Updated to version 1.1

Version 1.1: added more options for manage skills damage on specific mapflags ( QQfoolsorellina's Suggestion )
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

You are GOD ! o.O"

when it comes on custom src editing. LOL!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Do i need to make a .txt file for this?

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:  

Do i need to make a .txt file for this?

No. Apply patch and file skill_damage.txt will be created in db folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

is this possible at eathena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

@Lilith can you also make a command like @reloaditemdb so you can just reload the skill_damage.txt instead of restarting the Server? for quick changes..

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

^ I think you can reload it with @reloadskilldb.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

@quesoph Oh didn't notice it thanks.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   8
  • Joined:  03/03/12
  • Last Seen:  

Question how can I apply this to a source? I don't even know how to patch. Is there any one can help me? thanks in advance

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  04/08/12
  • Last Seen:  

Question how can I apply this to a source? I don't even know how to patch. Is there any one can help me? thanks in advance

Hi, welcome to RAthena, to apply this source, you can apply it via Tortoise SVN, or just open the patch file and manually add it to the corresponding files.

It's not that hard, just copy paste or replace.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   3
  • Joined:  01/01/12
  • Last Seen:  

this is for 255/120 max stats 255?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  04/08/12
  • Last Seen:  

Can this be applied to skills like EDP?

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:  

EDP it is Status.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Is it possible to just give the damage base? Do we need to add the "mapflag" sections in order for the damage output to even work?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

How to put the .patch file in the server? Don't know how to put Source.. sorry.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

How to put the .patch file in the server? Don't know how to put Source.. sorry.

http://rathena.org/wiki/Diff

Same process when applying .patch files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

i have a error in skill.c btw im using eathena 15101

skill.c: In function âskill_parse_row_skilldamageâ:
skill.c:11756: error: âskilldamageâ undeclared (first use in this function)
skill.c:11756: error: (Each undeclared identifier is reported only once for each function it appears in.)
skill.c: In function âskill_readdbâ:
skill.c:11876: error: âskilldamageâ undeclared (first use in this function) 

Edited by Rage
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  05/29/12
  • Last Seen:  

only for rathena ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

it works in eA too, but you need to apply the patch manually

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...