Przeglądaj źródła

Moving default talk HTML within AI for NPC Kanaf.

Zoey76 10 lat temu
rodzic
commit
b4c69581e1

+ 2 - 4
L2J_DataPack/dist/game/data/html/default/32346.htm → L2J_DataPack/dist/game/data/scripts/hellbound/AI/NPC/Kanaf/32346.html

@@ -1,8 +1,6 @@
 <html><body>Kanaf:<br>
-Shh! Please be still. Over there is the <font color="LEVEL">old town</font>, which is the only entrance to the Steel Citadel. 
-It is used as a prison camp for Native captives.<br>
-Some time ago, when the Steel Citadel's defenses were temporarily weakened, we attacked the town in an attempt to rescue the captives. 
-However, the enemy was still too strong, and many of us were killed or wounded.<br>
+Shh! Please be still. Over there is the <font color="LEVEL">old town</font>, which is the only entrance to the Steel Citadel. It is used as a prison camp for Native captives.<br>
+Some time ago, when the Steel Citadel's defenses were temporarily weakened, we attacked the town in an attempt to rescue the captives. However, the enemy was still too strong, and many of us were killed or wounded.<br>
 And our comrades in the town still thirst for their freedom!<br>
 <a action="bypass -h npc_%objectId%_Quest UrbanArea">Infiltrate the town.</a><br>
 <a action="bypass -h Quest Kanaf info">Ask him for new information about the town.</a><br>

+ 1 - 0
L2J_DataPack/dist/game/data/scripts/hellbound/AI/NPC/Kanaf/Kanaf.java

@@ -37,6 +37,7 @@ public final class Kanaf extends AbstractNpcAI
 		super(Kanaf.class.getSimpleName(), "hellbound/AI/NPC");
 		addStartNpc(KANAF);
 		addTalkId(KANAF);
+		addFirstTalkId(KANAF);
 	}
 	
 	@Override