少年修仙传服务端代码子仓库
hxp
2023-11-30 5079c127caf015a51343d772f44ad9e326a5375b
10019 【砍树】回合战斗(与NPC基础回合战斗)
6个文件已添加
23 ■■■■■ 已修改文件
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight 补丁 | 查看 | 原始文档 | blame | 历史
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight.des 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight.h 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState.des 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState.h 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight.des
New file
@@ -0,0 +1 @@
B4 10 回合制战斗 #tagCMTurnFight
ClientPack/ClientToMapServer/CB4_FightDefine/TurnFight.h
New file
@@ -0,0 +1,9 @@
// B4 10 回合制战斗 #tagCMTurnFight
struct    tagCMTurnFight
{
    tagHead        Head;
    DWORD        MapID;    // 自定义地图ID,可用于绑定战斗场景功能(如野外关卡,爬塔功能,竞技场等)
    WORD        FuncLineID;
    DWORD        PlayerID;    // 对应玩家ID,可为0,某些功能可能有用,如竞技场
};
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState.des
New file
@@ -0,0 +1 @@
B4 20 回合制战斗状态 #tagMCTurnFightState
ServerPack/MapServerPack/HB4_FightDefine/TurnFightState.h
New file
@@ -0,0 +1,12 @@
// B4 20 回合制战斗状态 #tagMCTurnFightState
struct    tagMCTurnFightState
{
    tagHead        Head;
    DWORD        MapID;    // 自定义地图ID,可用于绑定战斗场景功能(如野外关卡,爬塔功能,竞技场等)
    WORD        FuncLineID;
    DWORD        PlayerID;    // 对应玩家ID,可为0,某些功能可能有用,如竞技场
    BYTE        State;    // 0-开始;1-进行中;2-结束
    BYTE        TurnNum;        // 当前轮次
    BYTE        TurnMax;        // 最大轮次
};