1
This commit is contained in:
parent
440a1be16c
commit
45c68e188c
@ -873,7 +873,8 @@ void Creature::ProcBuffEffect(Creature* caster, Buff* buff)
|
|||||||
break;
|
break;
|
||||||
case kBET_SummonObstacle:
|
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;
|
break;
|
||||||
case kBET_Sprint:
|
case kBET_Sprint:
|
||||||
|
@ -39,6 +39,8 @@ message Map
|
|||||||
message MapThing
|
message MapThing
|
||||||
{
|
{
|
||||||
optional int32 thing_id = 1; //物件id
|
optional int32 thing_id = 1; //物件id
|
||||||
|
optional int32 thing_type = 16;
|
||||||
|
optional int32 time = 17;
|
||||||
optional int32 type = 2; //类型
|
optional int32 type = 2; //类型
|
||||||
optional int32 height = 3; //高度
|
optional int32 height = 3; //高度
|
||||||
optional int32 width = 4; //宽度
|
optional int32 width = 4; //宽度
|
||||||
|
Loading…
x
Reference in New Issue
Block a user