1
This commit is contained in:
parent
076323856a
commit
000d929992
@ -1074,6 +1074,16 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
VP_Gas,
|
||||
TEXT("battle_server_killer_gas", "毒圈"),
|
||||
dmg_out);
|
||||
} else if (cmd == "dec_hp") {
|
||||
float dmg_out = 0;
|
||||
float dmg = a8::XValue(cmds[1]).GetDouble();
|
||||
DecHP(dmg, VP_Gas, TEXT("battle_server_killer_gas", "毒圈"), VW_Gas,
|
||||
VP_Gas,
|
||||
TEXT("battle_server_killer_gas", "毒圈"),
|
||||
dmg_out);
|
||||
} else if (cmd == "add_shield") {
|
||||
float hp = a8::XValue(cmds[1]).GetDouble();
|
||||
AddEnergyShield(hp);
|
||||
} else if (cmd == "shuaguai" && cmds.size() >= 3) {
|
||||
int hero_id = a8::XValue(cmds[1]);
|
||||
int hero_num = a8::XValue(cmds[2]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user