Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import net.runelite.api.WorldType;
import net.runelite.api.events.GameTick;

public class Leagues implements IVariableSpeed
public class Leagues4and5 implements IVariableSpeed
{
public int apply(final Client client, final AnimationData curAnimation, final AttackProcedure atkProcedure, final int baseSpeed, final int curSpeed)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void onGameTick(Client client, GameTick tick)
private static final IVariableSpeed[] toApply = {
// Order matters, apply leagues first, then any incremental modifications like rapid, or set effects.
// Then overriding speeds last, which set a speed.
new Leagues(),
// new Leagues4and5(),

// Incremental:
new BloodMoonSet(),
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/attacktimer/IntegrationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ public Player pluginMockSetup() throws Exception
LocalPoint localPoint = new LocalPoint(0, 0, mockedPlane);
when(mockedPlayer.getWorldLocation()).thenReturn(worldPoint);
when(mockedPlayer.getLocalLocation()).thenReturn(localPoint);
var memsWorld = EnumSet.of(WorldType.MEMBERS);
when(mockedClient.getWorldType()).thenReturn(memsWorld);
// -- NPCs
IndexedObjectSet mockedNpcs = mock(IndexedObjectSet.class);
when(mockedNpcs.iterator()).thenReturn(Collections.emptyIterator());
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/attacktimer/TormentedDemonsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,6 @@ public Player pluginMockSetup() throws Exception
LocalPoint localPoint = new LocalPoint(0, 0, mockedPlane);
when(mockedPlayer.getWorldLocation()).thenReturn(worldPoint);
when(mockedPlayer.getLocalLocation()).thenReturn(localPoint);
var memsWorld = EnumSet.of(WorldType.MEMBERS);
when(mockedClient.getWorldType()).thenReturn(memsWorld);
// -- NPCs
worldViewNPCiter(td);

Expand Down
Loading