1
This commit is contained in:
parent
2652355cba
commit
9db1d2d575
@ -524,6 +524,7 @@ enum BtEvent_e
|
|||||||
{
|
{
|
||||||
kUnderAttackEvent = 0,
|
kUnderAttackEvent = 0,
|
||||||
kMasterUnderAttackEvent = 1,
|
kMasterUnderAttackEvent = 1,
|
||||||
|
kMobaModeReviveEvent = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* const PROJ_NAME_FMT = "game%d_gameserver";
|
const char* const PROJ_NAME_FMT = "game%d_gameserver";
|
||||||
|
@ -132,6 +132,8 @@ class Creature : public MoveableEntity
|
|||||||
a8::XTimerWp nature_recover_hp_idle_timer;
|
a8::XTimerWp nature_recover_hp_idle_timer;
|
||||||
|
|
||||||
int side = 0;
|
int side = 0;
|
||||||
|
int road_idx = 0;
|
||||||
|
int point_idx = 0;
|
||||||
|
|
||||||
Creature();
|
Creature();
|
||||||
virtual ~Creature() override;
|
virtual ~Creature() override;
|
||||||
|
@ -361,7 +361,7 @@ namespace mt
|
|||||||
const std::tuple<std::shared_ptr<WorldObject>, int>& b) {
|
const std::tuple<std::shared_ptr<WorldObject>, int>& b) {
|
||||||
return std::get<0>(a)->pos.x < std::get<0>(b)->pos.x;
|
return std::get<0>(a)->pos.x < std::get<0>(b)->pos.x;
|
||||||
});
|
});
|
||||||
if (!points.empty()) {
|
if (points.size() < 3) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user