|
@@ -9371,6 +9371,7 @@ static int status_get_sc_interval(enum sc_type type)
|
|
case SC_DPOISON:
|
|
case SC_DPOISON:
|
|
case SC_DEATHHURT:
|
|
case SC_DEATHHURT:
|
|
case SC_GRADUAL_GRAVITY:
|
|
case SC_GRADUAL_GRAVITY:
|
|
|
|
+ case SC_KILLING_AURA:
|
|
return 1000;
|
|
return 1000;
|
|
case SC_BURNING:
|
|
case SC_BURNING:
|
|
case SC_PYREXIA:
|
|
case SC_PYREXIA:
|
|
@@ -10849,6 +10850,7 @@ int status_change_start(struct block_list* src, struct block_list* bl,enum sc_ty
|
|
case SC_POISON:
|
|
case SC_POISON:
|
|
case SC_BLEEDING:
|
|
case SC_BLEEDING:
|
|
case SC_BURNING:
|
|
case SC_BURNING:
|
|
|
|
+ case SC_KILLING_AURA:
|
|
tick_time = status_get_sc_interval(type);
|
|
tick_time = status_get_sc_interval(type);
|
|
val4 = tick - tick_time; // Remaining time
|
|
val4 = tick - tick_time; // Remaining time
|
|
break;
|
|
break;
|
|
@@ -14763,6 +14765,10 @@ TIMER_FUNC(status_change_timer){
|
|
dounlock = true;
|
|
dounlock = true;
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
|
|
+ case SC_KILLING_AURA:
|
|
|
|
+ if (sce->val4 >= 0)
|
|
|
|
+ skill_castend_damage_id( bl, bl, NPC_KILLING_AURA, sce->val1, tick, 0 );
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
|
|
|
|
// If status has an interval and there is at least 100ms remaining time, wait for next interval
|
|
// If status has an interval and there is at least 100ms remaining time, wait for next interval
|