1
This commit is contained in:
parent
e17c25b65f
commit
ec9aea5bc1
@ -167,6 +167,9 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
||||
if (buff_meta) {
|
||||
MustBeAddBuff(this, buff_id);
|
||||
}
|
||||
} else if (cmd == "delbuff" && cmds.size() >= 2) {
|
||||
int buff_id = a8::XValue(cmds[1]);
|
||||
RemoveBuffById(buff_id);
|
||||
} else if (cmd == "findobj" && cmds.size() >= 2) {
|
||||
int obj_uniid = a8::XValue(cmds[1]);
|
||||
Entity* e = room->GetEntityByUniId(obj_uniid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user