1
This commit is contained in:
parent
4e07bbeae4
commit
9c57b56a3b
@ -876,6 +876,10 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
#if DEBUG
|
||||
App::Instance()->debug_params[1] = a8::XValue(cmds[1]);
|
||||
#endif
|
||||
} else if (cmd == "set_born_frameno_offset" && cmds.size() >= 2) {
|
||||
#if DEBUG
|
||||
App::Instance()->debug_params[118] = a8::XValue(cmds[1]);
|
||||
#endif
|
||||
} else if (cmd == "wudi") {
|
||||
int buff_uniid = TryAddBuff(this, 1005);
|
||||
if (buff_uniid != 0) {
|
||||
|
@ -59,6 +59,13 @@ void RoomObstacle::Initialize()
|
||||
room->mine_objects[GetUniId()] = GetWeakPtrRef();
|
||||
}
|
||||
born_frameno = room->GetFrameNo();
|
||||
#ifdef DEBUG
|
||||
{
|
||||
if (App::Instance()->debug_params.find(118) != App::Instance()->debug_params.end()) {
|
||||
born_frameno += App::Instance()->debug_params[118] * 2;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void RoomObstacle::RecalcSelfCollider()
|
||||
|
Loading…
x
Reference in New Issue
Block a user