Hi, Just wanted to ask
How can i make Quest item and Penya Drop 100% in all monster?
I already set the drop in my PropMoverEx.inc in to this.
Code:
MI_NPC_YETI01
{
Maxitem = 2;
DropGold(500, 2000);
DropKind(IK3_SWD, 6, 6);
DropKind(IK3_AXE, 6, 6);
DropKind(IK3_CHEERSTICK, 6, 6);
DropKind(IK3_KNUCKLEHAMMER, 6, 6);
DropKind(IK3_WAND, 6, 6);
DropKind(IK3_STAFF, 6, 6);
DropKind(IK3_HELMET, 6, 6);
DropKind(IK3_SUIT, 6, 6);
DropKind(IK3_GAUNTLET, 6, 6);
DropKind(IK3_BOOTS, 6, 6);
DropKind(IK3_SHIELD, 6, 6);
DropKind(IK3_BOW, 6, 6);
DropKind(IK3_YOYO, 6, 6);
DropKind(IK3_THSWD, 6, 6);
DropKind(IK3_THAXE, 6, 6);
DropItem(II_GEN_MAT_ORICHALCUM01, 1500000, 0, 1);
DropItem(II_GEN_MAT_MOONSTONE, 1500000, 0, 1);
DropItem(II_CHP_RED, 3000000000, 0, 1);
DropItem(II_GEN_GEM_GEM_REDCRYSTAL, 3000000000, 0, 1);
m_nAttackFirstRange = 10;
AI
{
#Scan
{
scan
}
#battle
{
}
#move
{
}
}
}
And my rate is
Code:
-- 개별 아이템 드롭률 배수
function SetPieceItemDropRate( fPieceItemDropRate )
local nEventId = #(tEvent)
tEvent[nEventId].fPieceItemDropRate = fPieceItemDropRate
end
function GetPieceItemDropRate()
local tList = GetEventList()
local fPieceItemDropRate = 1
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 = #(tEvent)
tEvent[nEventId].fGoldDropFactor = fGoldDropFactor
end
function GetGoldDropFactor()
local tList = GetEventList()
local fGoldDropFactor = 1000
for i in pairs(tList) do
if( tEvent[tList[i]].fGoldDropFactor ~= nil ) then
fGoldDropFactor = fGoldDropFactor * tEvent[tList[i]].fGoldDropFactor
end
end
return fGoldDropFactor
end