AinsLord Posted September 11, 2018 Posted September 11, 2018 is there any way to increase the heal rate for classes that has heal skill?? this is for pre-re without modifying or putting item bonus script #TIA Quote
0 Start_ Posted September 11, 2018 Posted September 11, 2018 D:\rathena\db\skill_damage_db.txt Add all heal skill here, and made it more heal power. 1 Quote
0 AinsLord Posted September 11, 2018 Author Posted September 11, 2018 ok i'll try this one out thnx ^_^ Quote
0 xyxzero Posted September 15, 2018 Posted September 15, 2018 Either you edit it on skill.c and then recompile your server or edit it inside your rathena/db/skill_damage_db.txt but make sure to enable this first inside your src/config/core.h /// Uncomment to enable skills damage adjustments /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the /// damage rate of specified skills. #define ADJUST_SKILL_DAMAGE /// The skill damage adjustment rate is capped at 100000. #ifdef ADJUST_SKILL_DAMAGE #define MAX_SKILL_DAMAGE_RATE 100000 #endif Quote
0 AinsLord Posted September 15, 2018 Author Posted September 15, 2018 22 hours ago, xyxzero said: Either you edit it on skill.c and then recompile your server or edit it inside your rathena/db/skill_damage_db.txt but make sure to enable this first inside your src/config/core.h /// Uncomment to enable skills damage adjustments /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the /// damage rate of specified skills. #define ADJUST_SKILL_DAMAGE /// The skill damage adjustment rate is capped at 100000. #ifdef ADJUST_SKILL_DAMAGE #define MAX_SKILL_DAMAGE_RATE 100000 #endif @xyxzero those setting is not on my core.hpp im using the latest git on rathena Quote
0 Start_ Posted September 16, 2018 Posted September 16, 2018 src\custom\defines_pre.hpp put // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_CUSTOM_DEFINES_PRE_HPP_ #define _CONFIG_CUSTOM_DEFINES_PRE_HPP_ /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ #define ADJUST_SKILL_DAMAGE #endif // _CONFIG_CUSTOM_DEFINES_PRE_HPP_ Quote
0 xyxzero Posted September 18, 2018 Posted September 18, 2018 On 9/16/2018 at 2:46 AM, AinsLord said: @xyxzero those setting is not on my core.hpp im using the latest git on rathena You can just add it inside your core.h or like what @TARTs said. It's better to put a limit inside the specific set of codes like this #define ADJUST_SKILL_DAMAGE #ifdef ADJUST_SKILL_DAMAGE #define MAX_SKILL_DAMAGE_RATE 100000 #endif 100000 = max value that you can increase the % of damage a skill inside your skill_damage.txt Quote
0 AinsLord Posted September 18, 2018 Author Posted September 18, 2018 (edited) still the same heal rate for players and i think the skill_damage_db.txt is specifically for the damage of the skills not increasing the heal amount when you heal your self or other players ive tried putting this #define ADJUST_SKILL_DAMAGE #ifdef ADJUST_SKILL_DAMAGE #define MAX_SKILL_DAMAGE_RATE 100000 #endif and add this to skill_damage_db.txt // Examples: // MC_MAMMONITE,BL_PC,1,50 // In normal maps, players deal +50% damage to other players with Mammonite. // MO_EXTREMITYFIST,BL_PC,6,-50 // In PVP and GVG, players deal -50% (half) damage to other players with Asura Strike. // AB_ADORAMUS,BL_PC,6,50,0,10,15 // In PVP and GVG, players deal +50% damage to other players, +0% to mobs, +10% to bosses, and +15% to other with Adoramus. AL_HEAL,BL_PC,7,1000 compile the server and still has the same rate i also added this on defines_pre.hpp still same heal rate // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef CONFIG_CUSTOM_DEFINES_PRE_HPP #define CONFIG_CUSTOM_DEFINES_PRE_HPP /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ #define ADJUST_SKILL_DAMAGE #endif /* CONFIG_CUSTOM_DEFINES_PRE_HPP */ but yea thnx for the help thou ^_^ i greatly appreciate it Edited September 18, 2018 by AinsLord Quote
0 xyxzero Posted September 18, 2018 Posted September 18, 2018 Inside skill.c find this, this is pretty self explanatory on your side regarding if you're using Renewal or Pre-Renewal. /** * Renewal Heal Formula * Formula: ( [(Base Level + INT) / 5] x 30 ) x (Heal Level / 10) x (Modifiers) + MATK */ hp = (status_get_lv(src) + status_get_int(src)) / 5 * 30 * skill_lv / 10; #else hp = (status_get_lv(src) + status_get_int(src)) / 8 * (4 + (skill_lv * 8)); #endif if( sd && ((skill = pc_checkskill(sd, HP_MEDITATIO)) > 0) ) hp_bonus += skill * 2; else if (src->type == BL_HOM && (skill = hom_checkskill(((TBL_HOM*)src), HLIF_BRAIN)) > 0) hp_bonus += skill * 2; if( sd && tsd && sd->status.partner_id == tsd->status.char_id && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE && sd->status.sex == 0 ) hp *= 2; break; } you can edit (i believe this one is for renewal) hp = (status_get_lv(src) + status_get_int(src)) / 5 * 30 * skill_lv / 10; (this one is for pre renewal) hp = (status_get_lv(src) + status_get_int(src)) / 8 * (4 + (skill_lv * 8)); Correct me if i'm wrong. pretty sure you can change the skill_lv to a specific number you want or you can change the multipliers / modifiers to your likeness. Or you can make your own formula regarding what you want to add/remove or alter in that given formula just don't remove the hp = Make sure to recompile and try it out. Quote
Question
AinsLord
is there any way to increase the heal rate for classes that has heal skill??
this is for pre-re without modifying or putting item bonus script
#TIA
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.