1
This commit is contained in:
parent
249738f184
commit
e5f23af683
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user