Atakan 0 Posted September 1, 2016 Share Posted September 1, 2016 mob kills me not coming yang on my 40k server drobs is full,mob_proto is OK but yang not coming note:soory my english is not god Link to comment Share on other sites More sharing options...
Lazarus1988 8 Posted September 1, 2016 Share Posted September 1, 2016 Check if you have in item_proto record "yang" with vnum = 1 Link to comment Share on other sites More sharing options...
Atakan 0 Posted September 1, 2016 Author Share Posted September 1, 2016 1 hour ago, Lazarus1988 said: Check if you have in item_proto record "yang" with vnum = 1 yes yang vnum is 1 Link to comment Share on other sites More sharing options...
Lazarus1988 8 Posted September 1, 2016 Share Posted September 1, 2016 If you have it in item_proto I assume it also is in item_proto in client, but You didn't tell if there laying coins any coins on ground when kill, or you have third hand (de)activated. Check now game client's item_proto for yang and try with third hand. If both fails you can do an override like this: quest drop_yang begin state __FUNC__ begin function DropYang(factor) return math.abs(npc.get_level()*number(factor, factor+100)) end end state start begin when kill witn not npc.is_pc() begin -- This will give you gold automaticly calculated by formula MobLevel * 1000 (e.g) -- from stray dog you will gain min:1000 yang and max 1100 yang local yang = drop_yang.DropYang(1000) pc.change_gold(yang) syschat(string.format("You have recieved %d yang"), yang) end end end Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now