This commit is contained in:
aozhiwei 2021-07-05 10:41:49 +00:00
parent fab51d4d99
commit 84b2c4bf08
3 changed files with 9 additions and 4 deletions

View File

@ -242,6 +242,9 @@ void Bullet::ProcSmokeBomb()
bool Bullet::IsBomb()
{
if (!meta) {
return false;
}
return
meta->i->_inventory_slot() == IS_RPG ||
meta->i->_inventory_slot() == IS_FRAG ||

View File

@ -253,10 +253,11 @@ void Creature::AddBuff(Creature* caster,
}
}
#ifdef DEBUG
SendDebugMsg(a8::Format("添加buff_id:%d buff_effect:%d",
SendDebugMsg(a8::Format("添加buff_id:%d buff_effect:%d name:%s",
{
buff_meta->i->buff_id(),
buff_meta->i->buff_effect()
buff_meta->i->buff_effect(),
buff_meta->i->name(),
}));
#endif
}

View File

@ -232,6 +232,7 @@ message Skill
message Buff
{
required int32 buff_id = 1;
required string name = 20;
required int32 buff_target = 2;
required int32 buff_effect = 3;
required int32 trigger_type = 4;