1
This commit is contained in:
parent
8f714b5d62
commit
61bdb90974
@ -377,14 +377,14 @@ void CallFuncBuff::ProcAddMinorMode()
|
||||
}
|
||||
for (int buff_id : meta_ptr->_buff_param4_int_list) {
|
||||
#ifdef MYDEBUG
|
||||
if (owner_ptr.Get()->IsPlayer()) {
|
||||
if (owner_ptr.Get()->IsPlayer() && meta_ptr->buff_id() == 207041) {
|
||||
a8::XPrintf("addminor buff_id:%d\n", {buff_id});
|
||||
}
|
||||
#endif
|
||||
if (buff_id > 0) {
|
||||
owner_ptr.Get()->TryAddBuff(owner_ptr.Get(), buff_id, skill_meta_ptr);
|
||||
} else {
|
||||
owner_ptr.Get()->RemoveBuffById(buff_id);
|
||||
owner_ptr.Get()->RemoveBuffById(std::abs(buff_id));
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user