From e24c09caddfefc0de85c3d7b6bac1c0a23611794 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 11 Oct 2022 20:19:42 +0800 Subject: [PATCH] 1 --- server/gameserver/skill.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/server/gameserver/skill.cc b/server/gameserver/skill.cc index f936c001..3332cad1 100644 --- a/server/gameserver/skill.cc +++ b/server/gameserver/skill.cc @@ -490,6 +490,22 @@ void Skill::ProcSWZB() SkillHelper::GetSwzbEffect(meta), 0 ); +#ifdef DEBUG + { + std::string dbg_msg = a8::Format + ( + "skill_id:%d 死亡自爆 range:%f range2:%f ratio:%f time:%f", + { + meta->i->skill_id(), + meta->number_meta->float_range, + meta->number_meta->float_range2, + meta->number_meta->float_ratio, + meta->number_meta->float_time + }); + owner->SendDebugMsg(dbg_msg); + a8::XPrintf("%s\n", {dbg_msg}); + } +#endif } ); }