PDA

View Full Version : npcdata question


dirkr
28.12.2006, 22:01
i wanted to add a item as a drop to a mob, no real problem there just add i in the additional_make_multi_list

the idea was to have a group of 2 items that both have a 50% chance to drop ( either the first or the other )
but the actuall group has only a low % of chance to drop.

now i've been staring at the npcdata and tried stuff going by another drop from a mob

ended up with this : {{{[blaat];1;5;50};{[blaat2];1;5;50}};10}
if figured that this would give me a 50% chance of giving me either blaat or blaat2 but only when the group was selected ( with a 10% chance)

now however.. it seems that the 50% works.. i get either the one or the other..but the 10 seems to be wrong.. every mob i kill i get eithers blaat or blaat 2.
i did define the itemdrop in the l2server.ini as 1000 ( meaning 10x )
So now my question : am i looking at it the wrong way? or am i missing something .. or am i just writing it wrong..
any help would be nice.;cause i'm sorta lost on it

Guaresnay
29.12.2006, 00:54
what about if u put 1 insted 10?

dirkr
29.12.2006, 01:59
yeah might have posted my question too soon :)
been looking arround.. and it seems that itemrate in l2server.ini only affects the groupdroprate.. not inside the group..so yeah its probably that..
i changed it and will be rebooting soon ..so i'll see i guess :)

wonder if anybody knows.. can you change the droprate on a player ( when kiled by a mob ) ? or is this alsof affected by the itemrate
cause i got players dropping stuff each time they die from a mob

dirkr
29.12.2006, 15:22
hmm i wonder tho.. the rate inside the group..does that need to add up to 100 exactly or can it be under 100 ? ( i know +100 might give errors )