Drop occurrence counter should consider item drop chance.
This commit is contained in:
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -794,7 +794,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -794,7 +794,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -856,7 +856,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -856,7 +856,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -856,7 +856,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -871,7 +871,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -871,7 +871,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -871,7 +871,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -870,7 +870,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -870,7 +870,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -870,7 +870,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
@@ -870,7 +870,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
|
||||
}
|
||||
|
||||
// finally
|
||||
if (group.getChance() < 100)
|
||||
if (dropItem.getChance() < 100)
|
||||
{
|
||||
dropOccurrenceCounter--;
|
||||
}
|
||||
|
Reference in New Issue
Block a user