Lilith

Manage Skill Damage [2.1]

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Updated to version 1.0

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Updated to version 1.1

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

Share this post


Link to post
Share on other sites

You are GOD ! o.O"

when it comes on custom src editing. LOL!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

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

Share this post


Link to post
Share on other sites

is this possible at eathena?

Share this post


Link to post
Share on other sites

@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

Share this post


Link to post
Share on other sites

^ I think you can reload it with @reloadskilldb.

Share this post


Link to post
Share on other sites

@quesoph Oh didn't notice it thanks.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

this is for 255/120 max stats 255?

Share this post


Link to post
Share on other sites

Can this be applied to skills like EDP?

Share this post


Link to post
Share on other sites

EDP it is Status.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

only for rathena ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.