修复地雷问题
This commit is contained in:
parent
cb265753ad
commit
208ab9accd
@ -23,7 +23,7 @@ void InternalShot(Creature* c,
|
||||
if (weapon_meta->i->_inventory_slot() == IS_TRAP ||
|
||||
weapon_meta->i->_inventory_slot() == IS_MINE) {
|
||||
a8::Vec2 old_buff_vec2_param1 = c->buff_vec2_param1;
|
||||
c->buff_vec2_param1 = c->GetPos();
|
||||
c->buff_vec2_param1 = c->GetPos() + c->GetAttackDir() * fly_distance;
|
||||
MetaData::Buff * buff_meta = MetaMgr::Instance()->GetBuff(bullet_meta->i->buffid());
|
||||
if (buff_meta) {
|
||||
c->AddBuff(c,
|
||||
|
Loading…
x
Reference in New Issue
Block a user