1
This commit is contained in:
parent
e5b20c7157
commit
b374513c95
@ -286,7 +286,7 @@ void RoomObstacle::Active()
|
||||
break;
|
||||
case kObstacleFlameSurface:
|
||||
{
|
||||
|
||||
ActiveFlameSurface();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
@ -906,3 +906,16 @@ void RoomObstacle::RemoveSameSkillObstacle()
|
||||
master.Get()->RemoveSkillObstacle(skill_meta);
|
||||
}
|
||||
}
|
||||
|
||||
void RoomObstacle::ActiveFlameSurface()
|
||||
{
|
||||
room->xtimer.SetIntervalEx
|
||||
(
|
||||
1000 / FRAME_RATE_MS,
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
}
|
||||
},
|
||||
&xtimer_attacher);
|
||||
}
|
||||
|
@ -54,6 +54,7 @@ private:
|
||||
void ActiveKeepRangeBuff();
|
||||
void ActiveStrengthenWall();
|
||||
void ActiveMedicalStation();
|
||||
void ActiveFlameSurface();
|
||||
|
||||
void SummonAirDropBox(int box_id);
|
||||
void ProcKeepRangeBuff();
|
||||
|
Loading…
x
Reference in New Issue
Block a user