This commit is contained in:
aozhiwei 2019-07-10 10:40:32 +08:00
parent 042d158003
commit 4d51dde48d

View File

@ -1356,7 +1356,7 @@ void Human::AddBuff(MetaData::Buff* buff_meta)
room->frame_event.AddBuff(this, buff); room->frame_event.AddBuff(this, buff);
{ {
room->xtimer.AddDeadLineTimerAndAttach( room->xtimer.AddDeadLineTimerAndAttach(
buff_meta->i->duration_time() / FRAME_RATE_MS, buff_meta->i->duration_time() / SERVER_FRAME_RATE,
a8::XParams() a8::XParams()
.SetSender(this) .SetSender(this)
.SetParam1(buff_meta->i->buff_id()), .SetParam1(buff_meta->i->buff_id()),