This commit is contained in:
aozhiwei 2021-04-07 13:56:17 +08:00
parent 440a1be16c
commit 45c68e188c
2 changed files with 4 additions and 1 deletions

View File

@ -873,7 +873,8 @@ void Creature::ProcBuffEffect(Creature* caster, Buff* buff)
break;
case kBET_SummonObstacle:
{
SummonObstacle(buff->meta->param1, GetPos());
a8::Vec2 target_pos = caster->GetPos() + caster->skill_dir_ * caster->skill_distance_;
SummonObstacle(buff->meta->param1, target_pos);
}
break;
case kBET_Sprint:

View File

@ -39,6 +39,8 @@ message Map
message MapThing
{
optional int32 thing_id = 1; //id
optional int32 thing_type = 16;
optional int32 time = 17;
optional int32 type = 2; //
optional int32 height = 3; //
optional int32 width = 4; //