文章编辑人员:雪舞
内容测试时间:2023-8-23 07:32:45
测试版本:复古085版本
第一环:
删除TickCount >= 180的判断
--小怪全部击杀,直接出大怪 (雪舞移植) 2023-8-23 07:28:21
if monsternum >= 60 and iskillNiuQu == 1 and iskillNiuQi == 1 and isBossWang == 0 then
local BossWangId = LuaFnGetCopySceneData_Param( sceneId, 15 )
local mylevel = LuaFnGetCopySceneData_Param( sceneId, 16 )
monsterID = LuaFnCreateMonster( sceneId, BossWangId, 200, 48, 14, 262, 050220 )
SetLevel( sceneId, monsterID, mylevel+3 )--等级比一般小怪高3级
SetCharacterName( sceneId, monsterID, x050220_g_BossWang )
MonsterTalk(sceneId,monsterID,"玄雷坡","哇呀呀,何人敢闯我玄雷坡?!速来受死!")
LuaFnSetCopySceneData_Param( sceneId, 10, 1 )
end
第二环:
--优化出怪速度(无需等待15分钟) 雪舞移植 2023-8-23 07:31:23
if isFireBoss == 1 and isYaoWang == 0 then
local mylevel = LuaFnGetCopySceneData_Param( sceneId, 7 )
local iniLevel = LuaFnGetCopySceneData_Param( sceneId, 8 )
local YaoWangID = BossYaoWangIDTbl[1]
if BossYaoWangIDTbl[iniLevel] then
YaoWangID = BossYaoWangIDTbl[iniLevel]
end
local monsterID = LuaFnCreateMonster( sceneId, YaoWangID, x050221_g_BossYaoWangPos[1], x050221_g_BossYaoWangPos[2], 14, 268, 050221 )
SetLevel( sceneId, monsterID, mylevel+3 )--等级比一般小怪高3级
SetCharacterName( sceneId, monsterID, x050221_g_BossYaoWang )
MonsterTalk(sceneId,monsterID,"毒障泽地",x050221_g_YaoWangTalk)
LuaFnSetCopySceneData_Param( sceneId, 15, 1 )
end
|