Drop Rate

08/20/2018 08:24 khemomo#1
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
08/20/2018 10:11 Dr. Peacock#2
Check "PropDropEvent.inc "
08/20/2018 16:44 khemomo#3
Quote:
Originally Posted by Dr. Peacock View Post
Check "PropDropEvent.inc "
Can you explain what is the use of PropDropEvent.inc in drop rate? How is it being affected please thank you
08/21/2018 23:34 KingKeesie#4
PropDropEvent.inc is the GENERAL loot for mobs. PropMoverEx.inc is for individual drops.

PropMoverEx.inc 100% rate is 3000000000, correct me if im wrong. Hope this helped

If not just try editing some of the values and see what it does ingame.
08/22/2018 04:12 khemomo#5
Quote:
Originally Posted by KingKeesie View Post
PropDropEvent.inc is the GENERAL loot for mobs. PropMoverEx.inc is for individual drops.

PropMoverEx.inc 100% rate is 3000000000, correct me if im wrong. Hope this helped

If not just try editing some of the values and see what it does ingame.
100% of drop rate is not working if your drop rate in eventlua is being set to 1. thanks for for your help everyone. i got fixed this one :D