From f6dd49e8b6b6dcc1371337dd2748e0b6e11fc687 Mon Sep 17 00:00:00 2001 From: Aleos Date: Tue, 6 Apr 2021 16:30:44 -0400 Subject: [PATCH] Resolves Mercenary's Lex Divina skill (#5825) * Fixes #5777. * Adds a missing case for applying the Lex Divina status. * Updates the database duration to use the correct values. Thanks to @rubie123! --- db/pre-re/skill_db.yml | 2 +- db/re/skill_db.yml | 2 +- src/map/skill.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/db/pre-re/skill_db.yml b/db/pre-re/skill_db.yml index 13ec09c90a..147dab749a 100644 --- a/db/pre-re/skill_db.yml +++ b/db/pre-re/skill_db.yml @@ -32863,7 +32863,7 @@ Body: Hit: Single CastCancel: true AfterCastActDelay: 3000 - Duration1: + Duration2: - Level: 1 Time: 30000 - Level: 2 diff --git a/db/re/skill_db.yml b/db/re/skill_db.yml index bc5c89874c..f2de2739bd 100644 --- a/db/re/skill_db.yml +++ b/db/re/skill_db.yml @@ -36384,7 +36384,7 @@ Body: Hit: Single CastCancel: true AfterCastActDelay: 3000 - Duration1: + Duration2: - Level: 1 Time: 30000 - Level: 2 diff --git a/src/map/skill.cpp b/src/map/skill.cpp index f6f5d0b463..c94adffaf6 100755 --- a/src/map/skill.cpp +++ b/src/map/skill.cpp @@ -4255,6 +4255,7 @@ static TIMER_FUNC(skill_timerskill){ // Fall through case PR_STRECOVERY: case BS_HAMMERFALL: + case MER_LEXDIVINA: sc_start(src, target, status_skill2sc(skl->skill_id), skl->type, skl->skill_lv, skill_get_time2(skl->skill_id, skl->skill_lv)); break; case WZ_WATERBALL: