This commit is contained in:
aozhiwei 2023-02-13 15:53:31 +08:00
parent 2555fdac88
commit 67fcc8d4ca
3 changed files with 10 additions and 5 deletions

View File

@ -30,8 +30,7 @@ A8_DECLARE_ENUM(SpecBuffId_e,
kInvincibleBuffId = 1005,
);
enum BuffEffectType_e
{
A8_DECLARE_ENUM(BuffEffectType_e,
kBET_Begin = 0,
kBET_ChgAttr = 1, //改变属性
kBET_TurnOver = 2, //翻滚
@ -113,7 +112,7 @@ enum BuffEffectType_e
kBET_InRescue = 77, //被救援中(被就方)
kBET_End
};
);
enum EntityType_e
{

View File

@ -229,7 +229,13 @@ void SelfChecker::Check()
[] (const mt::Buff* meta, bool& stop)
{
if (SelfChecker::used_buffs.find(meta->buff_id()) == SelfChecker::used_buffs.end()) {
a8::XPrintf("unuse buff:%d %s\n", {meta->buff_id(), meta->name()});
a8::XPrintf("unuse buff:%d %d %s %s\n",
{meta->buff_id(),
meta->buff_effect(),
meta->name(),
a8::GetEnumName<BuffEffectType_e>(meta->buff_effect())
}
);
}
});
}

2
third_party/a8 vendored

@ -1 +1 @@
Subproject commit cdab528313c06e9a6df5ae740a58f624b65332d3
Subproject commit 58dd5bb850143cd6d0b55a99c1d7197e6153fea7