1
This commit is contained in:
parent
f2b13a69a8
commit
d40c8d5348
@ -1396,6 +1396,7 @@ RoomObstacle* Creature::SummonObstacle(int id, const a8::Vec2& pos)
|
||||
obstacle->SetTeamId(room, team_id);
|
||||
obstacle->SetMasterId(room, GetEntityUniId());
|
||||
obstacle->Active();
|
||||
slave_things_.push_back(obstacle);
|
||||
} else {
|
||||
abort();
|
||||
}
|
||||
@ -1547,6 +1548,7 @@ void Creature::SummonHero(const a8::Vec2& pos,
|
||||
dir,
|
||||
team_id
|
||||
);
|
||||
slave_heros_.push_back(hero);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1568,3 +1570,13 @@ void Creature::SlaveOnRemove(Entity* slave)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Creature::RemoveMoreHero(int buff_id, int id, int num)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Creature::RemoveMoreObstacle(int buff_id, int id, int num)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -164,6 +164,8 @@ private:
|
||||
|
||||
Skill* GetPassiveSkill(int skill_id);
|
||||
void RemovePassiveSkill(int skill_id);
|
||||
void RemoveMoreHero(int buff_id, int id, int num);
|
||||
void RemoveMoreObstacle(int buff_id, int id, int num);
|
||||
|
||||
protected:
|
||||
RaceType_e race_ = kHumanRace;
|
||||
|
Loading…
x
Reference in New Issue
Block a user