lliuke Posted May 5, 2016 Posted May 5, 2016 Hello all i am looking for a way when someone losses a pvp to drop a % from his total adena in inventory . I would be very glad if someone can help me with this . High Five , L2J fandc . Thanks
0 Lioy Posted May 6, 2016 Posted May 6, 2016 (edited) You can use dropItem() method of L2PcInstance class, read RequestDropItem from clientpackes. Be sure to make it bugless with checks , etc so only the killer can pick up the dropped adenas. If you can't do it yourself the whole bugless code , then buy it. But try it first :) Edited May 6, 2016 by LAGLAG
0 AbsolutePower Posted May 6, 2016 Posted May 6, 2016 (edited) Hello all i am looking for a way when someone losses a pvp to drop a % from his total adena in inventory . I would be very glad if someone can help me with this . High Five , L2J fandc . Thanks if someone will go for pvp and let adena in hes warehouse? Edited May 6, 2016 by AbSoLuTePoWeR
0 lliuke Posted May 6, 2016 Author Posted May 6, 2016 if someone will go for pvp and let adena in hes warehouse? Well this is the ideea lets say the player 1 has 2b adena and player 2 has just 10k adena . Player 2 will win the pvp and he will get 5% of from his total adena from other player . In this case 100.000 adena . If player 2 had 2b adena in inventory too he will get 100.000.000 adena . The thing is i don't know how to check the percentage of the player and make the drop .
Question
lliuke
Hello all
i am looking for a way when someone losses a pvp to drop a % from his total adena in inventory .
I would be very glad if someone can help me with this .
High Five , L2J fandc .
Thanks
4 answers to this question
Recommended Posts