This commit is contained in:
aozhiwei 2022-10-12 20:44:11 +08:00
parent cbfff28fc1
commit b8b357410c

View File

@ -720,8 +720,8 @@ void Skill::ProcJYFH()
[this, buff_id, buff_time] (const std::vector<std::any>& params) [this, buff_id, buff_time] (const std::vector<std::any>& params)
{ {
Human* target = std::any_cast<Human*>(params.at(0)); Human* target = std::any_cast<Human*>(params.at(0));
owner->TryAddBuffAndSetTime(owner, buff_id, buff_time, meta); owner->TryAddBuffAndSetTime(owner, buff_id, buff_time * 1000, meta);
target->TryAddBuffAndSetTime(owner, buff_id, buff_time, meta); target->TryAddBuffAndSetTime(owner, buff_id, buff_time * 1000, meta);
} }
); );
owner->GetTrigger()->AddListener owner->GetTrigger()->AddListener