Hi all
I add this piece of code in Dungeon_Elder_Secret_Hell.lua and triggered it, in order to get "Nasod turbine"
function CF_CUSTOM_TRIGGER0(pKTDXApp, pX2DungeonGame, pX2DungeonSubStage)
return true
end
function RF_CUSTOM_TRIGGER0(pKTDXApp, pX2DungeonGame, pX2DungeonSubStage)
local msgStr = ""
local myMsgBox
if pX2DungeonGame ~= nil then
do
local npcEnumID = "NUI_SOLDIER_BENDERS_ROYAL_HELL"
if NPC_UNIT_ID[npcEnumID] ~= nil then
do
local pos = pKTDXApp:GetVec3(4, 0, 0)
local bRight = false
local cnt = 0
for cnt = 1, 6 do
pX2DungeonGame:CreateNPCReq_LUA(NPC_UNIT_ID[npcEnumID], 30, true, pos, bRight, 0, false)
end
end
else
msgStr = "NPC_UNIT_ID not found"
end
end
else
msgStr = "pX2DungeonGame uninitialized"
end
if msgStr ~= "" then
myMsgBox = g_pMain:KTDGUIOKMsgBox(D3DXVECTOR2(250, 300), msgStr, g_pStage)
myMsgBox:SetModal(true)
myMsgBox:SetFront(true)
myMsgBox:SetLayer(X2_DIALOG_LAYER.XDL_MESSENGER)
myMsgBox:SetEnableMoveByDrag(true)
end
end
But...it only drops Dark Bethbite
Is it because of i spawn the wrong monster?
And...can I get boss drops if I change the spawned monster into the boss?
Please give me some advice ..thanks