1
This commit is contained in:
parent
0dbd6af8f4
commit
ad97ab4c31
@ -881,6 +881,10 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
#if DEBUG
|
||||
App::Instance()->debug_params[118] = a8::XValue(cmds[1]);
|
||||
#endif
|
||||
} else if (cmd == "chiji") {
|
||||
#if DEBUG
|
||||
App::Instance()->debug_params[119] = 1;
|
||||
#endif
|
||||
} else if (cmd == "wudi") {
|
||||
int buff_uniid = TryAddBuff(this, 1005);
|
||||
if (buff_uniid != 0) {
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include "human.h"
|
||||
#include "room.h"
|
||||
#include "app.h"
|
||||
|
||||
void Team::TraverseMembers(std::function<bool (Human*)> func)
|
||||
{
|
||||
@ -35,6 +36,11 @@ Human* Team::GetOneAliveMember(Human* exclude_hum)
|
||||
|
||||
bool Team::HasAliveMember()
|
||||
{
|
||||
#if DEBUG
|
||||
if (App::Instance()->debug_params.find(199) != App::Instance()->debug_params.end()) {
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
for (Human* member : members_) {
|
||||
if (!member->real_dead) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user