1
This commit is contained in:
parent
63840e4eac
commit
5bbdbbf21b
@ -1668,20 +1668,16 @@ Hero* Creature::SummonHero(Buff* buff,
|
||||
const glm::vec3& dir
|
||||
)
|
||||
{
|
||||
#if 0
|
||||
const mt::Hero* hero_meta = mt::Hero::GetById(buff->meta->_int_buff_param1);
|
||||
Hero* hero = nullptr;
|
||||
const mt::Hero* hero_meta = mt::Hero::GetById(buff->meta->_int_buff_param2);
|
||||
if (hero_meta) {
|
||||
int life_time = 10000;
|
||||
bool through_wall = false;
|
||||
InternalSummonHero(buff,
|
||||
hero_meta,
|
||||
GetAttackDir(),
|
||||
pos,
|
||||
through_wall,
|
||||
1,
|
||||
life_time);
|
||||
hero = InternalSummonHero(buff,
|
||||
hero_meta,
|
||||
GetAttackDir(),
|
||||
pos
|
||||
);
|
||||
}
|
||||
#endif
|
||||
return hero;
|
||||
}
|
||||
|
||||
bool Creature::FreezeOperate()
|
||||
|
Loading…
x
Reference in New Issue
Block a user