hello
i need your help, one of my best friend on metin2
did that quest for me
it s about
changing the yang drop from category of levels
quest MOB_DROP_gold begin
state start begin
when kill with not npc.is_pc() begin
local main = {
-- minlevel maxlevel % (1-100) gold amount
{1, 20, 100, 1000},
{20, 35, 100, 2000},
{35, 50, 100, 3000},
{50, 70, 100, 5000},
{70, 80, 100, 6000},
{80, 95, 100, 8000},
{95, 105, 100, 12000},
}
for i = 1, table.getn(main) do
if pc.level >= main[i][1] and pc.level < main[i][2] and number(1,100) <= main[i][3] then
pc.change_gold(main[i][4])
end
end
end
end
end
the problem is that:
if a player is level 100 , and that player kill a dog
that player drop 12000 yang...
but usually ,as all we know, after around 10+\- level player should not
drop any yang, due to the difference of level
can u please help me to edit this quest in that way:
i want that after reach the level for the new yang-category
the player can NOT drop anymore YANG from the old category
for exemple a level 21 player ...if try to kill a mob under his level, he will drop
zero yang
--------------
or even better if it s possible
make that:
no one can drop YANG if the level of mobs is 10+\- from his own level.
thanks so so so much
up please epvps help me
i would like to do that:
if pc.level >= main[i][1] and pc.level < main[i][2] and number(1,100) <= main[i][3] then
changing that into:
if mob.level >= main[i][1] and mob.level < main[i][2] and number(1,100) <= main[i][3] then
please help