XP Drops: Reset damage on new xp drops (#458)
This commit is contained in:
@@ -350,8 +350,12 @@ public class XpDropPlugin extends Plugin
|
||||
|
||||
final String eventName = e.getEventName();
|
||||
|
||||
if (eventName.equals("newXpDrop"))
|
||||
{
|
||||
damage = 0;
|
||||
}
|
||||
// Handles Fake XP drops (Ironman, DMM Cap, 200m xp, etc)
|
||||
if (eventName.equals("fakeXpDrop"))
|
||||
else if (eventName.equals("fakeXpDrop"))
|
||||
{
|
||||
final int[] intStack = client.getIntStack();
|
||||
final int intStackSize = client.getIntStackSize();
|
||||
|
||||
@@ -84,6 +84,8 @@ LABEL55:
|
||||
LABEL70:
|
||||
jump LABEL508
|
||||
LABEL71:
|
||||
sconst "newXpDrop"
|
||||
runelite_callback
|
||||
iconst 10
|
||||
stat_xp
|
||||
iload 25
|
||||
|
||||
Reference in New Issue
Block a user