Large dialog window for Lulu (34545).

Contributed by Index.
This commit is contained in:
MobiusDevelopment 2022-09-07 10:37:00 +00:00
parent 0f11cee4db
commit 905bdc9ae0
6 changed files with 33 additions and 51 deletions

View File

@ -1,15 +1,9 @@
<html><title>Lulu</title><body>
<table border=0 cellpadding=0 cellspacing=0 width=350 height=493 background="L2UI_CT1.GroupBox.GroupBox_DF">
<tr>
<td valign="center" align="center">
<table border=0 cellpadding=0 cellspacing=0>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"></td></tr>
<tr><td height="5"></td></tr>
<tr><td><button align="LEFT" icon="NORMAL" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button></td></tr>
</table>
</td>
</tr>
</table>
<html noscrollbar><body>
<table border=0 cellpadding=0 cellspacing=0 width=370 height=290>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"><br1></td></tr>
</table>
<br>
<button align="LEFT" icon="NORMAL" width="370" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button>
</body></html>

View File

@ -16,7 +16,6 @@
*/
package ai.areas.Aden.Lulu;
import org.l2jmobius.gameserver.cache.HtmCache;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
@ -29,7 +28,7 @@ import org.l2jmobius.gameserver.model.holders.SkillHolder;
import org.l2jmobius.gameserver.model.skill.SkillCaster;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ConfirmDlg;
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import ai.AbstractNpcAI;
@ -82,7 +81,8 @@ public class Lulu extends AbstractNpcAI
final int npcId = npc.getId();
if (npcId == LULU)
{
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/areas/Aden/Lulu/34545.html")));
final String htmlText = getHtm(player, "34545.html");
player.sendPacket(new NpcHtmlMessage(npc.getObjectId(), 0, htmlText, 1));
return null;
}
return npcId + ".html";

View File

@ -1,15 +1,9 @@
<html><title>Lulu</title><body>
<table border=0 cellpadding=0 cellspacing=0 width=350 height=493 background="L2UI_CT1.GroupBox.GroupBox_DF">
<tr>
<td valign="center" align="center">
<table border=0 cellpadding=0 cellspacing=0>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"></td></tr>
<tr><td height="5"></td></tr>
<tr><td><button align="LEFT" icon="NORMAL" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button></td></tr>
</table>
</td>
</tr>
</table>
<html noscrollbar><body>
<table border=0 cellpadding=0 cellspacing=0 width=370 height=290>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"><br1></td></tr>
</table>
<br>
<button align="LEFT" icon="NORMAL" width="370" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button>
</body></html>

View File

@ -16,7 +16,6 @@
*/
package ai.areas.Aden.Lulu;
import org.l2jmobius.gameserver.cache.HtmCache;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
@ -29,7 +28,7 @@ import org.l2jmobius.gameserver.model.holders.SkillHolder;
import org.l2jmobius.gameserver.model.skill.SkillCaster;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ConfirmDlg;
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import ai.AbstractNpcAI;
@ -82,7 +81,8 @@ public class Lulu extends AbstractNpcAI
final int npcId = npc.getId();
if (npcId == LULU)
{
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/areas/Aden/Lulu/34545.html")));
final String htmlText = getHtm(player, "34545.html");
player.sendPacket(new NpcHtmlMessage(npc.getObjectId(), 0, htmlText, 1));
return null;
}
return npcId + ".html";

View File

@ -1,15 +1,9 @@
<html><title>Lulu</title><body>
<table border=0 cellpadding=0 cellspacing=0 width=350 height=493 background="L2UI_CT1.GroupBox.GroupBox_DF">
<tr>
<td valign="center" align="center">
<table border=0 cellpadding=0 cellspacing=0>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"></td></tr>
<tr><td width=350 height=160 background="L2UI_CT1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"></td></tr>
<tr><td height="5"></td></tr>
<tr><td><button align="LEFT" icon="NORMAL" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button></td></tr>
</table>
</td>
</tr>
</table>
<html noscrollbar><body>
<table border=0 cellpadding=0 cellspacing=0 width=370 height=290>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu01"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Lullu02"><br1></td></tr>
<tr><td valign=Top width=370 height=178 align=center background="L2UI_ct1.HtmlWnd.HtmlWnd_LuckyBuff_Img_Common01"><br1></td></tr>
</table>
<br>
<button align="LEFT" icon="NORMAL" width="370" action="bypass -h Quest Lulu LULU_BLESSING"><font color="LEVEL">Present Boots of Luck to Lulu, the Cherub of Luck (7kk Adena)</font></button>
</body></html>

View File

@ -16,7 +16,6 @@
*/
package ai.areas.Aden.Lulu;
import org.l2jmobius.gameserver.cache.HtmCache;
import org.l2jmobius.gameserver.model.World;
import org.l2jmobius.gameserver.model.actor.Npc;
import org.l2jmobius.gameserver.model.actor.Player;
@ -29,7 +28,7 @@ import org.l2jmobius.gameserver.model.holders.SkillHolder;
import org.l2jmobius.gameserver.model.skill.SkillCaster;
import org.l2jmobius.gameserver.network.SystemMessageId;
import org.l2jmobius.gameserver.network.serverpackets.ConfirmDlg;
import org.l2jmobius.gameserver.network.serverpackets.ExPremiumManagerShowHtml;
import org.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
import ai.AbstractNpcAI;
@ -82,7 +81,8 @@ public class Lulu extends AbstractNpcAI
final int npcId = npc.getId();
if (npcId == LULU)
{
player.sendPacket(new ExPremiumManagerShowHtml(HtmCache.getInstance().getHtm(player, "data/scripts/ai/areas/Aden/Lulu/34545.html")));
final String htmlText = getHtm(player, "34545.html");
player.sendPacket(new NpcHtmlMessage(npc.getObjectId(), 0, htmlText, 1));
return null;
}
return npcId + ".html";