Dissidia Posted September 2, 2015 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted September 2, 2015 how can I change the highness skill to max hp heal to the players? tnx Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 10, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted September 10, 2015 (edited) in your skill.c case AB_HIGHNESSHEAL: { int heal = skill_calc_heal(src, bl, skill_id, skill_lv, true); int heal_get_jobexp; if( status_isimmune(bl) || (dstmd && (dstmd->mob_id == MOBID_EMPERIUM || mob_is_battleground(dstmd))) || (dstsd && pc_ismadogear(dstsd)) )//Mado is immune to heal heal=0; if( tsc && tsc->count ) { if( tsc->data[SC_KAITE] && !(sstatus->mode&MD_BOSS) ) { //Bounce back heal if (--tsc->data[SC_KAITE]->val2 <= 0) status_change_end(bl, SC_KAITE, INVALID_TIMER); if (src == bl) heal=0; //When you try to heal yourself under Kaite, the heal is voided. else { bl = src; dstsd = sd; } } else if (tsc->data[SC_BERSERK] || tsc->data[SC_SATURDAYNIGHTFEVER]) heal = 0; //Needed so that it actually displays 0 when healing. } clif_skill_nodamage (src, bl, skill_id, heal, 1); if( tsc && tsc->data[SC_AKAITSUKI] && heal && skill_id != HLIF_HEAL ) heal = ~heal + 1; heal_get_jobexp = status_heal(bl,heal,0,0); if(sd && dstsd && heal > 0 && sd != dstsd && battle_config.heal_exp > 0){ heal_get_jobexp = heal_get_jobexp * battle_config.heal_exp / 100; if (heal_get_jobexp <= 0) heal_get_jobexp = 1; pc_gainexp (sd, bl, 0, heal_get_jobexp, false); } } break; change this line heal_get_jobexp = status_heal(bl,heal,0,0); to this if(heal > 0) heal_get_jobexp = status_percent_heal(bl, skill_lv * 20, 0) and it will now heal for 20% of max hp per skill level (100% at max level) Edited September 10, 2015 by Stolao 1 Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 10, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted September 10, 2015 how can I change the highness skill to max hp heal to the players? tnx So you want it to fully heal the player (like ygg) right? Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 10, 2015 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 10, 2015 yes sir.. it is possible? Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 14, 2015 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 14, 2015 thank you so much @Stolao Quote Link to comment Share on other sites More sharing options...
Question
Dissidia
how can I change the highness skill to max hp heal to the players? tnx
Link to comment
Share on other sites
4 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.