Jump to content

Recommended Posts

  • Premium

hello,

 

i'm trying to put some drops in my metins. At this moment i have mob_drop in this way:

 

 

Group    metinlvlone    
{    
    Type    drop    
    mob    8001
    1    50401    1    10
    2    50402    1    10
    3    50403    1    10
    4    50404    1    10
    5    50405    1    10
    6    50406    1    10
    7    50416    1    10
    8    50417    1    10
    9    50418    1    10
    10    50419    1    10
    11    50420    1    10
    12    50421    1    10
    13    50431    1    10
    14    50432    1    10
    15    50433    1    10
    16    50434    1    10
    17    50435    1    10
    18    50436    1    10
    19    50446    1    10
    20    50447    1    10
    21    50448    1    10
    22    50449    1    10
    23    50450    1    10
    24    50451    1    10
    25    50461    1    10
    26    50462    1    10
    27    50463    1    10
    28    50464    1    10
    29    50465    1    10
    30    50466    1    10
    31    50476    1    10
    32    50477    1    10
    33    50478    1    10
    34    50479    1    10
    35    50480    1    10
    36    50481    1    10
    37    50491    1    10
    38    50492    1    10
    39    50493    1    10
    40    50494    1    10
    41    50495    1    10
    42    50496    1    10
    43    50506    1    10
    44    50507    1    10
    45    50508    1    10
    46    50509    1    10
    47    50510    1    10
    48    50511    1    10
    49    27994    1    1000
}    

 

 

 

i wanna drop allways one 27994 item, so i have 1000%

but i wanna only one or more 2 Skill books. How can i make that? Can any one explain to me pls.

At this way, i ollway drop de item 27994 and 1 or 2 or 5 more books. How can i make to drop only one 27994 and one or 2 books?

Edited by EnKor
if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Ok so this is your call

1. Dublicate line to have 2 book drop but they will be different like aura and taichi

or 

2. Make skill books stackable and make a line like this.

49    27994    2    1000

with 2 instead of 1.  But remember item must be stackable. And will the same like 2 aura or 2 taichi.

PS. Do not use 1000% becouse they will drop even at level 105, use 300-400 maxim.

 

Edited by JIntors
Link to comment
Share on other sites

if you use the mob_drop_item file it will drop randomly one ore more item you put in the group. If you need only 2 items for each metin you can put your books in a chest like jintors said or you can also make the drop through quest, like this:

when 8001.kill begin

if pc.get_level() < "max level you want they drop" then
game.drop_item_with_ownership(27994,1)

local book = {50481,50491,...}

local drop1 = math.random(1,how many books there are, i don't remember)

local drop2 = another math random  -- these 2 math randoms selects the 2 books you will drop from the previously made list (book)

game.drop_item_with_ownership(book[drop1],1)

game.drop_item_with_ownership(book[drop2],1)

remember however that using this method can create some trouble when you make quests that uses that mobs

Edited by ElBrujoo
Link to comment
Share on other sites

1. Becouse quests use mysql from players.quests

2. You over use quest sistem all players call for them its not to good

3. You cant use % for drop or % in rate with other items from drop.

4. Why ymir didnt make drop like you form quests? I can bet is much more simple to make drop from quest.

5. Why some of you can't manage to use mob_drop ?? Its much much more easy then quest turst me.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.