1
This commit is contained in:
parent
2a610760b1
commit
359971fc9d
@ -395,7 +395,7 @@ int Creature::AddBuff(Creature* caster,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
SendDebugMsg(a8::Format("添加buff_id:%d effect:%d %s params:%d,%d,%d,%d,%d uniid:%d",
|
SendDebugMsg(a8::Format("添加buff_id:%d effect:%d %s params:%d,%d,%d,%d,%d uniid:%d dur:%d",
|
||||||
{
|
{
|
||||||
buff_meta->i->buff_id(),
|
buff_meta->i->buff_id(),
|
||||||
buff_meta->i->buff_effect(),
|
buff_meta->i->buff_effect(),
|
||||||
@ -405,7 +405,8 @@ int Creature::AddBuff(Creature* caster,
|
|||||||
buff_meta->int_param3,
|
buff_meta->int_param3,
|
||||||
buff_meta->int_param4,
|
buff_meta->int_param4,
|
||||||
buff_meta->int_param5,
|
buff_meta->int_param5,
|
||||||
buff->buff_uniid
|
buff->buff_uniid,
|
||||||
|
room->xtimer.GetRemainTime(buff->remover_timer)
|
||||||
}));
|
}));
|
||||||
#endif
|
#endif
|
||||||
return new_buff_uniid;
|
return new_buff_uniid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user