RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
DailySlayerTaskTeleport.java
1package com.osroyale.content.dailyeffect.impl;
2
3import com.osroyale.content.dailyeffect.DailyEffect;
4import com.osroyale.game.world.entity.mob.player.Player;
5import com.osroyale.game.world.entity.mob.player.PlayerRight;
6
28
30
31 @Override
32 public int maxUses(Player player) {
33 if (PlayerRight.isElite(player)) {
34 return 10;
35 } else if (PlayerRight.isExtreme(player)) {
36 return 8;
37 } else if (PlayerRight.isSuper(player)) {
38 return 6;
39 } else if (PlayerRight.isDonator(player)) {
40 return 4;
41 }
42 return 2;
43 }
44}