Transcendent zones renamed to timed hunting.

This commit is contained in:
MobiusDevelopment
2022-04-01 22:09:34 +00:00
parent d520ed36e8
commit ded25bb320
126 changed files with 166 additions and 166 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Kate:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Deekhin:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Bunch:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Ayan:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Joon:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Panji:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TimedHunting FINISH">Goodbye</Button>
</body></html>

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package instances.TranscendentZone;
package instances.TimedHunting;
import java.util.HashMap;
import java.util.Map;
@@ -49,7 +49,7 @@ import instances.AbstractInstance;
/**
* @author Berezkin Nikolay, Mobius
*/
public class TranscendentZone extends AbstractInstance
public class TimedHunting extends AbstractInstance
{
// NPCs
private static final int JOON = 34124;
@@ -117,7 +117,7 @@ public class TranscendentZone extends AbstractInstance
SKILL_REPLACEMENTS.put(47011, 47015); // Freezing Wound
}
public TranscendentZone()
public TimedHunting()
{
super(TEMPLATES);
addFirstTalkId(JOON, KATE, DEEKHIN, BUNCH, AYAN, PANJI);
@@ -171,7 +171,7 @@ public class TranscendentZone extends AbstractInstance
@Override
public String onFirstTalk(Npc npc, Player player)
{
if (player.getInstanceWorld().getParameters().getBoolean("TranscendentZoneTaskFinished", false))
if (player.getInstanceWorld().getParameters().getBoolean("TimedHuntingTaskFinished", false))
{
return npc.getId() + "-finished.html";
}
@@ -239,9 +239,9 @@ public class TranscendentZone extends AbstractInstance
@Override
public void onInstanceLeave(Player player, Instance instance)
{
if (instance.getParameters().getBoolean("TranscendentZoneTaskFinished", false))
if (instance.getParameters().getBoolean("TimedHuntingTaskFinished", false))
{
instance.setParameter("TranscendentZoneTaskFinished", false);
instance.setParameter("TimedHuntingTaskFinished", false);
}
player.sendPacket(new ExSendUIEvent(player, true, false, 600, 0, NpcStringId.TIME_LEFT));
player.sendPacket(TimedHuntingZoneExit.STATIC_PACKET);
@@ -281,7 +281,7 @@ public class TranscendentZone extends AbstractInstance
private void startEvent(Player player)
{
// Start instance tasks.
if (!player.getInstanceWorld().getParameters().getBoolean("TranscendentZoneTaskFinished", false))
if (!player.getInstanceWorld().getParameters().getBoolean("TimedHuntingTaskFinished", false))
{
final Instance instance = player.getInstanceWorld();
player.sendPacket(new ExSendUIEvent(player, false, false, Math.min(600, (int) (instance.getRemainingTime() / 1000)), 0, NpcStringId.TIME_LEFT));
@@ -315,7 +315,7 @@ public class TranscendentZone extends AbstractInstance
ThreadPool.schedule(() ->
{
instance.getNpcs().stream().filter(WorldObject::isAttackable).forEach(Npc::deleteMe);
instance.getParameters().set("TranscendentZoneTaskFinished", true);
instance.getParameters().set("TimedHuntingTaskFinished", true);
if (spawnTask != null)
{
spawnTask.cancel(false);
@@ -328,6 +328,6 @@ public class TranscendentZone extends AbstractInstance
public static void main(String[] args)
{
new TranscendentZone();
new TimedHunting();
}
}

View File

@@ -1,4 +0,0 @@
<html><body>Kate:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Deekhin:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Bunch:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Ayan:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Joon:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Panji:<br>
All done here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TranscendentZone FINISH">Goodbye</Button>
</body></html>