This commit is contained in:
aozhiwei 2023-03-21 14:33:45 +08:00
parent 249738f184
commit e5f23af683

View File

@ -1074,6 +1074,11 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
VP_Gas,
TEXT("battle_server_killer_gas", "毒圈"),
dmg_out);
} else if (cmd == "add_hp") {
if (cmds.size() > 1) {
float hp = a8::XValue(cmds[1]).GetDouble();
AddHp(hp);
}
} else if (cmd == "dec_hp") {
if (cmds.size() > 1) {
float dmg_out = 0;