Adjustments for Tiat doors.

This commit is contained in:
MobiusDev
2018-09-15 15:18:30 +00:00
parent a674523af5
commit 850c075c0e
22 changed files with 261 additions and 276 deletions

View File

@@ -57,7 +57,7 @@
</nodes>
<location x="-241117" y="218106" z="-12402" />
<stats basePDef="1000" baseMDef="100000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240006" name="door_of_shield_012_01">
@@ -69,7 +69,7 @@
</nodes>
<location x="-241117" y="218105" z="-12402" />
<stats basePDef="1000" baseMDef="100000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240007" name="door_of_shield_021_01">
@@ -81,7 +81,7 @@
</nodes>
<location x="-238727" y="215838" z="-12659" />
<stats basePDef="3000" baseMDef="100000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240008" name="door_of_shield_022_01">
@@ -93,7 +93,7 @@
</nodes>
<location x="-238727" y="215838" z="-12659" />
<stats basePDef="3000" baseMDef="100000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240009" name="door_of_shield_031_01">
@@ -105,7 +105,7 @@
</nodes>
<location x="-238741" y="212231" z="-12788" />
<stats basePDef="5000" baseMDef="100000" baseHpMax="50000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240010" name="door_of_shield_032_01">
@@ -117,7 +117,7 @@
</nodes>
<location x="-238741" y="212231" z="-12788" />
<stats basePDef="5000" baseMDef="100000" baseHpMax="50000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240011" name="secret_door_003_01">
@@ -153,7 +153,7 @@
</nodes>
<location x="-242793" y="213118" z="-12530" />
<stats basePDef="100000" baseMDef="5000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240014" name="door_of_shield_042_01">
@@ -165,7 +165,7 @@
</nodes>
<location x="-242793" y="213118" z="-12530" />
<stats basePDef="100000" baseMDef="5000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240015" name="door_of_shield_051_01">
@@ -177,7 +177,7 @@
</nodes>
<location x="-242794" y="209512" z="-12662" />
<stats basePDef="100000" baseMDef="3000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240016" name="door_of_shield_052_01">
@@ -189,7 +189,7 @@
</nodes>
<location x="-242794" y="209512" z="-12662" />
<stats basePDef="100000" baseMDef="3000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240017" name="door_of_shield_061_01">
@@ -201,7 +201,7 @@
</nodes>
<location x="-239837" y="207825" z="-12914" />
<stats basePDef="100000" baseMDef="1000" baseHpMax="40000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240018" name="door_of_shield_062_01">
@@ -213,7 +213,7 @@
</nodes>
<location x="-239837" y="207824" z="-12914" />
<stats basePDef="100000" baseMDef="1000" baseHpMax="40000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240019" name="secret_door_005_01">
@@ -249,7 +249,7 @@
</nodes>
<location x="-245877" y="211738" z="-12405" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240022" name="door_of_shield_072_01">
@@ -261,7 +261,7 @@
</nodes>
<location x="-245877" y="211738" z="-12405" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="10000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240023" name="door_of_shield_081_01">
@@ -273,7 +273,7 @@
</nodes>
<location x="-245877" y="208132" z="-12531" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="20000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240024" name="door_of_shield_082_01">
@@ -285,7 +285,7 @@
</nodes>
<location x="-245877" y="208132" z="-12531" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="20000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240025" name="door_of_shield_091_01">
@@ -297,7 +297,7 @@
</nodes>
<location x="-242922" y="206445" z="-12783" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="25000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240026" name="door_of_shield_092_01">
@@ -309,7 +309,7 @@
</nodes>
<location x="-242922" y="206444" z="-12783" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="25000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240027" name="secret_door_007_01">
@@ -333,7 +333,7 @@
</nodes>
<location x="-249760" y="220073" z="-12464" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240029" name="gate_of_destruction022_01">
@@ -345,7 +345,7 @@
</nodes>
<location x="-249760" y="220072" z="-12464" />
<stats basePDef="10000" baseMDef="10000" baseHpMax="30000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240030" name="gate_of_fortress_01">
@@ -357,7 +357,7 @@
</nodes>
<location x="-251436" y="214385" z="-12122" />
<stats basePDef="20000" baseMDef="20000" baseHpMax="200000" />
<status targetable="false" />
<status targetable="true" />
<openStatus default="open" />
</door>
<door id="12240031" name="door_of_throne_01">

View File

@@ -582,12 +582,11 @@ public final class L2DoorInstance extends L2Character
{
broadcastPacket(SystemMessage.getSystemMessage(SystemMessageId.THE_CASTLE_GATE_HAS_BEEN_DESTROYED));
}
// Correct position in case pathfinding moved player to a restricted location, since door coordinates can be behind objects.
if (killer.isPlayer())
else
{
killer.setLocation(killer.getActingPlayer().getLastServerPosition());
openMe();
}
return true;
}