From b8b357410c6fae0c3bd651c9851c7fbd3b6f3a94 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 12 Oct 2022 20:44:11 +0800 Subject: [PATCH] 1 --- server/gameserver/skill.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/gameserver/skill.cc b/server/gameserver/skill.cc index 5b863bc2..f7d778a0 100644 --- a/server/gameserver/skill.cc +++ b/server/gameserver/skill.cc @@ -720,8 +720,8 @@ void Skill::ProcJYFH() [this, buff_id, buff_time] (const std::vector& params) { Human* target = std::any_cast(params.at(0)); - owner->TryAddBuffAndSetTime(owner, buff_id, buff_time, meta); - target->TryAddBuffAndSetTime(owner, buff_id, buff_time, meta); + owner->TryAddBuffAndSetTime(owner, buff_id, buff_time * 1000, meta); + target->TryAddBuffAndSetTime(owner, buff_id, buff_time * 1000, meta); } ); owner->GetTrigger()->AddListener