0flee Posted August 9, 2020 Posted August 9, 2020 What it is method for premium to get x2 quest drops? And i should make this method on L2Attackable? Or L2PcInstance?
0 L2-Evanthe Posted August 9, 2020 Posted August 9, 2020 3 hours ago, 0flee said: What it is method for premium to get x2 quest drops? And i should make this method on L2Attackable? Or L2PcInstance? 1. Which pack are you using 2. What you mean method? There is no a static way to create premium drops. You can either handle them in L2PcInstance or in drop calculation method of Attackable.
0 L2-Evanthe Posted August 9, 2020 Posted August 9, 2020 1 minute ago, 0flee said: Well, i forget to speficy, L2jSunrise Sunrise itself has premium drops. Do you want to create a new one?
0 0flee Posted August 9, 2020 Author Posted August 9, 2020 Nop, but quest no have x2. I want to create another premium system from 0 and to disable this. This is sh1t system... protected void calculateRewards(L2Character lastAttacker) In this method? L2Attackable.class
0 L2-Evanthe Posted August 9, 2020 Posted August 9, 2020 56 minutes ago, 0flee said: Nop, but quest no have x2. I want to create another premium system from 0 and to disable this. This is sh1t system... protected void calculateRewards(L2Character lastAttacker) In this method? L2Attackable.class Yes you should place your code in there. Check if player is normal or premium to be affected by different rates. Example: multiplyChance *= player.isPremium() ? Config.PREMIUM_DROP_RATE : Config.DROP_RATE; Something like that for every case, drop, spoil e.t.c
0 0flee Posted August 9, 2020 Author Posted August 9, 2020 I want amount, not chance I don't know how i can do this. It is a bit hard for me. in L2PcInstance i do this if (isPremium()) { dropQuestItems *= calcPremiumDropMultipliers(itemId); } It is good? I do this in L2PcInstance
Question
0flee
What it is method for premium to get x2 quest drops? And i should make this method on L2Attackable? Or L2PcInstance?
7 answers to this question
Recommended Posts