I have a problem with the skill Epiclesis must understand that according to regenerate hp every 3 seconds and that is exactly the problem that my users accuse regenerates the correct% but not so in the correct time intervals.
I hope some of you can help, thanks in advance
Deputy skill lines in src/map/skill.c
case UNT_EPICLESIS:
if( bl->type == BL_PC && !battle_check_undead(tstatus->race, tstatus->def_ele) && tstatus->race != RC_DEMON )
{
if( ++sg->val2 % 3 == 0 ) {
int hp, sp;
switch( sg->skill_lv ) {
case 1: case 2: hp = 3; sp = 2; break;
case 3: case 4: hp = 4; sp = 3; break;
case 5: default: hp = 5; sp = 4; break;
}
hp = tstatus->max_hp * hp / 100;
sp = tstatus->max_sp * sp / 100;
status_heal(bl, hp, sp, 2);
sc_start(ss, bl, type, 100, sg->skill_lv, (sg->interval * 3) + 100);
Question
leondedios
Deputy skill lines in src/map/skill.c
Link to comment
Share on other sites
0 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.