1
This commit is contained in:
parent
9fe1c9a4bb
commit
fbfbd24707
@ -134,12 +134,13 @@ void Buff::InternalTimerAddBuff()
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
float param1 = meta->GetBuffParam1(this);
|
||||||
switch (meta->buff_effect() ) {
|
switch (meta->buff_effect() ) {
|
||||||
case kBET_DelayAddBuff:
|
case kBET_DelayAddBuff:
|
||||||
{
|
{
|
||||||
owner->room->xtimer.SetTimeoutEx
|
owner->room->xtimer.SetTimeoutEx
|
||||||
(
|
(
|
||||||
meta->_buff_param1 * SERVER_FRAME_RATE,
|
param1 * SERVER_FRAME_RATE,
|
||||||
timer_func,
|
timer_func,
|
||||||
&xtimer_attacher
|
&xtimer_attacher
|
||||||
);
|
);
|
||||||
@ -149,7 +150,7 @@ void Buff::InternalTimerAddBuff()
|
|||||||
{
|
{
|
||||||
owner->room->xtimer.SetIntervalEx
|
owner->room->xtimer.SetIntervalEx
|
||||||
(
|
(
|
||||||
meta->_buff_param1 * SERVER_FRAME_RATE,
|
param1 * SERVER_FRAME_RATE,
|
||||||
timer_func,
|
timer_func,
|
||||||
&xtimer_attacher
|
&xtimer_attacher
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user