1
This commit is contained in:
parent
fab51d4d99
commit
84b2c4bf08
@ -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 ||
|
||||
|
@ -253,11 +253,12 @@ 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_id(),
|
||||
buff_meta->i->buff_effect(),
|
||||
buff_meta->i->name(),
|
||||
}));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user