statusorbs: remove twisted league stuff (#2250)
statusorbs: remove twisted league stuff
This commit is contained in:
@@ -82,7 +82,6 @@ public class StatusOrbsPlugin extends Plugin
|
||||
|
||||
private static final int SPEC_REGEN_TICKS = 50;
|
||||
private static final int NORMAL_HP_REGEN_TICKS = 100;
|
||||
private static final int TWISTED_LEAGUE_ENDLESS_ENDURANCE_RELIC = 2;
|
||||
|
||||
@Inject
|
||||
private Client client;
|
||||
@@ -252,12 +251,6 @@ public class StatusOrbsPlugin extends Plugin
|
||||
hpPerMs *= 2;
|
||||
}
|
||||
|
||||
if (client.getVar(Varbits.TWISTED_LEAGUE_RELIC_1) == TWISTED_LEAGUE_ENDLESS_ENDURANCE_RELIC)
|
||||
{
|
||||
ticksPerHPRegen /= 4;
|
||||
hpPerMs *= 4;
|
||||
}
|
||||
|
||||
ticksSinceHPRegen = (ticksSinceHPRegen + 1) % ticksPerHPRegen;
|
||||
hitpointsPercentage = ticksSinceHPRegen / (double) ticksPerHPRegen;
|
||||
|
||||
@@ -456,4 +449,4 @@ public class StatusOrbsPlugin extends Plugin
|
||||
this.showRun = config.showRun();
|
||||
this.replaceOrbText = config.replaceOrbText();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user