This commit is contained in:
aozhiwei 2023-11-16 19:34:21 +08:00
parent e5b20c7157
commit b374513c95
2 changed files with 15 additions and 1 deletions

View File

@ -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);
}

View File

@ -54,6 +54,7 @@ private:
void ActiveKeepRangeBuff();
void ActiveStrengthenWall();
void ActiveMedicalStation();
void ActiveFlameSurface();
void SummonAirDropBox(int box_id);
void ProcKeepRangeBuff();