1
This commit is contained in:
parent
72b288c2a9
commit
2f01c27bbc
@ -84,6 +84,19 @@ void Android::Update(int delta_time)
|
||||
return;
|
||||
}
|
||||
}
|
||||
#ifdef MYDEBUG
|
||||
if (room->BattleStarted()) {
|
||||
if (!dead &&
|
||||
room->debug_params.find(119) != room->debug_params.end()) {
|
||||
BeKill(VP_Gas,
|
||||
TEXT("battle_server_killer_gas", "毒圈"),
|
||||
VW_Gas,
|
||||
VP_Gas,
|
||||
TEXT("battle_server_killer_gas", "毒圈"));
|
||||
a8::UnSetBitFlag(status, CS_Disable);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
InternalUpdate(delta_time);
|
||||
shot_hold = false;
|
||||
CheckShotHold();
|
||||
|
@ -83,6 +83,10 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
||||
room->stop_world = true;
|
||||
} else if (cmd == "start_world") {
|
||||
room->stop_world = false;
|
||||
} else if (cmd == "chiji") {
|
||||
#if DEBUG
|
||||
room->debug_params[119] = 1;
|
||||
#endif
|
||||
} else if (cmd == "add_hp") {
|
||||
if (cmds.size() > 1) {
|
||||
float hp = a8::XValue(cmds[1]).GetDouble();
|
||||
|
Loading…
x
Reference in New Issue
Block a user