魔兽TD地图修改成单机的
来源:百度知道 编辑:UC知道 时间:2024/05/22 13:50:07
用 JassShopPro 打开 war3map.j 文件
用搜索 找到
call CreateNUnitsAtLocFacingLocBJ( 1, udg_EnemyType[udg_pointer], Playe(11),
GetRandomLocInRect(gg_rct_Monster_Spawn_Bottom_Left), GetUnitLoc(GetTriggerUnit()) )
call CreateNUnitsAtLocFacingLocBJ( 1, udg_EnemyType[udg_pointer], Player(11), GetRandomLocInRect(gg_rct_Monster_Spawn_Bottom_Right), GetUnitLoc(GetTriggerUnit()) )
call CreateNUnitsAtLocFacingLocBJ( 1, udg_EnemyType[udg_pointer], Player(11), GetRandomLocInRect(gg_rct_Monster_Spawn_Top_Right), GetUnitLoc(GetTriggerUnit()) )
call CreateNUnitsAtLocFacingLocBJ( 1, udg_EnemyType[udg_pointer], Player(11), GetRandomLocInRect(gg_rct_Monster_Spawn_Top_Left), GetUnitLoc(GetTriggerUnit()) )
替换成
if ( GetPlayerSlotState(Player(3)) == PLAYER_SLOT_STATE_PLAYING ) then
call CreateNUnitsAtLocFacingLocBJ( 1, udg_EnemyType[udg_pointer], Player(11), GetRandomLocInRect(gg_rct_Monster_Spawn_Top_Left), GetUnitLoc(GetTrigge