1
This commit is contained in:
parent
2e64330690
commit
3ef95fe2d0
@ -2455,7 +2455,16 @@ void Creature::OnBattleStart(Room* room)
|
||||
}
|
||||
#endif
|
||||
if (GetNetData()->HasWing()) {
|
||||
TryAddBuff(this, 1029000101);
|
||||
room->xtimer.SetTimeoutWpEx
|
||||
(
|
||||
2 * SERVER_FRAME_RATE,
|
||||
[this] (int event, const a8::Args* args)
|
||||
{
|
||||
if (a8::TIMER_EXEC_EVENT == event) {
|
||||
TryAddBuff(this, 1029000101);
|
||||
}
|
||||
},
|
||||
&xtimer_attacher);
|
||||
}
|
||||
for (int item_id : GetNetData()->GetAvatars()) {
|
||||
if (item_id == 290001) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user