Sync with L2JServer Jan 9th 2015.
This commit is contained in:
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureKnight">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as a Sigel Knight.<br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.) </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureKnight">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You are not walking the Knight's path. You must seek the mark that is
|
||||
appropriate for you.<br> <font color="af9878">(Only Knight Class characters may
|
||||
Awaken <font color="LEVEL">as Sigel Knights</font>.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33397.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureKnight">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Sigel Knight</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureWarrior">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as a Tyrr Warrior. <br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.) </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureWarrior">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">The path you walk is not that of a Warrior. Seek the mark that is
|
||||
appropriate for you.<br> <font color="af9878">(Only Warrior Class characters may
|
||||
Awaken as a Tyrr Warrior.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33398.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureWarrior">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Tyrr Warrior</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
32
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399-no.htm
vendored
Normal file
32
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399-no.htm
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureRogue">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as an Othell Rogue.<br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399-no_class.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399-no_class.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureRogue">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Rogue’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Rogue Type Class
|
||||
characters may Awaken as an Othell Rogue.) </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33399.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureRogue">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Othell Rogue</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureArcher">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as a Yul Archer. <br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.) </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureArcher">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Archer’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Archer Class characters
|
||||
may Awaken as a Yul Archer.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33400.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureArcher">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Yul Archer</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureWizard">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as a Feoh Wizard.<br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureWizard">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Wizard’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Wizard Class characters
|
||||
may Awaken as a Feoh Wizard.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33401.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureWizard">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Feoh Wizard</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureEnchanter">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as an Iss Enchanter. <br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureEnchanter">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Enchanter’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Enchanter Class
|
||||
characters may Awaken as an Iss Enchanter.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33402.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureEnchanter">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Iss Enchanter</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureSummoner">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as a Wynn Summoner. <br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.) </font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureSummoner">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Summoner’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Summoner Class
|
||||
characters may Awaken as an Wynn Summoner.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33403.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureSummoner">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Wynn Summoner</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404-no.htm
vendored
Normal file
33
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404-no.htm
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureHealer">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="90"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">It is not possible for you to Awaken as an Aeore Healer. <br>
|
||||
<font color="af9878">(Only characters level 85 or above who have completed their 3rd
|
||||
class transfer and possess the Scroll of Afterlife may Awaken.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404-no_class.htm
vendored
Normal file
34
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404-no_class.htm
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<html>
|
||||
|
||||
<body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292"
|
||||
background="L2UI_CT1.HtmlWnd_DF_TextureHealer">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr>
|
||||
<td height="150"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">You do not walk the Healer’s path. You must seek another that is
|
||||
appropriate for your class.<br> <font color="af9878">(Only Healer Class characters
|
||||
may Awaken as an Aeore Healer.)</font></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body>
|
||||
</html>
|
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404.html
vendored
Normal file
19
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/33404.html
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<html><body scroll="no">
|
||||
<!-- Edge Decoration Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" height="358" background="L2UI_CH3.refinewnd_back_Pattern">
|
||||
<tr><td>
|
||||
<!-- Class Mark Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="292" background="L2UI_CT1.HtmlWnd_DF_TextureHealer">
|
||||
<tr><td align="center">
|
||||
<!-- Text Table -->
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="272" height="338">
|
||||
<tr><td height="216"> </td></tr>
|
||||
<tr><td height="100" align="center" valign="bottom">You are brave to take this road!<br>Will you accept the help of the ancient hero Nabiarov and be awoken as a <font color="LEVEL">Aeore Healer</font>?</td></tr>
|
||||
<tr><td align="center"><button value="Awaken" action="bypass -h Quest AwakeningMaster awakening" width="200" height="31" back="L2UI_CT1.HtmlWnd_DF_Awake_Down" fore="L2UI_CT1.HtmlWnd_DF_Awake"></td></tr>
|
||||
</table>
|
||||
<!-- //Text Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Class Mark Table -->
|
||||
</td></tr></table>
|
||||
<!-- //Edge Decoration -->
|
||||
</body></html>
|
292
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/AwakeningMaster.java
vendored
Normal file
292
trunk/dist/game/data/scripts/ai/npc/AwakeningMaster/AwakeningMaster.java
vendored
Normal file
@@ -0,0 +1,292 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2015 L2J DataPack
|
||||
*
|
||||
* This file is part of L2J DataPack.
|
||||
*
|
||||
* L2J DataPack 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.
|
||||
*
|
||||
* L2J DataPack 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 ai.npc.AwakeningMaster;
|
||||
|
||||
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
|
||||
import ai.npc.AbstractNpcAI;
|
||||
|
||||
import com.l2jserver.gameserver.ThreadPoolManager;
|
||||
import com.l2jserver.gameserver.enums.CategoryType;
|
||||
import com.l2jserver.gameserver.enums.UserInfoType;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.base.ClassId;
|
||||
import com.l2jserver.gameserver.model.entity.Hero;
|
||||
import com.l2jserver.gameserver.model.events.EventType;
|
||||
import com.l2jserver.gameserver.model.events.ListenerRegisterType;
|
||||
import com.l2jserver.gameserver.model.events.annotations.RegisterEvent;
|
||||
import com.l2jserver.gameserver.model.events.annotations.RegisterType;
|
||||
import com.l2jserver.gameserver.model.events.impl.character.player.OnPlayerChangeToAwakenedClass;
|
||||
import com.l2jserver.gameserver.model.items.instance.L2ItemInstance;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.network.SystemMessageId;
|
||||
import com.l2jserver.gameserver.network.serverpackets.ExChangeToAwakenedClass;
|
||||
import com.l2jserver.gameserver.network.serverpackets.ExShowUsm;
|
||||
import com.l2jserver.gameserver.network.serverpackets.SocialAction;
|
||||
import com.l2jserver.gameserver.network.serverpackets.UserInfo;
|
||||
|
||||
/**
|
||||
* @author Sdw
|
||||
*/
|
||||
public class AwakeningMaster extends AbstractNpcAI
|
||||
{
|
||||
// Masters
|
||||
private static final int SIGEL_MASTER = 33397;
|
||||
private static final int TYRR_MASTER = 33398;
|
||||
private static final int OTHELL_MASTER = 33399;
|
||||
private static final int YUL_MASTER = 33400;
|
||||
private static final int FEOH_MASTER = 33401;
|
||||
private static final int ISS_MASTER = 33402;
|
||||
private static final int WYNN_MASTER = 33403;
|
||||
private static final int AEORE_MASTER = 33404;
|
||||
|
||||
// Items
|
||||
private static final int SCROLL_OF_AFTERLIFE = 17600;
|
||||
private final static int ABELIUS_POWER = 32264;
|
||||
private final static int SAPYROS_POWER = 32265;
|
||||
private final static int ASHAGEN_POWER = 32266;
|
||||
private final static int CRANIGG_POWER = 32267;
|
||||
private final static int SOLTKREIG_POWER = 32268;
|
||||
private final static int NAVIAROPE_POWER = 32269;
|
||||
private final static int LEISTER_POWER = 32270;
|
||||
private final static int LAKCIS_POWER = 32271;
|
||||
|
||||
private AwakeningMaster()
|
||||
{
|
||||
super(AwakeningMaster.class.getSimpleName(), "ai/npc");
|
||||
addStartNpc(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);
|
||||
addTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);
|
||||
addFirstTalkId(SIGEL_MASTER, TYRR_MASTER, OTHELL_MASTER, YUL_MASTER, FEOH_MASTER, ISS_MASTER, WYNN_MASTER, AEORE_MASTER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "awakening":
|
||||
{
|
||||
final QuestState st2 = player.getQuestState(Q10338_SeizeYourDestiny.class.getSimpleName());
|
||||
if (st.hasQuestItems(SCROLL_OF_AFTERLIFE) && (player.getLevel() > 84) && (!player.isSubClassActive() || player.isDualClassActive()) && player.isInCategory(CategoryType.FOURTH_CLASS_GROUP) && (st2 != null) && st2.isCompleted())
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SIGEL_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.SIGEL_CANDIDATE))
|
||||
{
|
||||
return SIGEL_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TYRR_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.TYRR_CANDIDATE))
|
||||
{
|
||||
return TYRR_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case OTHELL_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.OTHELL_CANDIDATE))
|
||||
{
|
||||
return OTHELL_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case YUL_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.YUL_CANDIDATE))
|
||||
{
|
||||
return YUL_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case FEOH_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.FEOH_CANDIDATE))
|
||||
{
|
||||
return FEOH_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ISS_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.ISS_CANDIDATE))
|
||||
{
|
||||
return ISS_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WYNN_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.WYNN_CANDIDATE))
|
||||
{
|
||||
return WYNN_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AEORE_MASTER:
|
||||
{
|
||||
if (!player.isInCategory(CategoryType.AEORE_CANDIDATE))
|
||||
{
|
||||
return AEORE_MASTER + "-no_class.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
for (ClassId newClass : player.getClassId().getNextClassIds())
|
||||
{
|
||||
player.sendPacket(new ExChangeToAwakenedClass(newClass.getId()));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return npc.getId() + "-no.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_CHANGE_TO_AWAKENED_CLASS)
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerChangeToAwakenedClass(OnPlayerChangeToAwakenedClass event)
|
||||
{
|
||||
final L2PcInstance player = event.getActiveChar();
|
||||
|
||||
if (player.isSubClassActive() && !player.isDualClassActive())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ((player.getLevel() < 85) || !player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final QuestState st = player.getQuestState(Q10338_SeizeYourDestiny.class.getSimpleName());
|
||||
|
||||
if ((st == null) || !st.isCompleted())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.isHero() || Hero.getInstance().isUnclaimedHero(player.getObjectId()))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOU_CANNOT_AWAKEN_WHEN_YOU_ARE_A_HERO_OR_ON_THE_WAIT_LIST_FOR_HERO_STATUS);
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.getInventory().getSize(false) >= (player.getInventoryLimit() * 0.8))
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOU_CANNOT_AWAKEN_DUE_TO_YOUR_CURRENT_INVENTORY_WEIGHT_PLEASE_ORGANIZE_YOUR_INVENTORY_AND_TRY_AGAIN_DWARVEN_CHARACTERS_MUST_BE_AT_20_OR_BELOW_THE_INVENTORY_MAX_TO_AWAKEN);
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.isMounted() || player.isTransformed())
|
||||
{
|
||||
player.sendPacket(SystemMessageId.YOU_CANNOT_AWAKEN_WHILE_YOU_RE_TRANSFORMED_OR_RIDING);
|
||||
return;
|
||||
}
|
||||
|
||||
final L2ItemInstance item = player.getInventory().getItemByItemId(SCROLL_OF_AFTERLIFE);
|
||||
if (item == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (!player.destroyItem("Awakening", item, player, true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
for (ClassId newClass : player.getClassId().getNextClassIds())
|
||||
{
|
||||
player.setClassId(newClass.getId());
|
||||
player.sendPacket(SystemMessageId.CONGRATULATIONS_YOU_VE_COMPLETED_A_CLASS_TRANSFER);
|
||||
final UserInfo ui = new UserInfo(player, false);
|
||||
ui.addComponentType(UserInfoType.BASIC_INFO);
|
||||
ui.addComponentType(UserInfoType.MAX_HPCPMP);
|
||||
player.sendPacket(ui);
|
||||
player.broadcastInfo();
|
||||
|
||||
int socialId = 21; // Sigel
|
||||
int itemId = ABELIUS_POWER; // Sigel
|
||||
if (player.isInCategory(CategoryType.TYRR_CANDIDATE))
|
||||
{
|
||||
socialId = 22;
|
||||
itemId = SAPYROS_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.OTHELL_CANDIDATE))
|
||||
{
|
||||
socialId = 23;
|
||||
itemId = ASHAGEN_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.YUL_CANDIDATE))
|
||||
{
|
||||
socialId = 24;
|
||||
itemId = CRANIGG_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.FEOH_CANDIDATE))
|
||||
{
|
||||
socialId = 25;
|
||||
itemId = SOLTKREIG_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.ISS_CANDIDATE))
|
||||
{
|
||||
socialId = 26;
|
||||
itemId = NAVIAROPE_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.WYNN_CANDIDATE))
|
||||
{
|
||||
socialId = 27;
|
||||
itemId = LEISTER_POWER;
|
||||
}
|
||||
else if (player.isInCategory(CategoryType.AEORE_CANDIDATE))
|
||||
{
|
||||
socialId = 28;
|
||||
itemId = LAKCIS_POWER;
|
||||
}
|
||||
player.broadcastPacket(new SocialAction(player.getObjectId(), socialId));
|
||||
player.addItem("Awakening", itemId, 1, player, true);
|
||||
|
||||
// TODO: Remove skill which does not level up later are removed
|
||||
}
|
||||
|
||||
ThreadPoolManager.getInstance().scheduleGeneral(() ->
|
||||
{
|
||||
player.sendPacket(ExShowUsm.AWAKENING_END);
|
||||
}, 10000);
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new AwakeningMaster();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user