Skip to content

试着写了一个简单的开启游戏内置的godMode的代码(有千问AI协助) #1

@MasterPolymath

Description

@MasterPolymath

class GodMode {
// onLoopStart 在 GuiManager 初始化后,主循环开始前执行
onLoopStart() {
// 此时游戏环境已完全就绪,直接开启无敌
terra.export.g_player?.combat?.core.setGodMode(true);
}
}
terra.addAddon(new GodMode());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions