diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35666.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35666.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35666.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35666.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35698.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35698.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35698.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35698.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35735.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35735.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35735.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35735.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35767.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35767.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35767.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35767.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35804.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35804.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35804.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35804.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35835.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35835.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35835.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35835.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35867.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35867.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35867.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35867.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35904.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35904.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35904.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35904.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35936.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35936.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35936.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35936.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/35974.htm b/L2J_Mobius_Underground/dist/game/data/html/default/35974.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/35974.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/35974.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36011.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36011.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36011.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36011.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36043.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36043.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36043.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36043.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36081.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36081.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36081.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36081.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36118.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36118.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36118.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36118.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36149.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36149.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36149.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36149.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36181.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36181.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36181.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36181.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36219.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36219.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36219.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36219.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36257.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36257.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36257.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36257.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36294.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36294.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36294.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36294.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36326.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36326.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36326.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36326.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36364.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36364.htm index d8360fc810..124cd9bb10 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36364.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36364.htm @@ -1,6 +1,6 @@ Detention Camp Warden:

This is a dangerous place. Don't come around here unless you have the will and skill to survive.
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36403.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36403.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36403.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36403.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36404.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36404.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36404.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36404.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36405.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36405.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36405.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36405.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36406.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36406.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36406.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36406.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36407.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36407.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36407.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36407.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36408.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36408.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36408.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36408.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36409.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36409.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36409.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36409.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36410.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36410.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36410.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36410.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/html/default/36411.htm b/L2J_Mobius_Underground/dist/game/data/html/default/36411.htm index d86a8236b5..f992430ed9 100644 --- a/L2J_Mobius_Underground/dist/game/data/html/default/36411.htm +++ b/L2J_Mobius_Underground/dist/game/data/html/default/36411.htm @@ -1,6 +1,6 @@ Prison Warden:

This is a dangerous place. Don't come around here unless you're ready for a fight!
- + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAaru.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAaru.xml new file mode 100644 index 0000000000..6555bc6dea --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAaru.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAden.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAden.xml new file mode 100644 index 0000000000..c1f60832c8 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAden.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAntharas.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAntharas.xml new file mode 100644 index 0000000000..1e38382877 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleAntharas.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleArchaic.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleArchaic.xml new file mode 100644 index 0000000000..defff425df --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleArchaic.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBayou.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBayou.xml new file mode 100644 index 0000000000..8005015b02 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBayou.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBorderland.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBorderland.xml new file mode 100644 index 0000000000..7e17582d6a --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleBorderland.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleCloudMountain.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleCloudMountain.xml new file mode 100644 index 0000000000..c68fe0879d --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleCloudMountain.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDemon.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDemon.xml new file mode 100644 index 0000000000..34bfcf9b26 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDemon.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDion.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDion.xml new file mode 100644 index 0000000000..9cf7be96ad --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDion.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDragonspine.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDragonspine.xml new file mode 100644 index 0000000000..8704e62daf --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleDragonspine.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleFloran.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleFloran.xml new file mode 100644 index 0000000000..2a0cedc382 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleFloran.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGiran.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGiran.xml new file mode 100644 index 0000000000..8f89fe739a --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGiran.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGludio.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGludio.xml new file mode 100644 index 0000000000..b706baa2ec --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGludio.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGoddard.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGoddard.xml new file mode 100644 index 0000000000..81ddd0e4ce --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleGoddard.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHive.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHive.xml new file mode 100644 index 0000000000..f06ed662d3 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHive.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHunter.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHunter.xml new file mode 100644 index 0000000000..5814635655 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleHunter.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleInnadril.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleInnadril.xml new file mode 100644 index 0000000000..35aab3b213 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleInnadril.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleIvory.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleIvory.xml new file mode 100644 index 0000000000..ad5c9cf8f6 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleIvory.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleMonastic.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleMonastic.xml new file mode 100644 index 0000000000..255e854dcb --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleMonastic.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleNarsell.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleNarsell.xml new file mode 100644 index 0000000000..9de5b7a3f0 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleNarsell.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleOren.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleOren.xml new file mode 100644 index 0000000000..1f283ae3f2 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleOren.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleRune.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleRune.xml new file mode 100644 index 0000000000..cb1e7927b1 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleRune.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSchuttgart.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSchuttgart.xml new file mode 100644 index 0000000000..9fdc8734ae --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSchuttgart.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleShanty.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleShanty.xml new file mode 100644 index 0000000000..46f1f882eb --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleShanty.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSouthern.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSouthern.xml new file mode 100644 index 0000000000..5cf242761f --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSouthern.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSwamp.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSwamp.xml new file mode 100644 index 0000000000..1d95080c6b --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleSwamp.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleTanor.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleTanor.xml new file mode 100644 index 0000000000..0b965670fe --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleTanor.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleValley.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleValley.xml new file mode 100644 index 0000000000..24e940e29b --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleValley.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWestern.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWestern.xml new file mode 100644 index 0000000000..40b755bcc4 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWestern.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWhiteSands.xml b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWhiteSands.xml new file mode 100644 index 0000000000..2d3e2add95 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/instances/PailakaRuneCastle/PailakaRuneCastleWhiteSands.xml @@ -0,0 +1,83 @@ + + + + diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/PailakaRuneCastle.java b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/PailakaRuneCastle.java new file mode 100644 index 0000000000..f9e58d2a0e --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/PailakaRuneCastle.java @@ -0,0 +1,326 @@ +/* + * 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 instances.PailakaRuneCastle; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; + +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.FriendlyNpcInstance; +import com.l2jmobius.gameserver.model.actor.instance.L2MonsterInstance; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.entity.Castle; +import com.l2jmobius.gameserver.model.entity.Fort; +import com.l2jmobius.gameserver.model.instancezone.Instance; +import com.l2jmobius.gameserver.model.instancezone.InstanceTemplate; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.network.NpcStringId; +import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; + +import instances.AbstractInstance; +import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; +import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; + +/** + * Pailaka (Rune Castle) + * @author Mobius + */ +public final class PailakaRuneCastle extends AbstractInstance +{ + // NPCs + private static final int[] VICTIMS = + { + 36562, + 36563, + 36564, + 36565, + 36566, + 36567, + 36568, + 36569, + }; + private static final Map MANAGERS = new HashMap<>(); + static + { + MANAGERS.put(36403, 80); // Gludio + MANAGERS.put(36404, 81); // Dion + MANAGERS.put(36405, 82); // Giran + MANAGERS.put(36406, 83); // Oren + MANAGERS.put(36407, 84); // Aden + MANAGERS.put(36408, 85); // Innadril + MANAGERS.put(36409, 86); // Goddard + MANAGERS.put(36410, 87); // Rune + MANAGERS.put(36411, 88); // Schuttgart + MANAGERS.put(35666, 89); // Shanty + MANAGERS.put(35698, 90); // Southern + MANAGERS.put(35735, 91); // Hive + MANAGERS.put(35767, 92); // Valley + MANAGERS.put(35804, 93); // Ivory + MANAGERS.put(35835, 94); // Narsell + MANAGERS.put(35867, 95); // Bayou + MANAGERS.put(35904, 96); // White Sands + MANAGERS.put(35936, 97); // Borderland + MANAGERS.put(35974, 98); // Swamp + MANAGERS.put(36011, 99); // Archaic + MANAGERS.put(36043, 100); // Floran + MANAGERS.put(36081, 101); // Cloud Mountain + MANAGERS.put(36118, 102); // Tanor + MANAGERS.put(36149, 103); // Dragonspine + MANAGERS.put(36181, 104); // Antharas + MANAGERS.put(36219, 105); // Western + MANAGERS.put(36257, 106); // Hunter + MANAGERS.put(36294, 107); // Aaru + MANAGERS.put(36326, 108); // Demon + MANAGERS.put(36364, 109); // Monastic + } + // Misc + private static final long REENTER = 24 * 3600000; // 24 hours + private static final Map REENETER_HOLDER = new ConcurrentHashMap<>(); + + public PailakaRuneCastle() + { + addFirstTalkId(VICTIMS); + addTalkId(VICTIMS); + addTalkId(MANAGERS.keySet()); + addStartNpc(MANAGERS.keySet()); + addInstanceCreatedId(MANAGERS.values()); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + switch (event) + { + case "WAVE_DEFEATED_CHECK": + { + final Instance world = player.getInstanceWorld(); + if (world == null) + { + return null; + } + if (world.getAliveNpcs(L2MonsterInstance.class).isEmpty()) + { + switch (world.getStatus()) + { + case 0: + case 1: + case 2: + { + startQuestTimer("SPAWN_NEXT_WAVE", 20000, null, player, false); + break; + } + case 3: + { + for (L2PcInstance member : world.getPlayers()) + { + final QuestState qs = member.getQuestState(world.getTemplateId() < 89 ? Q00727_HopeWithinTheDarkness.class.getSimpleName() : Q00726_LightWithinTheDarkness.class.getSimpleName()); + if ((qs != null) && qs.isCond(1)) + { + qs.setCond(2); + } + } + world.finishInstance(); + break; + } + } + world.incStatus(); + return null; + } + startQuestTimer("WAVE_DEFEATED_CHECK", 5000, null, player, false); + break; + } + case "SPAWN_NEXT_WAVE": + { + final Instance world = player.getInstanceWorld(); + if (world == null) + { + return null; + } + List monsters = new ArrayList<>(); + switch (world.getStatus()) + { + case 0: + { + showOnScreenMsg(world, NpcStringId.STAGE_1, ExShowScreenMessage.TOP_CENTER, 5000, true); + monsters = world.spawnGroup("monsters_first_wave"); + break; + } + case 1: + { + showOnScreenMsg(world, NpcStringId.STAGE_2, ExShowScreenMessage.TOP_CENTER, 5000, true); + monsters = world.spawnGroup("monsters_second_wave"); + break; + } + case 2: + { + showOnScreenMsg(world, NpcStringId.STAGE_3, ExShowScreenMessage.TOP_CENTER, 5000, true); + monsters = world.spawnGroup("monsters_third_wave"); + break; + } + } + final List helpers = world.getAliveNpcs(FriendlyNpcInstance.class); + if (!helpers.isEmpty()) + { + for (L2Npc monster : monsters) + { + final L2Npc helper = helpers.get(getRandom(helpers.size())); + helper.reduceCurrentHp(1, monster, null); // TODO: Find better way for attack + addAttackDesire(helper, monster); + addAttackDesire(monster, helper); + helper.setRunning(); + monster.reduceCurrentHp(1, helper, null); // TODO: Find better way for attack + monster.setRandomWalking(false); + monster.setRunning(); + addMoveToDesire(monster, helper.getLocation(), 10); + } + } + cancelQuestTimer("FORCE_NEXT_WAVE", null, player); + startQuestTimer("FORCE_NEXT_WAVE", 480000, null, player, false); // 8 minutes + startQuestTimer("WAVE_DEFEATED_CHECK", 1000, null, player, false); + break; + } + case "FORCE_NEXT_WAVE": + { + final Instance world = player.getInstanceWorld(); + if (world == null) + { + return null; + } + if (world.getStatus() < 3) + { + cancelQuestTimer("WAVE_DEFEATED_CHECK", null, player); + world.incStatus(); + startQuestTimer("SPAWN_NEXT_WAVE", 1000, null, player, false); + } + break; + } + case "exit": + { + final Instance world = npc.getInstanceWorld(); + if (world == null) + { + return null; + } + world.ejectPlayer(player); + break; + } + } + return null; + } + + @Override + public String onFirstTalk(L2Npc npc, L2PcInstance player) + { + final Instance world = npc.getInstanceWorld(); + if (world == null) + { + return null; + } + if (npc.isDead()) + { + return "victim-02.html"; + } + if (world.getStatus() < 3) + { + return "victim-01.html"; + } + return "victim-03.html"; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player) + { + final int npcId = npc.getId(); + if (MANAGERS.containsKey(npcId)) + { + enterInstance(player, npc, MANAGERS.get(npcId)); + } + return null; + } + + @Override + public void onInstanceCreated(Instance instance, L2PcInstance player) + { + // Put re-enter for instance + REENETER_HOLDER.put(instance.getTemplateId(), System.currentTimeMillis() + REENTER); + // Schedule spawn of first wave + startQuestTimer("SPAWN_NEXT_WAVE", 120000, null, player, false); // 2 minutes + } + + @Override + protected boolean validateConditions(List group, L2Npc npc, InstanceTemplate template) + { + final L2PcInstance groupLeader = group.get(0); + if (template.getId() < 89) // Castle + { + final Castle castle = npc.getCastle(); + if (castle == null) + { + showHtmlFile(groupLeader, "noProperPledge.html"); + return false; + } + else if (REENETER_HOLDER.containsKey(template.getId())) + { + final long time = REENETER_HOLDER.get(template.getId()); + if (time > System.currentTimeMillis()) + { + showHtmlFile(groupLeader, "enterRestricted.html"); + return false; + } + REENETER_HOLDER.remove(template.getId()); + } + } + else // Fort + { + final Fort fort = npc.getFort(); + if (fort == null) + { + showHtmlFile(groupLeader, "noProperPledge.html"); + return false; + } + else if (fort.getFortState() == 0) + { + showHtmlFile(groupLeader, "noContractYet.html"); + return false; + } + else if (fort.getFortState() == 2) + { + showHtmlFile(groupLeader, "noCastleContract.html"); + return false; + } + else if (REENETER_HOLDER.containsKey(template.getId())) + { + final long time = REENETER_HOLDER.get(template.getId()); + if (time > System.currentTimeMillis()) + { + showHtmlFile(groupLeader, "enterRestricted.html"); + return false; + } + REENETER_HOLDER.remove(template.getId()); + } + } + return true; + } + + public static void main(String[] args) + { + new PailakaRuneCastle(); + } +} \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/enterRestricted.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/enterRestricted.html new file mode 100644 index 0000000000..94d9aa1669 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/enterRestricted.html @@ -0,0 +1,4 @@ +Pailaka is currently closed.
+You can undertake pailaka once every 24 hours with your clan.
+If pailaka is closed, check with your clan members to see when the last pailaka session started. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/hasReenter.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/hasReenter.html new file mode 100644 index 0000000000..ebcf275c5e --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/hasReenter.html @@ -0,0 +1,3 @@ + +Only a party may enter the pailaka. Once you begin the session, you may not attend another one for at least 24 hours. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noCastleContract.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noCastleContract.html new file mode 100644 index 0000000000..b2ead3e69c --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noCastleContract.html @@ -0,0 +1,3 @@ +Off limits! Lord's orders.
+(You cannot enter the pailaka with a contract related to the castle.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noContractYet.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noContractYet.html new file mode 100644 index 0000000000..539a7086ce --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noContractYet.html @@ -0,0 +1,4 @@ + +The fortress is currently in an unsettled state because our relationship with the castle lord must be clearly determined.
+(Entry into the pailaka is only possible after gaining independence from the main castle.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noParty.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noParty.html new file mode 100644 index 0000000000..55aadfc654 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noParty.html @@ -0,0 +1,3 @@ + +To enter the Pailaka, your party must include at least 2 people. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noProperPledge.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noProperPledge.html new file mode 100644 index 0000000000..279274be35 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/noProperPledge.html @@ -0,0 +1,3 @@ + +The clan does not possess this residence. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-01.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-01.html new file mode 100644 index 0000000000..39b774c3ce --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-01.html @@ -0,0 +1,3 @@ +Seduced Victim:
+I thought I would be locked in this place forever... Warriors, please save us! + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-02.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-02.html new file mode 100644 index 0000000000..8d73e12bce --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-02.html @@ -0,0 +1,3 @@ +Seduced Victim:
+Huh-uh... I don't have any Vitality. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-03.html b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-03.html new file mode 100644 index 0000000000..bc2b184d1a --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/instances/PailakaRuneCastle/victim-03.html @@ -0,0 +1,4 @@ +Seduced Victim:
+Oh... I'm alive! Now I can see my family again. Thank you, adventurer! Thank you! Thank you!

+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt index 5c5593fc2a..f4c1c403ac 100644 --- a/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/MissingQuests.txt @@ -24,8 +24,6 @@ 668 The Gladiator's Treasure 669 High Priest's Treasure 670 Turek Orc's Treasure -726 Light within the Darkness -727 Hope within the Darkness 750 Seven Flowers 751 Liberating the Spirits 752 Uncover the Secret diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Q00726_LightWithinTheDarkness.java b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Q00726_LightWithinTheDarkness.java new file mode 100644 index 0000000000..a8ed80b6f8 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Q00726_LightWithinTheDarkness.java @@ -0,0 +1,129 @@ +/* + * 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 quests.Q00726_LightWithinTheDarkness; + +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.L2Clan; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.entity.Fort; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; + +/** + * Light within the Darkness (726) + * @author Mobius + */ +public final class Q00726_LightWithinTheDarkness extends Quest +{ + // NPCs + private static final int[] NPCS = + { + 35666, // Shanty + 35698, // Southern + 35735, // Hive + 35767, // Valley + 35804, // Ivory + 35835, // Narsell + 35867, // Bayou + 35904, // White Sands + 35936, // Borderland + 35974, // Swamp + 36011, // Archaic + 36043, // Floran + 36081, // Cloud Mountain + 36118, // Tanor + 36149, // Dragonspine + 36181, // Antharas + 36219, // Western + 36257, // Hunter + 36294, // Aaru + 36326, // Demon + 36364, // Monastic + }; + // Items + private static final int KNIGHT_EPALUETTE = 9912; + // Misc + private static final int MIN_LEVEL = 85; + + public Q00726_LightWithinTheDarkness() + { + super(726); + addStartNpc(NPCS); + addTalkId(NPCS); + addCondMinLevel(MIN_LEVEL, "Warden-00a.htm"); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = event; + switch (event) + { + case "Warden-03.html": + case "Warden-04.html": + { + break; + } + case "Warden-02.htm": + { + qs.startQuest(); + break; + } + default: + { + htmltext = null; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player, boolean isSimulated) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (qs.isCreated()) + { + final Fort fort = npc.getFort(); + final L2Clan clan = player.getClan(); + htmltext = ((fort != null) && (clan != null) && (clan.getFortId() == fort.getResidenceId())) ? "Warden-01.htm" : "Warden-00b.htm"; + } + else if (qs.isStarted()) + { + if (qs.isCond(1)) + { + htmltext = "Warden-03.html"; + } + else + { + player.setPkKills(Math.max(0, player.getPkKills() - 1)); + giveItems(player, KNIGHT_EPALUETTE, 200); + qs.exitQuest(QuestType.REPEATABLE); + htmltext = "Warden-05.html"; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00a.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00a.htm new file mode 100644 index 0000000000..556c6faa5a --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00a.htm @@ -0,0 +1,5 @@ +Camp Keeper:
+It's an odd time to be alive, I tell you. Strange happenings and omens. Frightening portents of danger and doom. I'm not sure what to make of them, but I do know that we need more power! Yes, we need to focus on increasing our strengths before it's too late.
+You, focus. Work hard to become stronger and more powerful. The more powerful you become, the better able you'll be to protect yourself and your clan!
+(This quest is for characters level 85 or above.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00b.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00b.htm new file mode 100644 index 0000000000..39543abb92 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-00b.htm @@ -0,0 +1,4 @@ +Camp Keeper:
+Who are you? I don't see you on the Clan member list...
+(Only members of the clan that owns this fortress may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-01.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-01.htm new file mode 100644 index 0000000000..36fdc7883d --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-01.htm @@ -0,0 +1,4 @@ +Camp Keeper:
+Welcome! Have you heard about a place called Rim Pailaka? It was mentioned in a recent report about Pailaka: a unique kind of Pailaka different from the others. We had difficulty distinguishing it from the ordinary ones for quite a while. It is a place where evil invades the mind, like Rim Kamaloka. The scholars have announced that the Pailaka in Rune Fortress is a Rim Pailaka.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-02.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-02.htm new file mode 100644 index 0000000000..8c18da017e --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-02.htm @@ -0,0 +1,8 @@ +Camp Keeper:
+Of course you can participate. But before you do, there are several things you should know. There are 4 researchers currently inspecting the Rim Pailaka that can be entered from Rune Fortress.
+Because of the mystical dream-nature of Rim Pailaka, we don't know what will happen to them if they "die" in there. Our goal therefore, is to bring them all home safely.People say attacks in that strange place develop over 3 stages. Defend them from each!
+One more thing. It would be unwise to enter Rim Pailaka alone. Find another clan member willing to accompany you. Then I'll send you in.
+There's no time to waste. Please hurry!
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-03.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-03.html new file mode 100644 index 0000000000..8b49e3a49d --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-03.html @@ -0,0 +1,5 @@ +Camp Keeper:
+Do you know what kind of mission you're signing on for?
+Have you heard about a place called Rim Pailaka? It was mentioned in a recent report about Pailaka: a unique kind of Pailaka different from the others. We had difficulty distinguishing it from the ordinary ones for quite a while. It is a place where evil invades the mind, like Rim Kamaloka. The scholars have announced that the Pailaka in Rune Fortress is a Rim Pailaka.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-04.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-04.html new file mode 100644 index 0000000000..4db399f73c --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-04.html @@ -0,0 +1,3 @@ +Camp Keeper:
+Good luck, and win honor for your clan! + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-05.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-05.html new file mode 100644 index 0000000000..75a3e818f5 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00726_LightWithinTheDarkness/Warden-05.html @@ -0,0 +1,6 @@ +Camp Keeper:
+You and your fellow party members did very well!
+You have made our clan proud.
+Take this token of appreciation.
+Now you must rest, but visit me again when you have time. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Q00727_HopeWithinTheDarkness.java b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Q00727_HopeWithinTheDarkness.java new file mode 100644 index 0000000000..9522f87b6c --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Q00727_HopeWithinTheDarkness.java @@ -0,0 +1,117 @@ +/* + * 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 quests.Q00727_HopeWithinTheDarkness; + +import com.l2jmobius.gameserver.enums.QuestType; +import com.l2jmobius.gameserver.model.L2Clan; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.entity.Castle; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; + +/** + * Hope within the Darkness (727) + * @author Mobius + */ +public final class Q00727_HopeWithinTheDarkness extends Quest +{ + // NPCs + private static final int[] NPCS = + { + 36403, // Gludio + 36404, // Dion + 36405, // Giran + 36406, // Oren + 36407, // Aden + 36408, // Innadril + 36409, // Goddard + 36410, // Rune + 36411, // Schuttgart + }; + // Items + private static final int KNIGHT_EPALUETTE = 9912; + // Misc + private static final int MIN_LEVEL = 90; + + public Q00727_HopeWithinTheDarkness() + { + super(727); + addStartNpc(NPCS); + addTalkId(NPCS); + addCondMinLevel(MIN_LEVEL, "Warden-00a.htm"); + } + + @Override + public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = event; + switch (event) + { + case "Warden-03.html": + case "Warden-04.html": + { + break; + } + case "Warden-02.htm": + { + qs.startQuest(); + break; + } + default: + { + htmltext = null; + } + } + return htmltext; + } + + @Override + public String onTalk(L2Npc npc, L2PcInstance player, boolean isSimulated) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + if (qs.isCreated()) + { + final Castle castle = npc.getCastle(); + final L2Clan clan = player.getClan(); + htmltext = ((castle != null) && (clan != null) && (clan.getCastleId() == castle.getResidenceId())) ? "Warden-01.htm" : "Warden-00b.htm"; + } + else if (qs.isStarted()) + { + if (qs.isCond(1)) + { + htmltext = "Warden-03.html"; + } + else + { + player.setPkKills(Math.max(0, player.getPkKills() - 1)); + giveItems(player, KNIGHT_EPALUETTE, 300); + qs.exitQuest(QuestType.REPEATABLE); + htmltext = "Warden-05.html"; + } + } + return htmltext; + } +} diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00a.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00a.htm new file mode 100644 index 0000000000..2f5e5cf448 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00a.htm @@ -0,0 +1,5 @@ +Prison Warden:
+Strange omens. There have been lots of strange omens of late. The only thing we can rely on in this unstable world is power. As a member of the castle community, I hope that our clan members will become strong and powerful.
+You, you must put in the time required to train and practice. Improve yourself so that we may rely on you to protect yourself and the clan.
+(This quest is for characters level 90 or above.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00b.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00b.htm new file mode 100644 index 0000000000..9cbb846262 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-00b.htm @@ -0,0 +1,4 @@ +Prison Warden:
+Who are you? I don't see you on the Clan member list...
+(Only members of the clan that owns this castle may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-01.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-01.htm new file mode 100644 index 0000000000..532750ed6b --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-01.htm @@ -0,0 +1,4 @@ +Prison Warden:
+Welcome! Have you heard about a place called Rim Pailaka? It was mentioned in a recent report about Pailaka: a unique kind of Pailaka different from the others. We had difficulty distinguishing it from the ordinary ones for quite a while. It is a place where evil invades the mind, like Rim Kamaloka. The scholars have announced that the Pailaka in Rune Castle is a Rim Pailaka.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-02.htm b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-02.htm new file mode 100644 index 0000000000..e66475fe21 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-02.htm @@ -0,0 +1,8 @@ +Prison Warden:
+Of course, you can participate. But before you do, there are several things you should know. There are 4 researchers currently inspecting the Rim Pailaka that can be entered from Rune Castle.
+Because of the mystical dream-nature of Rim Pailaka, we don't know what will happen to them if they "die" in there. Our goal therefore, is to bring them all home safely.People say attacks in that strange place develop over 3 stages. Defend them from each!
+One more thing. It would be unwise to enter Rim Pailaka alone. Find another clan member willing to accompany you. Then I'll send you in.
+There's no time to waste. Please hurry!
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-03.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-03.html new file mode 100644 index 0000000000..fab38bdb71 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-03.html @@ -0,0 +1,5 @@ +Prison Warden:
+Do you know what kind of mission you're signing on for?
+Have you heard about a place called Rim Pailaka? In a recent report, findings concluded that this Pailaka was different from the others. We had difficulty distinguishing it from the ordinary ones for quite a while. Unlike the others, it was found that this Kamaloka had the power to invade one's mind. The scholars have announced that the Pailaka in Rune Castle is a Rim Pailaka.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-04.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-04.html new file mode 100644 index 0000000000..922499242d --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-04.html @@ -0,0 +1,3 @@ +Prison Warden:
+Good luck, and win honor for your clan! + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-05.html b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-05.html new file mode 100644 index 0000000000..b665d49a49 --- /dev/null +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/Q00727_HopeWithinTheDarkness/Warden-05.html @@ -0,0 +1,6 @@ +Prison Warden:
+You and your fellow party members did very well!
+You have made our clan proud.
+Take this token of appreciation.
+Now you must rest, but visit me again when you have time. + \ No newline at end of file diff --git a/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java index b188cb9b56..8efe81f8d1 100644 --- a/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_Underground/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -169,6 +169,8 @@ import quests.Q00652_AnAgedExAdventurer.Q00652_AnAgedExAdventurer; import quests.Q00662_AGameOfCards.Q00662_AGameOfCards; import quests.Q00663_SeductiveWhispers.Q00663_SeductiveWhispers; import quests.Q00688_DefeatTheElrokianRaiders.Q00688_DefeatTheElrokianRaiders; +import quests.Q00726_LightWithinTheDarkness.Q00726_LightWithinTheDarkness; +import quests.Q00727_HopeWithinTheDarkness.Q00727_HopeWithinTheDarkness; import quests.Q00754_AssistingTheRebelForces.Q00754_AssistingTheRebelForces; import quests.Q00755_InNeedOfPetras.Q00755_InNeedOfPetras; import quests.Q00756_TopQualityPetra.Q00756_TopQualityPetra; @@ -545,6 +547,8 @@ public class QuestMasterHandler Q00662_AGameOfCards.class, Q00663_SeductiveWhispers.class, Q00688_DefeatTheElrokianRaiders.class, + Q00726_LightWithinTheDarkness.class, + Q00727_HopeWithinTheDarkness.class, Q00754_AssistingTheRebelForces.class, Q00755_InNeedOfPetras.class, Q00756_TopQualityPetra.class, diff --git a/L2J_Mobius_Underground/dist/game/data/stats/npcs/36500-36599.xml b/L2J_Mobius_Underground/dist/game/data/stats/npcs/36500-36599.xml index fa11166995..62209f9e27 100644 --- a/L2J_Mobius_Underground/dist/game/data/stats/npcs/36500-36599.xml +++ b/L2J_Mobius_Underground/dist/game/data/stats/npcs/36500-36599.xml @@ -3130,7 +3130,7 @@ - + @@ -3190,7 +3190,7 @@ - + @@ -3248,7 +3248,7 @@ - + @@ -3304,7 +3304,7 @@ - + @@ -3362,7 +3362,7 @@ - + @@ -3422,7 +3422,7 @@ - + @@ -3480,7 +3480,7 @@ - + @@ -3536,7 +3536,7 @@ - +