-
Changing Drop Rates
Hello, I am using the official files and I am needing help with changing the rates. I want my at 25x Exp, 50x Drop, 100x Penya. My main concern is the 50x drop so I have tried going into the constant file to change in C:\\neurospace\Resource\Constant.inc as followed:
Code:
// 1.0Àº ±âº» °ª
// 2.0Àº ¹è¼ö
// 0.5´Â 1/2
// itemDropRate = 1.0 // ¾ÆÀÌÅÛ µå·Ó·ü
// goldDropRate = 1.0 // Æä³Ä µå·Ó·ü
// monsterExpRate = 1.0 // ¸ó½ºÅÍ °æÇèÄ¡·ü
// monsterHitRate = 1.0 // ¸ó½ºÅÍ È÷Æ®·ü (¸ó½ºÅÍÀÇ °ø°Ý·Â)
// ÆÄÀÏÀÇ À§Ä¡ ; resource\constant.inc
// Constant.txt´Â ¿ùµå ¼¹öÀÇ ½ºÅ©¸³Æ®ÀÌ¸ç ³»¿ë ¼öÁ¤ÇÑ ÈÄ¿¡ ¹Ýµå½Ã ¿ùµå ¼¹ö¸¦ ¸®º×ÇØ¾ßÇÑ´Ù.
// ¿î¿µÀÚ ¸í·É¾î ; µ¿ÀÏ ¼öÄ¡¸¦ °ÔÀÓ³»¿¡¼µµ ½Ç½Ã°£ ¼öÁ¤ °¡´ÉÇÔ. ºñÀ²À» ÀÔ·ÂÇÏÁö ¾Ê°í ±×³É ¿£ÅÍÄ¡¸é ÇöÀç »óÅ Ãâ·Â
// ¿µ¹® ¸í·É
// ItemDropRade [ºñÀ²]
// GoldDropRade [ºñÀ²]
// MonsterExpRate [ºñÀ²]
// MonsterHitRate [ºñÀ²]
// ÇÑ±Û ¸í·É
// ¾ÆÀÌÅÛµå·Ó·ü [ºñÀ²]
// °ñµåµå·Ó·ü [ºñÀ²]
// ¸ó½ºÅͰæÇèÄ¡·ü [ºñÀ²]
// ¸ó½ºÅÍÈ÷Æ®·ü [ºñÀ²]
//----------------------------------------------------------------------------------------------------//
lang LANG_KOR // ¾ð¾î ¼¼ÆÃ, ÀÌÇÏ Çѱ¹ ¹öÁ¯¿¡ Àû¿ë
{
formula
{
itemDropRate = 1.0
goldDropRate = 1.0
monsterExpRate = 1.0
monsterHitRate = 1.0
dwVagSP = 1
dwExpertSP = 2
dwProSP = 3
}
}
//----------------------------------------------------------------------------------------------------//
lang LANG_JAP // ÀϺ» ³À̵µ ¼¼ÆÃ.(ÀϺ» °ü°èÀÚµéÀº À̺κи¸ °íÄ¡½Ã°í, Â÷ÈÄ ÆÐÄ¡½Ã Çѱ¹ ¹öÁ¯À¸·Î overwriteµÉ ¼ö ÀÖÀ¸¹Ç·Î ÇȽºµÈ ¼öÄ¡´Â Çѱ¹¿¡ Å뺸 ¹Ù¶÷)
{
formula
{
itemDropRate = 1.0 // ¾ÆÀÌÅÛ µå·Ó·ü 1.0ÀÌ¸é ±âº»°ª, 2.0ÀÌ¸é µÎ¹è, 3.0ÀÌ¸é ¼¼¹è. ÀÌÇÏ ¸ðµÎ µ¿ÀÏ ±ÔÄ¢. ³ôÀ» ¼ö·Ï µå·ÓÀ² »ó½Â
goldDropRate = 1.0 // Æä³Ä µå·Ó·ü ; ³ôÀ» ¼ö·Ï Æä³Ä µå·Ó·ü »ó½Â
monsterExpRate = 1.0 // ¸ó½ºÅÍ °æÇèÄ¡·ü ; ³ôÀ» ¼ö·Ï ¸ó½ºÅͰ¡ ÁÖ´Â °æÇèÄ¡ »ó½Â
monsterHitRate = 1.0 // ¸ó½ºÅÍ È÷Æ®·ü (¸ó½ºÅÍÀÇ °ø°Ý·Â) ³ôÀ» ¼ö·Ï ¸ó½ºÅÍÀÇ °ø°Ý·ÂÀÌ ¼¼Áø´Ù.
dwVagSP = 1
dwExpertSP = 2
dwProSP = 3
}
}
//----------------------------------------------------------------------------------------------------//
lang LANG_ENG
{
formula
{
itemDropRate = 50.0
goldDropRate = 100.0
monsterExpRate = 25.0
monsterHitRate = 1.0
dwVagSP = 1
dwExpertSP = 2
dwProSP = 3
}
}
and I have already tried changing the file of C:\neurospace\Resource\LuaFunc\EventFunc.lua
Code:
-- °æÇèÄ¡ ¹è¼ö
function SetExpFactor( fExpFactor )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fExpFactor = fExpFactor
end
function GetExpFactor()
local tList = GetEventList()
local fExpFactor = 5
for i in pairs(tList) do
if( tEvent[tList[i]].fExpFactor ~= nil ) then
fExpFactor = fExpFactor * tEvent[tList[i]].fExpFactor
end
end
return fExpFactor
end
-- ¾ÆÀÌÅÛ µå·Ó·ü ¹è¼ö
function SetItemDropRate( fItemDropRate )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fItemDropRate = fItemDropRate
end
function GetItemDropRate()
local tList = GetEventList()
local fItemDropRate = 50
for i in pairs(tList) do
if( tEvent[tList[i]].fItemDropRate ~= nil ) then
fItemDropRate = fItemDropRate * tEvent[tList[i]].fItemDropRate
end
end
return fItemDropRate
end
-- °³º° ¾ÆÀÌÅÛ µå·Ó·ü ¹è¼ö
function SetPieceItemDropRate( fPieceItemDropRate )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fPieceItemDropRate = fPieceItemDropRate
end
function GetPieceItemDropRate()
local tList = GetEventList()
local fPieceItemDropRate = 5
for i in pairs(tList) do
if( tEvent[tList[i]].fPieceItemDropRate ~= nil ) then
fPieceItemDropRate = fPieceItemDropRate * tEvent[tList[i]].fPieceItemDropRate
end
end
return fPieceItemDropRate
end
-- Æä³Ä µå·Ó ¹è¼ö
function SetGoldDropFactor( fGoldDropFactor )
local nEventId = table.getn(tEvent)
tEvent[nEventId].fGoldDropFactor = fGoldDropFactor
end
function GetGoldDropFactor()
local tList = GetEventList()
local fGoldDropFactor = 20
for i in pairs(tList) do
if( tEvent[tList[i]].fGoldDropFactor ~= nil ) then
fGoldDropFactor = fGoldDropFactor * tEvent[tList[i]].fGoldDropFactor
end
end
return fGoldDropFactor
end
-- °ø°Ý·Â Áõ°¡
function SetAttackPower( nAttackPower )
local nEventId = table.getn(tEvent)
tEvent[nEventId].nAttackPower = nAttackPower
end
function GetAttackPower()
local tList = GetEventList()
local nAttackPower = 0
for i in pairs(tList) do
if( tEvent[tList[i]].nAttackPower ~= nil ) then
nAttackPower = nAttackPower + tEvent[tList[i]].nAttackPower
end
end
return nAttackPower
end
I am sorry for the long post and for such an annoying post. I usually do not like asking for help from a forum and I do not wish to be flamed.
Also: This isn't the entire file. I just cut an excerpt from the file. If you need the complete file(s) then just ask and I'll post it.
-
Re: Changing Drop Rates
Bump. If anyone knows how to fix this issue it'd be appreciated.