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->SetTeamId(room, team_id);
|
||||||
obstacle->SetMasterId(room, GetEntityUniId());
|
obstacle->SetMasterId(room, GetEntityUniId());
|
||||||
obstacle->Active();
|
obstacle->Active();
|
||||||
|
slave_things_.push_back(obstacle);
|
||||||
} else {
|
} else {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
@ -1547,6 +1548,7 @@ void Creature::SummonHero(const a8::Vec2& pos,
|
|||||||
dir,
|
dir,
|
||||||
team_id
|
team_id
|
||||||
);
|
);
|
||||||
|
slave_heros_.push_back(hero);
|
||||||
break;
|
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);
|
Skill* GetPassiveSkill(int skill_id);
|
||||||
void RemovePassiveSkill(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:
|
protected:
|
||||||
RaceType_e race_ = kHumanRace;
|
RaceType_e race_ = kHumanRace;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user