Skip to content

Commit

Permalink
Follow up to 19e4f59
Browse files Browse the repository at this point in the history
* Fixed a compile error.
  • Loading branch information
aleos89 committed Apr 2, 2016
1 parent 19e4f59 commit e0edc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/skill.c
Expand Up @@ -10109,7 +10109,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui

case WM_LULLABY_DEEPSLEEP:
if (flag&1) {
int rate = 4 * skill_lv + (sd ? pc_checkskill(sd, WM_LESSON) * 2) + status_get_lv(src) / 15 + (sd ? sd->status.job_level / 5 : 0);
int rate = 4 * skill_lv + (sd ? pc_checkskill(sd, WM_LESSON) * 2 : 0) + status_get_lv(src) / 15 + (sd ? sd->status.job_level / 5 : 0);
int duration = skill_get_time(skill_id, skill_lv) - (status_get_base_status(bl)->int_ * 50 + status_get_lv(bl) * 50); // Duration reduction for Deep Sleep Lullaby is doubled

sc_start(src, bl, type, rate, skill_lv, duration);
Expand Down

0 comments on commit e0edc99

Please sign in to comment.