From 794368f19e5ae031a1826a08fd4bb11cb588956d Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sun, 12 Jun 2016 12:03:21 +0000 Subject: [PATCH] Minor Fantasy Isle rework. --- trunk/dist/game/data/html/default/32513-1.htm | 4 +- trunk/dist/game/data/html/default/32513-2.htm | 10 +-- trunk/dist/game/data/html/default/32513-3.htm | 10 +-- trunk/dist/game/data/html/default/32513-4.htm | 4 +- trunk/dist/game/data/html/default/32513-5.htm | 3 + trunk/dist/game/data/html/default/32513.htm | 16 ++-- trunk/dist/game/data/html/default/32514-1.htm | 4 +- trunk/dist/game/data/html/default/32514-2.htm | 10 +-- trunk/dist/game/data/html/default/32514-3.htm | 10 +-- trunk/dist/game/data/html/default/32514-4.htm | 4 +- trunk/dist/game/data/html/default/32514-5.htm | 3 + trunk/dist/game/data/html/default/32514.htm | 16 ++-- trunk/dist/game/data/html/default/32515-1.htm | 4 +- trunk/dist/game/data/html/default/32515-2.htm | 10 +-- trunk/dist/game/data/html/default/32515-3.htm | 10 +-- trunk/dist/game/data/html/default/32515-4.htm | 4 +- trunk/dist/game/data/html/default/32515-5.htm | 3 + trunk/dist/game/data/html/default/32515.htm | 16 ++-- trunk/dist/game/data/html/default/32516-1.htm | 4 +- trunk/dist/game/data/html/default/32516-2.htm | 10 +-- trunk/dist/game/data/html/default/32516-3.htm | 10 +-- trunk/dist/game/data/html/default/32516-4.htm | 4 +- trunk/dist/game/data/html/default/32516-5.htm | 3 + trunk/dist/game/data/html/default/32516.htm | 16 ++-- .../game/data/html/krateisCube/32503-3.htm | 6 -- .../dist/game/data/html/krateisCube/32503.htm | 8 -- .../FantasyIsle/KrateisCube/32503-1.html} | 0 .../FantasyIsle/KrateisCube/32503-2.html} | 2 +- .../FantasyIsle/KrateisCube/32503-3.html | 6 ++ .../FantasyIsle/KrateisCube/32503-4.html} | 0 .../FantasyIsle/KrateisCube/32503-5.html} | 0 .../FantasyIsle/KrateisCube/32503-6.html} | 0 .../FantasyIsle/KrateisCube/32503-7.html} | 0 .../FantasyIsle/KrateisCube/32503-8.html} | 0 .../FantasyIsle/KrateisCube/32503-9.html} | 0 .../areas/FantasyIsle/KrateisCube/32503.html | 8 ++ .../FantasyIsle/KrateisCube/KrateisCube.java | 75 +++++++++++++++++++ .../TeleportToUndergroundColiseum/32491-2.htm | 10 +-- .../TeleportToUndergroundColiseum/32491.htm | 6 +- trunk/dist/game/data/spawns/old/17_15.xml | 8 ++ trunk/dist/game/data/zones/custom_town.xml | 3 +- 41 files changed, 196 insertions(+), 124 deletions(-) create mode 100644 trunk/dist/game/data/html/default/32513-5.htm create mode 100644 trunk/dist/game/data/html/default/32514-5.htm create mode 100644 trunk/dist/game/data/html/default/32515-5.htm create mode 100644 trunk/dist/game/data/html/default/32516-5.htm delete mode 100644 trunk/dist/game/data/html/krateisCube/32503-3.htm delete mode 100644 trunk/dist/game/data/html/krateisCube/32503.htm rename trunk/dist/game/data/{html/krateisCube/32503-1.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-1.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-2.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-2.html} (58%) create mode 100644 trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-3.html rename trunk/dist/game/data/{html/krateisCube/32503-4.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-4.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-5.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-5.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-6.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-6.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-7.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-7.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-8.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-8.html} (100%) rename trunk/dist/game/data/{html/krateisCube/32503-9.htm => scripts/ai/areas/FantasyIsle/KrateisCube/32503-9.html} (100%) create mode 100644 trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503.html create mode 100644 trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/KrateisCube.java create mode 100644 trunk/dist/game/data/spawns/old/17_15.xml diff --git a/trunk/dist/game/data/html/default/32513-1.htm b/trunk/dist/game/data/html/default/32513-1.htm index aad958d668..8aeead5e65 100644 --- a/trunk/dist/game/data/html/default/32513-1.htm +++ b/trunk/dist/game/data/html/default/32513-1.htm @@ -1,3 +1,3 @@ -Arena Manager:
-What's that? You want to enter by yourself? Sorry, kid -- it doesn't work that way. If you want to participate, go find yourself a team. +Arena Manager:
+The event is not currently available. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32513-2.htm b/trunk/dist/game/data/html/default/32513-2.htm index bd961acf19..3cb1b061d0 100644 --- a/trunk/dist/game/data/html/default/32513-2.htm +++ b/trunk/dist/game/data/html/default/32513-2.htm @@ -1,9 +1,3 @@ -Arena Manager:
-This is a list of the teams planning to participate in this match. Impressive, aren't they? But don't be intimidated. Knowing your opponents and their capabilities is good strategy in fact.

-=== List of Participating Teams ===
-1. (Participating Team: Team)
-2. (Participating Team: Team)
-3. (Participating Team: Team)
-4. (Participating Team: Team)
-5. (Participating Team: Team) +Arena Manager:
+There are no teams participating in this match. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32513-3.htm b/trunk/dist/game/data/html/default/32513-3.htm index a214931a61..dda0eb1fa0 100644 --- a/trunk/dist/game/data/html/default/32513-3.htm +++ b/trunk/dist/game/data/html/default/32513-3.htm @@ -1,6 +1,6 @@ -Arena Manager:
-Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
-When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
-Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
-Now, then -- ready to prove just how good you really are? +Arena Manager:
+Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
+When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
+Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
+Now, then -- ready to prove just how good you really are? \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32513-4.htm b/trunk/dist/game/data/html/default/32513-4.htm index 06dcac354e..1f50fd518b 100644 --- a/trunk/dist/game/data/html/default/32513-4.htm +++ b/trunk/dist/game/data/html/default/32513-4.htm @@ -1,3 +1,3 @@ -Arena Manager:
-No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... +Arena Manager:
+No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32513-5.htm b/trunk/dist/game/data/html/default/32513-5.htm new file mode 100644 index 0000000000..95ddf1cf0b --- /dev/null +++ b/trunk/dist/game/data/html/default/32513-5.htm @@ -0,0 +1,3 @@ +Arena Manager:
+You have no team registered for the match. + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32513.htm b/trunk/dist/game/data/html/default/32513.htm index 6e31b80187..e807bfd24c 100644 --- a/trunk/dist/game/data/html/default/32513.htm +++ b/trunk/dist/game/data/html/default/32513.htm @@ -1,9 +1,9 @@ -Arena Manager:
-This arena is reserved for characters who are level 40-49. Only the victors survive! Are you confident enough to accept the challenge?
- - - - - - +Arena Manager:
+This arena is reserved for characters who are level 40-49. Only the victors survive! Are you confident enough to accept the challenge?
+ + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514-1.htm b/trunk/dist/game/data/html/default/32514-1.htm index aad958d668..8aeead5e65 100644 --- a/trunk/dist/game/data/html/default/32514-1.htm +++ b/trunk/dist/game/data/html/default/32514-1.htm @@ -1,3 +1,3 @@ -Arena Manager:
-What's that? You want to enter by yourself? Sorry, kid -- it doesn't work that way. If you want to participate, go find yourself a team. +Arena Manager:
+The event is not currently available. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514-2.htm b/trunk/dist/game/data/html/default/32514-2.htm index bd961acf19..3cb1b061d0 100644 --- a/trunk/dist/game/data/html/default/32514-2.htm +++ b/trunk/dist/game/data/html/default/32514-2.htm @@ -1,9 +1,3 @@ -Arena Manager:
-This is a list of the teams planning to participate in this match. Impressive, aren't they? But don't be intimidated. Knowing your opponents and their capabilities is good strategy in fact.

-=== List of Participating Teams ===
-1. (Participating Team: Team)
-2. (Participating Team: Team)
-3. (Participating Team: Team)
-4. (Participating Team: Team)
-5. (Participating Team: Team) +Arena Manager:
+There are no teams participating in this match. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514-3.htm b/trunk/dist/game/data/html/default/32514-3.htm index a214931a61..dda0eb1fa0 100644 --- a/trunk/dist/game/data/html/default/32514-3.htm +++ b/trunk/dist/game/data/html/default/32514-3.htm @@ -1,6 +1,6 @@ -Arena Manager:
-Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
-When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
-Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
-Now, then -- ready to prove just how good you really are? +Arena Manager:
+Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
+When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
+Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
+Now, then -- ready to prove just how good you really are? \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514-4.htm b/trunk/dist/game/data/html/default/32514-4.htm index 06dcac354e..1f50fd518b 100644 --- a/trunk/dist/game/data/html/default/32514-4.htm +++ b/trunk/dist/game/data/html/default/32514-4.htm @@ -1,3 +1,3 @@ -Arena Manager:
-No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... +Arena Manager:
+No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514-5.htm b/trunk/dist/game/data/html/default/32514-5.htm new file mode 100644 index 0000000000..95ddf1cf0b --- /dev/null +++ b/trunk/dist/game/data/html/default/32514-5.htm @@ -0,0 +1,3 @@ +Arena Manager:
+You have no team registered for the match. + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32514.htm b/trunk/dist/game/data/html/default/32514.htm index 076c4615ad..72c7844b5a 100644 --- a/trunk/dist/game/data/html/default/32514.htm +++ b/trunk/dist/game/data/html/default/32514.htm @@ -1,9 +1,9 @@ -Arena Manager:
-This arena is reserved for characters who are level 70-79. Only the victors survive! Are you confident enough to accept the challenge?
- - - - - - +Arena Manager:
+This arena is reserved for characters who are level 70-79. Only the victors survive! Are you confident enough to accept the challenge?
+ + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515-1.htm b/trunk/dist/game/data/html/default/32515-1.htm index aad958d668..8aeead5e65 100644 --- a/trunk/dist/game/data/html/default/32515-1.htm +++ b/trunk/dist/game/data/html/default/32515-1.htm @@ -1,3 +1,3 @@ -Arena Manager:
-What's that? You want to enter by yourself? Sorry, kid -- it doesn't work that way. If you want to participate, go find yourself a team. +Arena Manager:
+The event is not currently available. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515-2.htm b/trunk/dist/game/data/html/default/32515-2.htm index bd961acf19..3cb1b061d0 100644 --- a/trunk/dist/game/data/html/default/32515-2.htm +++ b/trunk/dist/game/data/html/default/32515-2.htm @@ -1,9 +1,3 @@ -Arena Manager:
-This is a list of the teams planning to participate in this match. Impressive, aren't they? But don't be intimidated. Knowing your opponents and their capabilities is good strategy in fact.

-=== List of Participating Teams ===
-1. (Participating Team: Team)
-2. (Participating Team: Team)
-3. (Participating Team: Team)
-4. (Participating Team: Team)
-5. (Participating Team: Team) +Arena Manager:
+There are no teams participating in this match. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515-3.htm b/trunk/dist/game/data/html/default/32515-3.htm index a214931a61..dda0eb1fa0 100644 --- a/trunk/dist/game/data/html/default/32515-3.htm +++ b/trunk/dist/game/data/html/default/32515-3.htm @@ -1,6 +1,6 @@ -Arena Manager:
-Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
-When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
-Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
-Now, then -- ready to prove just how good you really are? +Arena Manager:
+Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
+When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
+Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
+Now, then -- ready to prove just how good you really are? \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515-4.htm b/trunk/dist/game/data/html/default/32515-4.htm index 06dcac354e..1f50fd518b 100644 --- a/trunk/dist/game/data/html/default/32515-4.htm +++ b/trunk/dist/game/data/html/default/32515-4.htm @@ -1,3 +1,3 @@ -Arena Manager:
-No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... +Arena Manager:
+No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515-5.htm b/trunk/dist/game/data/html/default/32515-5.htm new file mode 100644 index 0000000000..95ddf1cf0b --- /dev/null +++ b/trunk/dist/game/data/html/default/32515-5.htm @@ -0,0 +1,3 @@ +Arena Manager:
+You have no team registered for the match. + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32515.htm b/trunk/dist/game/data/html/default/32515.htm index e138dc2456..c1926d8898 100644 --- a/trunk/dist/game/data/html/default/32515.htm +++ b/trunk/dist/game/data/html/default/32515.htm @@ -1,9 +1,9 @@ -Arena Manager:
-This arena is reserved for characters who are level 60-69. Only the victors survive! Are you confident enough to accept the challenge?
- - - - - - +Arena Manager:
+This arena is reserved for characters who are level 60-69. Only the victors survive! Are you confident enough to accept the challenge?
+ + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516-1.htm b/trunk/dist/game/data/html/default/32516-1.htm index aad958d668..8aeead5e65 100644 --- a/trunk/dist/game/data/html/default/32516-1.htm +++ b/trunk/dist/game/data/html/default/32516-1.htm @@ -1,3 +1,3 @@ -Arena Manager:
-What's that? You want to enter by yourself? Sorry, kid -- it doesn't work that way. If you want to participate, go find yourself a team. +Arena Manager:
+The event is not currently available. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516-2.htm b/trunk/dist/game/data/html/default/32516-2.htm index bd961acf19..3cb1b061d0 100644 --- a/trunk/dist/game/data/html/default/32516-2.htm +++ b/trunk/dist/game/data/html/default/32516-2.htm @@ -1,9 +1,3 @@ -Arena Manager:
-This is a list of the teams planning to participate in this match. Impressive, aren't they? But don't be intimidated. Knowing your opponents and their capabilities is good strategy in fact.

-=== List of Participating Teams ===
-1. (Participating Team: Team)
-2. (Participating Team: Team)
-3. (Participating Team: Team)
-4. (Participating Team: Team)
-5. (Participating Team: Team) +Arena Manager:
+There are no teams participating in this match. \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516-3.htm b/trunk/dist/game/data/html/default/32516-3.htm index a214931a61..dda0eb1fa0 100644 --- a/trunk/dist/game/data/html/default/32516-3.htm +++ b/trunk/dist/game/data/html/default/32516-3.htm @@ -1,6 +1,6 @@ -Arena Manager:
-Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
-When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
-Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
-Now, then -- ready to prove just how good you really are? +Arena Manager:
+Only parties with more than 7 members can participate in the game and, if they win, keep playing. You can also only participate in the arena reserved for your level.
+When you enter the arena, you will see a Tower of Resurrection for each team. Until you destroy your opponents' tower, it will continue to resurrect them. Take a look around the arena to understand how it will affect the battle. This is about more than simple combat, you know...
+Remember also that any buff applied to the team will be negated if one of the members does not meet its level requirements. Another bit of advice: consider stationing the team member who is best at solo matches on the front line.
+Now, then -- ready to prove just how good you really are? \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516-4.htm b/trunk/dist/game/data/html/default/32516-4.htm index 06dcac354e..1f50fd518b 100644 --- a/trunk/dist/game/data/html/default/32516-4.htm +++ b/trunk/dist/game/data/html/default/32516-4.htm @@ -1,3 +1,3 @@ -Arena Manager:
-No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... +Arena Manager:
+No team currently has consecutive wins. Just goes to show you how hard it is to find a really skilled team these days... \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516-5.htm b/trunk/dist/game/data/html/default/32516-5.htm new file mode 100644 index 0000000000..95ddf1cf0b --- /dev/null +++ b/trunk/dist/game/data/html/default/32516-5.htm @@ -0,0 +1,3 @@ +Arena Manager:
+You have no team registered for the match. + \ No newline at end of file diff --git a/trunk/dist/game/data/html/default/32516.htm b/trunk/dist/game/data/html/default/32516.htm index 29137ec6a8..0550e5757d 100644 --- a/trunk/dist/game/data/html/default/32516.htm +++ b/trunk/dist/game/data/html/default/32516.htm @@ -1,9 +1,9 @@ -Arena Manager:
-This arena is reserved for characters who are level 50-59. Only the victors survive! Are you confident enough to accept the challenge?
- - - - - - +Arena Manager:
+This arena is reserved for characters who are level 50-59. Only the victors survive! Are you confident enough to accept the challenge?
+ + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/krateisCube/32503-3.htm b/trunk/dist/game/data/html/krateisCube/32503-3.htm deleted file mode 100644 index 90d40bb605..0000000000 --- a/trunk/dist/game/data/html/krateisCube/32503-3.htm +++ /dev/null @@ -1,6 +0,0 @@ -Kratei's Cube Entrance Manager:
-What level are you?
- - - \ No newline at end of file diff --git a/trunk/dist/game/data/html/krateisCube/32503.htm b/trunk/dist/game/data/html/krateisCube/32503.htm deleted file mode 100644 index 8bf878e60c..0000000000 --- a/trunk/dist/game/data/html/krateisCube/32503.htm +++ /dev/null @@ -1,8 +0,0 @@ -Kratei's Cube Entrance Manager:
-Welcome to Kratei's Cube! Only the strongest win here.
-Do you feel lucky?
- - - - \ No newline at end of file diff --git a/trunk/dist/game/data/html/krateisCube/32503-1.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-1.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-1.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-1.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-2.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-2.html similarity index 58% rename from trunk/dist/game/data/html/krateisCube/32503-2.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-2.html index 29c6c53fe6..4d61d42cd5 100644 --- a/trunk/dist/game/data/html/krateisCube/32503-2.htm +++ b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-2.html @@ -1,4 +1,4 @@ Kratei's Cube Entrance Manager:
A match is already in progress. Would you like to register for the next match?
- + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-3.html b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-3.html new file mode 100644 index 0000000000..97e694ac47 --- /dev/null +++ b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-3.html @@ -0,0 +1,6 @@ +Kratei's Cube Entrance Manager:
+What level are you?
+ + + \ No newline at end of file diff --git a/trunk/dist/game/data/html/krateisCube/32503-4.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-4.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-4.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-4.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-5.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-5.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-5.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-5.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-6.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-6.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-6.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-6.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-7.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-7.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-7.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-7.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-8.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-8.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-8.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-8.html diff --git a/trunk/dist/game/data/html/krateisCube/32503-9.htm b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-9.html similarity index 100% rename from trunk/dist/game/data/html/krateisCube/32503-9.htm rename to trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503-9.html diff --git a/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503.html b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503.html new file mode 100644 index 0000000000..f2f6efc224 --- /dev/null +++ b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/32503.html @@ -0,0 +1,8 @@ +Kratei's Cube Entrance Manager:
+Welcome to Kratei's Cube! Only the strongest win here.
+Do you feel lucky?
+ + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/KrateisCube.java b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/KrateisCube.java new file mode 100644 index 0000000000..a10f002764 --- /dev/null +++ b/trunk/dist/game/data/scripts/ai/areas/FantasyIsle/KrateisCube/KrateisCube.java @@ -0,0 +1,75 @@ +/* + * This file is part of the L2J Mobius project. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package ai.areas.FantasyIsle.KrateisCube; + +import com.l2jmobius.gameserver.model.Location; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; + +import ai.AbstractNpcAI; + +/** + * Kratei's Cube AI + * @author Mobius + */ +public final class KrateisCube extends AbstractNpcAI +{ + // NPC + private static final int MANAGER = 32503; // Kratei's Cube Entrance Manager + // Location + private static final Location FANTASY_TELEPORT = new Location(-59193, -56893, -2034); + + public KrateisCube() + { + addStartNpc(MANAGER); + addFirstTalkId(MANAGER); + addTalkId(MANAGER); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + String htmltext = null; + switch (event) + { + case "32503-1.html": + case "32503-2.html": + case "32503-3.html": + { + htmltext = event; + break; + } + case "teleportToFantasyIsland": + { + player.teleToLocation(FANTASY_TELEPORT); + break; + } + } + return htmltext; + } + + @Override + public String onFirstTalk(L2Npc npc, L2PcInstance player) + { + return npc.getId() + ".html"; + } + + public static void main(String[] args) + { + new KrateisCube(); + } +} diff --git a/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491-2.htm b/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491-2.htm index ccda927878..cf204e9f22 100644 --- a/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491-2.htm +++ b/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491-2.htm @@ -1,8 +1,8 @@ Stadium Manager:
Select the stadium appropriate for your level.
-Level 40-49
-Level 50-59
-Level 60-69
-Level 70-79
-No level limit + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491.htm b/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491.htm index 719d66a2de..547c7ad5b3 100644 --- a/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491.htm +++ b/trunk/dist/game/data/scripts/ai/others/TeleportToUndergroundColiseum/32491.htm @@ -1,6 +1,6 @@ Stadium Manager:
What would you like to do?
-Hear about the game.
-Move to the stadium.
-Move to Fantasy Isle. + + + \ No newline at end of file diff --git a/trunk/dist/game/data/spawns/old/17_15.xml b/trunk/dist/game/data/spawns/old/17_15.xml new file mode 100644 index 0000000000..3fb827e174 --- /dev/null +++ b/trunk/dist/game/data/spawns/old/17_15.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/trunk/dist/game/data/zones/custom_town.xml b/trunk/dist/game/data/zones/custom_town.xml index 903deba07d..716130acf4 100644 --- a/trunk/dist/game/data/zones/custom_town.xml +++ b/trunk/dist/game/data/zones/custom_town.xml @@ -608,6 +608,7 @@ +