Basic Tauti instance implementation.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<html><body>Sizrak:<br>
|
||||
You'd like to challenge <font color="LEVEL">Tauti</font>, eh? We would as well.<br>
|
||||
<font color="LEVEL"> (In order to challenge Tauti, you need an alliance with parties that are level 97 or above. Maximum of 35 people can join at once. You can enter the Instanced Zone through the alliance leader. Every member must also have a Mark of Resistance.) </font><br>
|
||||
<button ALIGN=LEFT ICON="RETURN" action="bypass -h npc_%objectId%_Chat 1">"I am ready to fight."</button>
|
||||
<button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest TautiWarzone enterEasyInstance">"I am ready to fight. (Normal)"</button>
|
||||
<button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest TautiWarzone enterExtremeInstance">"I will make him pay! (Extreme)"</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 0">Back</button>
|
||||
</body></html>
|
216
L2J_Mobius_Underground/dist/game/data/instances/TautiWarzoneCommon.xml
vendored
Normal file
216
L2J_Mobius_Underground/dist/game/data/instances/TautiWarzoneCommon.xml
vendored
Normal file
@@ -0,0 +1,216 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tauti Warzone -->
|
||||
<instance id="218" maxWorlds="20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
|
||||
<time duration="120" empty="5" /><!-- TODO: Confirm me -->
|
||||
<removeBuffs type="ALL" />
|
||||
<locations>
|
||||
<enter type="FIXED">
|
||||
<location x="-146151" y="186525" z="-11736" />
|
||||
</enter>
|
||||
<exit type="ORIGIN" />
|
||||
</locations>
|
||||
<conditions>
|
||||
<condition type="Party" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoGroup.html" />
|
||||
</condition>
|
||||
<condition type="CommandChannel" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoGroup.html" />
|
||||
</condition>
|
||||
<condition type="CommandChannelLeader" />
|
||||
<condition type="GroupMin">
|
||||
<param name="limit" value="14" />
|
||||
</condition>
|
||||
<condition type="GroupMax">
|
||||
<param name="html" value="condBigGroup.html" />
|
||||
<param name="limit" value="35" />
|
||||
</condition>
|
||||
<condition type="Level" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoLevelExtreme.html" />
|
||||
<param name="min" value="97" />
|
||||
</condition>
|
||||
<condition type="Distance" />
|
||||
<condition type="Reenter" />
|
||||
</conditions>
|
||||
<reenter apply="ON_FINISH">
|
||||
<reset day="WEDNESDAY" hour="6" minute="30" />
|
||||
<reset day="SATURDAY" hour="6" minute="30" />
|
||||
</reenter>
|
||||
<doorlist>
|
||||
<door id="15240001" />
|
||||
<door id="15240002" />
|
||||
</doorlist>
|
||||
<spawnlist>
|
||||
<group>
|
||||
<npc id="33675" x="-146238" y="186523" z="-11728" heading="0" /> <!-- Finaria -->
|
||||
<npc id="33678" x="-147682" y="174379" z="-10872" heading="16384" /> <!-- Teleporter Device -->
|
||||
</group>
|
||||
<group name="room1" spawnByDefault="false">
|
||||
<npc id="19263" x="-148480" y="181382" z="-11584" heading="35278" />
|
||||
<npc id="19263" x="-146233" y="180976" z="-11584" heading="36118" />
|
||||
<npc id="19264" x="-146691" y="182021" z="-11576" heading="16866" />
|
||||
<npc id="19263" x="-146485" y="181425" z="-11584" heading="19062" />
|
||||
<npc id="19263" x="-146685" y="182037" z="-11576" heading="47000" />
|
||||
<npc id="19264" x="-146126" y="182525" z="-11584" heading="39471" />
|
||||
<npc id="19262" x="-146241" y="182716" z="-11584" heading="42298" />
|
||||
<npc id="19262" x="-146401" y="182573" z="-11584" heading="33996" />
|
||||
<npc id="19264" x="-148653" y="180822" z="-11584" heading="24371" />
|
||||
<npc id="19264" x="-148099" y="181513" z="-11584" heading="24577" />
|
||||
<npc id="19262" x="-147430" y="180783" z="-11584" heading="1424" />
|
||||
<npc id="19263" x="-146920" y="181021" z="-11584" heading="4987" />
|
||||
<npc id="19262" x="-146822" y="181083" z="-11584" heading="51527" />
|
||||
<npc id="19262" x="-148555" y="183836" z="-11584" heading="64293" />
|
||||
<npc id="19264" x="-148428" y="183251" z="-11584" heading="7872" />
|
||||
<npc id="19264" x="-148752" y="183063" z="-11584" heading="6861" />
|
||||
<npc id="19263" x="-148637" y="183696" z="-11584" heading="38565" />
|
||||
<npc id="19263" x="-148586" y="183453" z="-11584" heading="4077" />
|
||||
<npc id="19264" x="-146667" y="180831" z="-11584" heading="27275" />
|
||||
<npc id="19264" x="-146525" y="180972" z="-11584" heading="18240" />
|
||||
<npc id="19262" x="-149257" y="182930" z="-11584" heading="54554" />
|
||||
<npc id="19263" x="-146649" y="181017" z="-11584" heading="16825" />
|
||||
<npc id="33680" x="-146716" y="183198" z="-11584" heading="43242" />
|
||||
<npc id="19262" x="-146534" y="180830" z="-11584" heading="28186" />
|
||||
<npc id="19262" x="-146236" y="180950" z="-11584" heading="33631" />
|
||||
<npc id="33680" x="-147874" y="183699" z="-11584" heading="33231" />
|
||||
<npc id="33680" x="-148839" y="182196" z="-11584" heading="2057" />
|
||||
<npc id="33680" x="-149393" y="183123" z="-11584" heading="57832" />
|
||||
<npc id="33680" x="-149032" y="182029" z="-11576" heading="58837" />
|
||||
<npc id="33680" x="-149418" y="182196" z="-11584" heading="49528" />
|
||||
<npc id="33680" x="-146985" y="183636" z="-11584" heading="56714" />
|
||||
<npc id="33680" x="-147681" y="183031" z="-11576" heading="44471" />
|
||||
<npc id="33680" x="-149354" y="183238" z="-11584" heading="52704" />
|
||||
<npc id="33680" x="-146716" y="180860" z="-11584" heading="15070" />
|
||||
<npc id="33680" x="-145944" y="183699" z="-11584" heading="50557" />
|
||||
<npc id="33680" x="-146898" y="183550" z="-11584" heading="56456" />
|
||||
<npc id="33680" x="-149225" y="181361" z="-11584" heading="59100" />
|
||||
<npc id="33680" x="-147681" y="182864" z="-11576" heading="38687" />
|
||||
<npc id="33680" x="-146872" y="183603" z="-11584" heading="50855" />
|
||||
<npc id="33680" x="-148431" y="181409" z="-11584" heading="38227" />
|
||||
<npc id="33680" x="-149032" y="181528" z="-11584" heading="7866" />
|
||||
<npc id="33680" x="-148260" y="182363" z="-11584" heading="18697" />
|
||||
<npc id="33680" x="-147708" y="180768" z="-11576" heading="212" />
|
||||
<npc id="33680" x="-146716" y="182029" z="-11576" heading="62226" />
|
||||
<npc id="33680" x="-147874" y="183365" z="-11584" heading="65064" />
|
||||
<npc id="33680" x="-146692" y="182006" z="-11576" heading="15802" />
|
||||
<npc id="33680" x="-146716" y="182530" z="-11584" heading="43866" />
|
||||
<npc id="33680" x="-147874" y="182196" z="-11576" heading="65027" />
|
||||
<npc id="19262" x="-149390" y="182150" z="-11576" heading="16423" />
|
||||
<npc id="33680" x="-149225" y="182530" z="-11584" heading="52224" />
|
||||
<npc id="33680" x="-147295" y="183365" z="-11584" heading="62933" />
|
||||
<npc id="33680" x="-146909" y="181027" z="-11584" heading="40790" />
|
||||
<npc id="33680" x="-147874" y="182363" z="-11576" heading="63831" />
|
||||
<npc id="33680" x="-146635" y="182021" z="-11576" heading="26193" />
|
||||
<npc id="33679" x="-146909" y="183365" z="-11584" heading="7144" />
|
||||
<npc id="33680" x="-148839" y="181194" z="-11584" heading="8567" />
|
||||
<npc id="19264" x="-146829" y="183386" z="-11584" heading="54756" />
|
||||
<npc id="33679" x="-146705" y="181959" z="-11576" heading="14138" />
|
||||
<npc id="33679" x="-146952" y="183682" z="-11584" heading="54343" />
|
||||
<npc id="33679" x="-147488" y="181361" z="-11584" heading="13545" />
|
||||
<npc id="33679" x="-147874" y="182029" z="-11576" heading="37869" />
|
||||
<npc id="33679" x="-146330" y="184033" z="-11584" heading="32450" />
|
||||
<npc id="33679" x="-145986" y="182210" z="-11584" heading="22790" />
|
||||
<npc id="33679" x="-145944" y="181862" z="-11576" heading="47164" />
|
||||
<npc id="33679" x="-149063" y="181331" z="-11584" heading="64566" />
|
||||
<npc id="33679" x="-148551" y="181344" z="-11584" heading="5000" />
|
||||
<npc id="33679" x="-149401" y="182143" z="-11576" heading="8119" />
|
||||
<npc id="33679" x="-148260" y="182530" z="-11584" heading="45147" />
|
||||
<npc id="19263" x="-147432" y="183550" z="-11584" heading="42771" />
|
||||
<npc id="33679" x="-148260" y="182530" z="-11584" heading="19722" />
|
||||
<npc id="33679" x="-146222" y="183459" z="-11584" heading="35045" />
|
||||
<npc id="33679" x="-148453" y="183699" z="-11584" heading="41562" />
|
||||
<npc id="33679" x="-148067" y="183031" z="-11584" heading="9308" />
|
||||
<npc id="33679" x="-147096" y="181201" z="-11584" heading="55677" />
|
||||
<npc id="33679" x="-145944" y="182864" z="-11584" heading="34638" />
|
||||
<npc id="33679" x="-148846" y="183864" z="-11584" heading="63236" />
|
||||
<npc id="33679" x="-145944" y="181528" z="-11584" heading="14425" />
|
||||
<npc id="33679" x="-146048" y="182826" z="-11584" heading="5340" />
|
||||
<npc id="33679" x="-146330" y="182864" z="-11584" heading="10802" />
|
||||
<npc id="33679" x="-148067" y="184033" z="-11584" heading="63684" />
|
||||
<npc id="33679" x="-147947" y="181382" z="-11584" heading="28094" />
|
||||
<npc id="19264" x="-147821" y="183412" z="-11576" heading="63035" />
|
||||
<npc id="33679" x="-148646" y="182029" z="-11576" heading="44533" />
|
||||
<npc id="33679" x="-149225" y="181862" z="-11576" heading="59590" />
|
||||
<npc id="33679" x="-147681" y="184033" z="-11576" heading="645" />
|
||||
<npc id="33679" x="-147659" y="180872" z="-11576" heading="57947" />
|
||||
<npc id="19263" x="-147388" y="183466" z="-11584" heading="61849" />
|
||||
<npc id="33679" x="-146716" y="180860" z="-11584" heading="22332" />
|
||||
<npc id="33679" x="-146973" y="183571" z="-11584" heading="53500" />
|
||||
<npc id="19262" x="-147922" y="183727" z="-11584" heading="60061" />
|
||||
<npc id="19262" x="-147056" y="183227" z="-11584" heading="6522" />
|
||||
<npc id="19262" x="-147660" y="182631" z="-11576" heading="36110" />
|
||||
<npc id="19263" x="-147243" y="182794" z="-11584" heading="6318" />
|
||||
<npc id="19264" x="-147503" y="182740" z="-11584" heading="36555" />
|
||||
<npc id="19264" x="-146935" y="181284" z="-11584" heading="47957" />
|
||||
<npc id="19263" x="-147835" y="182366" z="-11576" heading="6426" />
|
||||
<npc id="19264" x="-148763" y="181269" z="-11584" heading="60948" />
|
||||
<npc id="19264" x="-148526" y="181183" z="-11584" heading="60901" />
|
||||
<npc id="19263" x="-149333" y="181133" z="-11584" heading="2136" />
|
||||
<npc id="19262" x="-147103" y="181987" z="-11576" heading="50651" />
|
||||
<npc id="19263" x="-148735" y="181275" z="-11584" heading="20609" />
|
||||
<npc id="19262" x="-146420" y="183463" z="-11584" heading="40742" />
|
||||
<npc id="19262" x="-148552" y="181017" z="-11584" heading="61920" />
|
||||
<npc id="19262" x="-149152" y="181656" z="-11584" heading="9966" />
|
||||
<npc id="19264" x="-146668" y="183180" z="-11584" heading="48982" />
|
||||
<npc id="19264" x="-146216" y="183530" z="-11584" heading="7516" />
|
||||
<npc id="19263" x="-146008" y="182849" z="-11584" heading="27347" />
|
||||
<npc id="19263" x="-146215" y="183701" z="-11584" heading="41188" />
|
||||
<npc id="19262" x="-146720" y="183178" z="-11584" heading="14162" />
|
||||
<npc id="19264" x="-148378" y="181480" z="-11584" heading="10966" />
|
||||
<npc id="19262" x="-148489" y="182866" z="-11584" heading="10307" />
|
||||
<npc id="19264" x="-149081" y="182388" z="-11584" heading="19760" />
|
||||
<npc id="19263" x="-148384" y="182872" z="-11584" heading="10911" />
|
||||
<npc id="19263" x="-148832" y="182194" z="-11584" heading="30386" />
|
||||
<npc id="19264" x="-147272" y="181447" z="-11584" heading="55540" />
|
||||
<npc id="19264" x="-147123" y="181020" z="-11584" heading="30165" />
|
||||
<npc id="19263" x="-148683" y="182543" z="-11584" heading="2688" />
|
||||
<npc id="19263" x="-148514" y="182421" z="-11584" heading="61480" />
|
||||
<npc id="19262" x="-146535" y="183427" z="-11584" heading="40819" />
|
||||
<npc id="19262" x="-148690" y="183822" z="-11584" heading="64549" />
|
||||
</group>
|
||||
<group name="room2" spawnByDefault="false">
|
||||
<npc id="19262" x="-147881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148081" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146481" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148281" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147281" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147481" y="175824" z="-10912" heading="16384" />
|
||||
<npc id="19264" x="-147081" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148281" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148481" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147081" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148081" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147281" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148081" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147081" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147281" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19266" x="-147678" y="174848" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148281" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19265" x="-147409" y="175000" z="-10920" heading="16384" />
|
||||
</group>
|
||||
<group name="boss" spawnByDefault="false">
|
||||
<npc id="29233" x="-147264" y="212896" z="-10056" heading="0" />
|
||||
</group>
|
||||
</spawnlist>
|
||||
</instance>
|
216
L2J_Mobius_Underground/dist/game/data/instances/TautiWarzoneExtreme.xml
vendored
Normal file
216
L2J_Mobius_Underground/dist/game/data/instances/TautiWarzoneExtreme.xml
vendored
Normal file
@@ -0,0 +1,216 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Tauti Warzone Extreme -->
|
||||
<instance id="129" maxWorlds="20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
|
||||
<time duration="120" empty="5" />
|
||||
<removeBuffs type="ALL" />
|
||||
<locations>
|
||||
<enter type="FIXED">
|
||||
<location x="-146151" y="186525" z="-11736" />
|
||||
</enter>
|
||||
<exit type="ORIGIN" />
|
||||
</locations>
|
||||
<conditions>
|
||||
<condition type="Party" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoGroup.html" />
|
||||
</condition>
|
||||
<condition type="CommandChannel" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoGroup.html" />
|
||||
</condition>
|
||||
<condition type="CommandChannelLeader" />
|
||||
<condition type="GroupMin">
|
||||
<param name="limit" value="7" />
|
||||
</condition>
|
||||
<condition type="GroupMax">
|
||||
<param name="html" value="condBigGroup.html"/>
|
||||
<param name="limit" value="35" />
|
||||
</condition>
|
||||
<condition type="Level" showMessageAndHtml="true">
|
||||
<param name="html" value="condNoLevelCommon.html" />
|
||||
<param name="min" value="95" />
|
||||
</condition>
|
||||
<condition type="Distance" />
|
||||
<condition type="Reenter" />
|
||||
</conditions>
|
||||
<reenter apply="ON_FINISH">
|
||||
<reset day="WEDNESDAY" hour="6" minute="30" />
|
||||
<reset day="SATURDAY" hour="6" minute="30" />
|
||||
</reenter>
|
||||
<doorlist>
|
||||
<door id="15240001"/>
|
||||
<door id="15240002"/>
|
||||
</doorlist>
|
||||
<spawnlist>
|
||||
<group>
|
||||
<npc id="33675" x="-146238" y="186523" z="-11728" heading="0" /> <!-- Finaria -->
|
||||
<npc id="33678" x="-147682" y="174379" z="-10872" heading="16384" /> <!-- Teleporter Device -->
|
||||
</group>
|
||||
<group name="room1" spawnByDefault="false">
|
||||
<npc id="19263" x="-148480" y="181382" z="-11584" heading="35278" />
|
||||
<npc id="19263" x="-146233" y="180976" z="-11584" heading="36118" />
|
||||
<npc id="19264" x="-146691" y="182021" z="-11576" heading="16866" />
|
||||
<npc id="19263" x="-146485" y="181425" z="-11584" heading="19062" />
|
||||
<npc id="19263" x="-146685" y="182037" z="-11576" heading="47000" />
|
||||
<npc id="19264" x="-146126" y="182525" z="-11584" heading="39471" />
|
||||
<npc id="19262" x="-146241" y="182716" z="-11584" heading="42298" />
|
||||
<npc id="19262" x="-146401" y="182573" z="-11584" heading="33996" />
|
||||
<npc id="19264" x="-148653" y="180822" z="-11584" heading="24371" />
|
||||
<npc id="19264" x="-148099" y="181513" z="-11584" heading="24577" />
|
||||
<npc id="19262" x="-147430" y="180783" z="-11584" heading="1424" />
|
||||
<npc id="19263" x="-146920" y="181021" z="-11584" heading="4987" />
|
||||
<npc id="19262" x="-146822" y="181083" z="-11584" heading="51527" />
|
||||
<npc id="19262" x="-148555" y="183836" z="-11584" heading="64293" />
|
||||
<npc id="19264" x="-148428" y="183251" z="-11584" heading="7872" />
|
||||
<npc id="19264" x="-148752" y="183063" z="-11584" heading="6861" />
|
||||
<npc id="19263" x="-148637" y="183696" z="-11584" heading="38565" />
|
||||
<npc id="19263" x="-148586" y="183453" z="-11584" heading="4077" />
|
||||
<npc id="19264" x="-146667" y="180831" z="-11584" heading="27275" />
|
||||
<npc id="19264" x="-146525" y="180972" z="-11584" heading="18240" />
|
||||
<npc id="19262" x="-149257" y="182930" z="-11584" heading="54554" />
|
||||
<npc id="19263" x="-146649" y="181017" z="-11584" heading="16825" />
|
||||
<npc id="33680" x="-146716" y="183198" z="-11584" heading="43242" />
|
||||
<npc id="19262" x="-146534" y="180830" z="-11584" heading="28186" />
|
||||
<npc id="19262" x="-146236" y="180950" z="-11584" heading="33631" />
|
||||
<npc id="33680" x="-147874" y="183699" z="-11584" heading="33231" />
|
||||
<npc id="33680" x="-148839" y="182196" z="-11584" heading="2057" />
|
||||
<npc id="33680" x="-149393" y="183123" z="-11584" heading="57832" />
|
||||
<npc id="33680" x="-149032" y="182029" z="-11576" heading="58837" />
|
||||
<npc id="33680" x="-149418" y="182196" z="-11584" heading="49528" />
|
||||
<npc id="33680" x="-146985" y="183636" z="-11584" heading="56714" />
|
||||
<npc id="33680" x="-147681" y="183031" z="-11576" heading="44471" />
|
||||
<npc id="33680" x="-149354" y="183238" z="-11584" heading="52704" />
|
||||
<npc id="33680" x="-146716" y="180860" z="-11584" heading="15070" />
|
||||
<npc id="33680" x="-145944" y="183699" z="-11584" heading="50557" />
|
||||
<npc id="33680" x="-146898" y="183550" z="-11584" heading="56456" />
|
||||
<npc id="33680" x="-149225" y="181361" z="-11584" heading="59100" />
|
||||
<npc id="33680" x="-147681" y="182864" z="-11576" heading="38687" />
|
||||
<npc id="33680" x="-146872" y="183603" z="-11584" heading="50855" />
|
||||
<npc id="33680" x="-148431" y="181409" z="-11584" heading="38227" />
|
||||
<npc id="33680" x="-149032" y="181528" z="-11584" heading="7866" />
|
||||
<npc id="33680" x="-148260" y="182363" z="-11584" heading="18697" />
|
||||
<npc id="33680" x="-147708" y="180768" z="-11576" heading="212" />
|
||||
<npc id="33680" x="-146716" y="182029" z="-11576" heading="62226" />
|
||||
<npc id="33680" x="-147874" y="183365" z="-11584" heading="65064" />
|
||||
<npc id="33680" x="-146692" y="182006" z="-11576" heading="15802" />
|
||||
<npc id="33680" x="-146716" y="182530" z="-11584" heading="43866" />
|
||||
<npc id="33680" x="-147874" y="182196" z="-11576" heading="65027" />
|
||||
<npc id="19262" x="-149390" y="182150" z="-11576" heading="16423" />
|
||||
<npc id="33680" x="-149225" y="182530" z="-11584" heading="52224" />
|
||||
<npc id="33680" x="-147295" y="183365" z="-11584" heading="62933" />
|
||||
<npc id="33680" x="-146909" y="181027" z="-11584" heading="40790" />
|
||||
<npc id="33680" x="-147874" y="182363" z="-11576" heading="63831" />
|
||||
<npc id="33680" x="-146635" y="182021" z="-11576" heading="26193" />
|
||||
<npc id="33679" x="-146909" y="183365" z="-11584" heading="7144" />
|
||||
<npc id="33680" x="-148839" y="181194" z="-11584" heading="8567" />
|
||||
<npc id="19264" x="-146829" y="183386" z="-11584" heading="54756" />
|
||||
<npc id="33679" x="-146705" y="181959" z="-11576" heading="14138" />
|
||||
<npc id="33679" x="-146952" y="183682" z="-11584" heading="54343" />
|
||||
<npc id="33679" x="-147488" y="181361" z="-11584" heading="13545" />
|
||||
<npc id="33679" x="-147874" y="182029" z="-11576" heading="37869" />
|
||||
<npc id="33679" x="-146330" y="184033" z="-11584" heading="32450" />
|
||||
<npc id="33679" x="-145986" y="182210" z="-11584" heading="22790" />
|
||||
<npc id="33679" x="-145944" y="181862" z="-11576" heading="47164" />
|
||||
<npc id="33679" x="-149063" y="181331" z="-11584" heading="64566" />
|
||||
<npc id="33679" x="-148551" y="181344" z="-11584" heading="5000" />
|
||||
<npc id="33679" x="-149401" y="182143" z="-11576" heading="8119" />
|
||||
<npc id="33679" x="-148260" y="182530" z="-11584" heading="45147" />
|
||||
<npc id="19263" x="-147432" y="183550" z="-11584" heading="42771" />
|
||||
<npc id="33679" x="-148260" y="182530" z="-11584" heading="19722" />
|
||||
<npc id="33679" x="-146222" y="183459" z="-11584" heading="35045" />
|
||||
<npc id="33679" x="-148453" y="183699" z="-11584" heading="41562" />
|
||||
<npc id="33679" x="-148067" y="183031" z="-11584" heading="9308" />
|
||||
<npc id="33679" x="-147096" y="181201" z="-11584" heading="55677" />
|
||||
<npc id="33679" x="-145944" y="182864" z="-11584" heading="34638" />
|
||||
<npc id="33679" x="-148846" y="183864" z="-11584" heading="63236" />
|
||||
<npc id="33679" x="-145944" y="181528" z="-11584" heading="14425" />
|
||||
<npc id="33679" x="-146048" y="182826" z="-11584" heading="5340" />
|
||||
<npc id="33679" x="-146330" y="182864" z="-11584" heading="10802" />
|
||||
<npc id="33679" x="-148067" y="184033" z="-11584" heading="63684" />
|
||||
<npc id="33679" x="-147947" y="181382" z="-11584" heading="28094" />
|
||||
<npc id="19264" x="-147821" y="183412" z="-11576" heading="63035" />
|
||||
<npc id="33679" x="-148646" y="182029" z="-11576" heading="44533" />
|
||||
<npc id="33679" x="-149225" y="181862" z="-11576" heading="59590" />
|
||||
<npc id="33679" x="-147681" y="184033" z="-11576" heading="645" />
|
||||
<npc id="33679" x="-147659" y="180872" z="-11576" heading="57947" />
|
||||
<npc id="19263" x="-147388" y="183466" z="-11584" heading="61849" />
|
||||
<npc id="33679" x="-146716" y="180860" z="-11584" heading="22332" />
|
||||
<npc id="33679" x="-146973" y="183571" z="-11584" heading="53500" />
|
||||
<npc id="19262" x="-147922" y="183727" z="-11584" heading="60061" />
|
||||
<npc id="19262" x="-147056" y="183227" z="-11584" heading="6522" />
|
||||
<npc id="19262" x="-147660" y="182631" z="-11576" heading="36110" />
|
||||
<npc id="19263" x="-147243" y="182794" z="-11584" heading="6318" />
|
||||
<npc id="19264" x="-147503" y="182740" z="-11584" heading="36555" />
|
||||
<npc id="19264" x="-146935" y="181284" z="-11584" heading="47957" />
|
||||
<npc id="19263" x="-147835" y="182366" z="-11576" heading="6426" />
|
||||
<npc id="19264" x="-148763" y="181269" z="-11584" heading="60948" />
|
||||
<npc id="19264" x="-148526" y="181183" z="-11584" heading="60901" />
|
||||
<npc id="19263" x="-149333" y="181133" z="-11584" heading="2136" />
|
||||
<npc id="19262" x="-147103" y="181987" z="-11576" heading="50651" />
|
||||
<npc id="19263" x="-148735" y="181275" z="-11584" heading="20609" />
|
||||
<npc id="19262" x="-146420" y="183463" z="-11584" heading="40742" />
|
||||
<npc id="19262" x="-148552" y="181017" z="-11584" heading="61920" />
|
||||
<npc id="19262" x="-149152" y="181656" z="-11584" heading="9966" />
|
||||
<npc id="19264" x="-146668" y="183180" z="-11584" heading="48982" />
|
||||
<npc id="19264" x="-146216" y="183530" z="-11584" heading="7516" />
|
||||
<npc id="19263" x="-146008" y="182849" z="-11584" heading="27347" />
|
||||
<npc id="19263" x="-146215" y="183701" z="-11584" heading="41188" />
|
||||
<npc id="19262" x="-146720" y="183178" z="-11584" heading="14162" />
|
||||
<npc id="19264" x="-148378" y="181480" z="-11584" heading="10966" />
|
||||
<npc id="19262" x="-148489" y="182866" z="-11584" heading="10307" />
|
||||
<npc id="19264" x="-149081" y="182388" z="-11584" heading="19760" />
|
||||
<npc id="19263" x="-148384" y="182872" z="-11584" heading="10911" />
|
||||
<npc id="19263" x="-148832" y="182194" z="-11584" heading="30386" />
|
||||
<npc id="19264" x="-147272" y="181447" z="-11584" heading="55540" />
|
||||
<npc id="19264" x="-147123" y="181020" z="-11584" heading="30165" />
|
||||
<npc id="19263" x="-148683" y="182543" z="-11584" heading="2688" />
|
||||
<npc id="19263" x="-148514" y="182421" z="-11584" heading="61480" />
|
||||
<npc id="19262" x="-146535" y="183427" z="-11584" heading="40819" />
|
||||
<npc id="19262" x="-148690" y="183822" z="-11584" heading="64549" />
|
||||
</group>
|
||||
<group name="room2" spawnByDefault="false">
|
||||
<npc id="19262" x="-147881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148081" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146481" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148281" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-146881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147281" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147481" y="175824" z="-10912" heading="16384" />
|
||||
<npc id="19264" x="-147081" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148281" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147881" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148481" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-147681" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147081" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19264" x="-148081" y="175824" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-146881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147281" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148881" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-148081" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147481" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19263" x="-147681" y="176024" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-146681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147081" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147281" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19266" x="-147678" y="174848" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148881" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148481" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-148281" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19262" x="-147681" y="176224" z="-10920" heading="16384" />
|
||||
<npc id="19265" x="-147409" y="175000" z="-10920" heading="16384" />
|
||||
</group>
|
||||
<group name="boss" spawnByDefault="false">
|
||||
<npc id="29234" x="-147264" y="212896" z="-10056" heading="0" />
|
||||
</group>
|
||||
</spawnlist>
|
||||
</instance>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33675.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33675.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Finaria:<br>
|
||||
Welcome back! I've been waiting for you. A fierce battle between the <font color="LEVEL">Revolutionaries</font> and <font color="LEVEL">Kundas</font>.<br>
|
||||
Be careful! If all the <font color="LEVEL">Revolutionaries</font> fall, our plans to the end! Help <font color="LEVEL">Revolutionaries</font> to beat <font color="LEVEL">Kunda</font>. Before everyone power <font color="LEVEL">Revolutionaries</font> run out of, you must immediately kill <font color="LEVEL">Tauti</font>!<br>
|
||||
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-1.htm
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-1.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Teleport Device:<br>
|
||||
You do not have the key.<br>
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-2.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-2.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Teleport Device:<br>
|
||||
Mechanical device. Requires key.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest TautiWarzone useKey">"Use key"</Button>
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-3.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/33678-3.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Teleport Device:<br>
|
||||
Teleport Device is now working.<br>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest TautiWarzone teleport">"Move"</Button>
|
||||
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyEnterCommon.html
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyEnterCommon.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Sizrak:<br>
|
||||
I will pray that you defeat Tauti... I hope your decision is the right one... I will pray.
|
||||
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyEnterExtreme.html
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyEnterExtreme.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Sizrak:<br>
|
||||
We will win! We must!
|
||||
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyMemberReenter.html
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/PartyMemberReenter.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Sizrak:<br>
|
||||
Please prove your decision is the right one and help your members.
|
||||
</body></html>
|
240
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/TautiWarzone.java
vendored
Normal file
240
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/TautiWarzone.java
vendored
Normal file
@@ -0,0 +1,240 @@
|
||||
/*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package instances.TautiWarzone;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2MonsterInstance;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.instancezone.Instance;
|
||||
|
||||
import instances.AbstractInstance;
|
||||
|
||||
/**
|
||||
* Tauti Warzone instance zone.
|
||||
* @author Mobius
|
||||
*/
|
||||
public final class TautiWarzone extends AbstractInstance
|
||||
{
|
||||
// NPCs
|
||||
private static final int FINARIA = 33675;
|
||||
private static final int ZAHAK = 19266;
|
||||
private static final int TELEPORTER = 33678;
|
||||
private static final int TAUTI_COMMON = 29233;
|
||||
private static final int TAUTI_EXTREME = 29234;
|
||||
private static final int TAUTI_COMMON_AXE = 29236;
|
||||
private static final int TAUTI_EXTREME_AXE = 29237;
|
||||
// Item
|
||||
private static final int KEY_OF_DARKNESS = 34899;
|
||||
// Teleport
|
||||
private static final Location TAUTI_TELEPORT = new Location(-148972, 209879, -10199);
|
||||
// Misc
|
||||
private static final int TEMPLATE_ID = 218;
|
||||
private static final int EXTREME_TEMPLATE_ID = 219;
|
||||
private static final int DOOR_1 = 15240001;
|
||||
private static final int DOOR_2 = 15240002;
|
||||
|
||||
public TautiWarzone()
|
||||
{
|
||||
addTalkId(FINARIA, TELEPORTER);
|
||||
addFirstTalkId(FINARIA, TELEPORTER);
|
||||
addAttackId(TAUTI_COMMON, TAUTI_EXTREME);
|
||||
addKillId(ZAHAK, TAUTI_COMMON_AXE, TAUTI_EXTREME_AXE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
switch (event)
|
||||
{
|
||||
case "enterEasyInstance":
|
||||
{
|
||||
enterInstance(player, npc, TEMPLATE_ID);
|
||||
startQuestTimer("WORLD_STATUS_CHECK", 5000, null, player, false);
|
||||
break;
|
||||
}
|
||||
case "enterExtremeInstance":
|
||||
{
|
||||
enterInstance(player, npc, EXTREME_TEMPLATE_ID);
|
||||
startQuestTimer("WORLD_STATUS_CHECK", 5000, null, player, false);
|
||||
break;
|
||||
}
|
||||
case "useKey":
|
||||
{
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
if (hasAtLeastOneQuestItem(player, KEY_OF_DARKNESS))
|
||||
{
|
||||
takeItems(player, KEY_OF_DARKNESS, -1);
|
||||
world.setStatus(3);
|
||||
return "33678-3.htm";
|
||||
}
|
||||
return "33678-1.htm";
|
||||
}
|
||||
case "teleport":
|
||||
{
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
world.setStatus(4);
|
||||
world.openCloseDoor(DOOR_2, true);
|
||||
for (L2PcInstance member : world.getPlayers())
|
||||
{
|
||||
member.teleToLocation(TAUTI_TELEPORT, world);
|
||||
startQuestTimer("PLAY_OPENING_B_MOVIE", 5000, null, member, false);
|
||||
}
|
||||
startQuestTimer("SPAWN_TAUTI", 60000, npc, null, false);
|
||||
break;
|
||||
}
|
||||
case "PLAY_OPENING_B_MOVIE":
|
||||
{
|
||||
playMovie(player, Movie.SC_TAUTI_OPENING_B);
|
||||
break;
|
||||
}
|
||||
case "SPAWN_TAUTI":
|
||||
{
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
world.openCloseDoor(DOOR_1, true);
|
||||
world.spawnGroup("boss");
|
||||
break;
|
||||
}
|
||||
case "SPAWN_AXE":
|
||||
{
|
||||
final L2Npc axe = addSpawn(npc.getId() == TAUTI_EXTREME ? TAUTI_EXTREME_AXE : TAUTI_COMMON_AXE, npc, false, 0, false, npc.getInstanceId());
|
||||
axe.setRandomWalking(false);
|
||||
axe.setIsImmobilized(true);
|
||||
break;
|
||||
}
|
||||
case "WORLD_STATUS_CHECK":
|
||||
{
|
||||
if ((player == null) || (player.getInstanceId() == 0))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
final Instance world = player.getInstanceWorld();
|
||||
if (world.isStatus(0))
|
||||
{
|
||||
world.setStatus(1);
|
||||
world.spawnGroup("room1");
|
||||
playMovie(world.getPlayers(), Movie.SC_TAUTI_OPENING);
|
||||
for (L2PcInstance member : world.getPlayers())
|
||||
{
|
||||
takeItems(member, KEY_OF_DARKNESS, -1);
|
||||
}
|
||||
startQuestTimer("WORLD_STATUS_CHECK", 5000, null, player, false);
|
||||
}
|
||||
else if (world.isStatus(1))
|
||||
{
|
||||
if (world.getAliveNpcs(L2MonsterInstance.class).isEmpty())
|
||||
{
|
||||
world.setStatus(2);
|
||||
final List<L2Npc> monsters = world.spawnGroup("room2");
|
||||
for (L2Npc monster : monsters)
|
||||
{
|
||||
monster.setRandomWalking(false);
|
||||
}
|
||||
}
|
||||
startQuestTimer("WORLD_STATUS_CHECK", 5000, null, player, false);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return super.onAdvEvent(event, npc, player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = "";
|
||||
switch (npc.getId())
|
||||
{
|
||||
case FINARIA:
|
||||
{
|
||||
htmltext = "33675.htm";
|
||||
break;
|
||||
}
|
||||
case TELEPORTER:
|
||||
{
|
||||
final int worldStatus = npc.getInstanceWorld().getStatus();
|
||||
if (worldStatus > 2)
|
||||
{
|
||||
htmltext = "33678-3.htm";
|
||||
}
|
||||
else if ((worldStatus == 2) && hasAtLeastOneQuestItem(player, KEY_OF_DARKNESS))
|
||||
{
|
||||
htmltext = "33678-2.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33678-1.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAttack(L2Npc npc, L2PcInstance attacker, int damage, boolean isSummon)
|
||||
{
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
if (world.isStatus(5) && (npc.getCurrentHp() < (npc.getMaxHp() * 0.15)))
|
||||
{
|
||||
world.setStatus(6);
|
||||
npc.deleteMe();
|
||||
startQuestTimer("SPAWN_AXE", 15000, npc, null, false);
|
||||
playMovie(world.getPlayers(), Movie.SC_TAUTI_PHASE);
|
||||
}
|
||||
if (world.isStatus(4))
|
||||
{
|
||||
world.setStatus(5);
|
||||
world.openCloseDoor(DOOR_1, false);
|
||||
world.openCloseDoor(DOOR_2, false);
|
||||
}
|
||||
return super.onAttack(npc, attacker, damage, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
if (npc.getId() == ZAHAK)
|
||||
{
|
||||
npc.dropItem(killer, KEY_OF_DARKNESS, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
playMovie(world.getPlayers(), Movie.SC_TAUTI_ENDING);
|
||||
npc.deleteMe();
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInstanceCreated(Instance instance, L2PcInstance player)
|
||||
{
|
||||
if (player != null)
|
||||
{
|
||||
showHtmlFile(player, instance.getTemplateId() == EXTREME_TEMPLATE_ID ? "PartyEnterExtreme.html" : "PartyEnterCommon.html");
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new TautiWarzone();
|
||||
}
|
||||
}
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condBigGroup.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condBigGroup.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Sizrak:<br>
|
||||
That many people can't be moved.<br>
|
||||
(A maximum of 35 people can participate.)
|
||||
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoGroup.html
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoGroup.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Sizrak:<br>
|
||||
As I explained earlier, you can enter only by forming an association.
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoLevelCommon.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoLevelCommon.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Sizrak:<br>
|
||||
I don't think you are quite prepared yet.<br>
|
||||
(Party includes character(s) <font color="LEVEL">under level 95</font>.)
|
||||
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoLevelExtreme.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/instances/TautiWarzone/condNoLevelExtreme.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Sizrak:<br>
|
||||
I don't think you are quite prepared yet.<br>
|
||||
(Party includes character(s) <font color="LEVEL">under level 97</font>.)
|
||||
</body></html>
|
Reference in New Issue
Block a user