Fixed wrong donator drop rates.
Contributed by G-hamsteR.
This commit is contained in:
@@ -1293,10 +1293,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_ADENA;
|
dropChance *= Config.RATE_DROP_ADENA;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_ADENA_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (isSweep)
|
else if (isSweep)
|
||||||
@@ -1316,10 +1312,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_SPOIL;
|
dropChance *= Config.RATE_DROP_SPOIL;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_SPOIL_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (this instanceof RaidBossInstance)
|
else if (this instanceof RaidBossInstance)
|
||||||
@@ -1337,10 +1329,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_ITEMS;
|
dropChance *= Config.RATE_DROP_ITEMS;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_DROP_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config.CHAMPION_ENABLE && isChampion())
|
if (Config.CHAMPION_ENABLE && isChampion())
|
||||||
|
@@ -1294,10 +1294,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_ADENA;
|
dropChance *= Config.RATE_DROP_ADENA;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_ADENA_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (isSweep)
|
else if (isSweep)
|
||||||
@@ -1317,10 +1313,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_SPOIL;
|
dropChance *= Config.RATE_DROP_SPOIL;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_SPOIL_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (this instanceof RaidBossInstance)
|
else if (this instanceof RaidBossInstance)
|
||||||
@@ -1338,10 +1330,6 @@ public class Attackable extends NpcInstance
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dropChance *= Config.RATE_DROP_ITEMS;
|
dropChance *= Config.RATE_DROP_ITEMS;
|
||||||
if (lastAttacker.isDonator())
|
|
||||||
{
|
|
||||||
dropChance *= Config.DONATOR_DROP_RATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config.CHAMPION_ENABLE && isChampion())
|
if (Config.CHAMPION_ENABLE && isChampion())
|
||||||
|
Reference in New Issue
Block a user