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