Lilith Posted April 24, 2012 Posted April 24, 2012 (edited) 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 February 6, 2013 by Lilith 13
randell1993 Posted April 24, 2012 Posted April 24, 2012 wow this is great esp. on high rate server where some skills sure get imbalance
ngek202 Posted April 24, 2012 Posted April 24, 2012 Nice Share Lilith this will be a very useful Mod Big Thanks.
Lilith Posted April 24, 2012 Author Posted April 24, 2012 Updated to version 1.0 Now you can choose flag of part of skill ( see db/skill_damage.txt )
QQfoolsorellina Posted April 24, 2012 Posted April 24, 2012 (edited) 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 April 24, 2012 by QQfoolsorellina
Lilith Posted April 24, 2012 Author Posted April 24, 2012 Updated to version 1.1 Version 1.1: added more options for manage skills damage on specific mapflags ( QQfoolsorellina's Suggestion )
Jezu Posted April 24, 2012 Posted April 24, 2012 You are GOD ! o.O" when it comes on custom src editing. LOL!
Lilith Posted April 26, 2012 Author Posted April 26, 2012 Do i need to make a .txt file for this? No. Apply patch and file skill_damage.txt will be created in db folder.
ngek202 Posted April 27, 2012 Posted April 27, 2012 (edited) @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 April 27, 2012 by ngek202
ShogS Posted May 4, 2012 Posted May 4, 2012 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
Mike T Posted May 4, 2012 Posted May 4, 2012 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.
Mystery Posted May 14, 2012 Posted May 14, 2012 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?
WhatFT Posted May 15, 2012 Posted May 15, 2012 How to put the .patch file in the server? Don't know how to put Source.. sorry.
EvilPuncker Posted May 15, 2012 Posted May 15, 2012 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.
Limestone Posted May 23, 2012 Posted May 23, 2012 (edited) 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 May 23, 2012 by Rage
EvilPuncker Posted June 19, 2012 Posted June 19, 2012 it works in eA too, but you need to apply the patch manually
Recommended Posts