mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-10 17:32:46 +00:00
This commit adds an XSD file for each template type to that validation can take place. If there is any error in XML files, it can be easily detected by reading the error in the validation log.
64 lines
2.9 KiB
XML
64 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<npc
|
|
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
|
id="31256" xsi:schemaLocation="npc ../../npc.xsd"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
|
<info aggressive="false" targetable="true" attackable="true">
|
|
<name display="true" send="false">Leon</name>
|
|
<title send="false">Weapon Merchant</title>
|
|
<level>70</level>
|
|
<race>HUMAN</race>
|
|
<sex>MALE</sex>
|
|
<stats>
|
|
<hp regen="7.5" max="2444.46819"/>
|
|
<mp regen="2.7" max="1345.8"/>
|
|
<attack critical="4" evasion="0" range="40">
|
|
<physical speed="253.0" damage="688.86373"/>
|
|
<magical speed="333.0" damage="470.40463"/>
|
|
</attack>
|
|
<defense>
|
|
<physical value="295.91597"/>
|
|
<magical value="216.53847"/>
|
|
</defense>
|
|
<move walk="50.0" run="120.0"/>
|
|
<base wit="20" dex="30" men="20" con="43" str="40" int="21"/>
|
|
</stats>
|
|
<experience>0</experience>
|
|
<sp>0</sp>
|
|
<collision heigth="23.0" radius="8.0"/>
|
|
</info>
|
|
<talk default="default">
|
|
<chat id="pk"><![CDATA[<html><body>Trader Leon:<br>
|
|
Do you want to go to jail? Leave now!
|
|
</body></html>]]></chat>
|
|
<chat id="default"><![CDATA[<html><body>Trader Leon:<br>
|
|
Welcome to the best armor shop in Elmore! If you live in a rough place like Goddard, you must be able to protect yourself. Let me know if you see anything you like!<br>
|
|
<a action="bypass -h npc_%objectId%_Chat 1">Buy/Sell/Refund.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Wear 3125600">Try on Fighter equipment.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Wear 3125601">Try on Wizard equipment.</a><br>
|
|
<a action="bypass -h npc_%objectId%_TerritoryStatus">Ask about the local lord and tax rate.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
|
|
</body></html>]]></chat>
|
|
<chat id="1"><![CDATA[<html><body>Trader Leon:<br>
|
|
What are you looking for?<br>
|
|
<a action="bypass -h npc_%objectId%_Buy 3125600">Buy equipment for Fighters.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Buy 3125601">Buy equipment for Wizards.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Chat 0">Buy basic equipment for Warriors.</a><br>
|
|
<a action="bypass -h npc_%objectId%_Chat 0">Buy Wizard Common Items.</a><br>
|
|
<a action="bypass -h npc_%objectId%_BuyShadowItem">Buy a Shadow item.</a>
|
|
</body></html>]]></chat>
|
|
</talk>
|
|
<skills>
|
|
<skill level="1" id="4045"/>
|
|
<skill level="1" id="4408"/>
|
|
<skill level="1" id="4409"/>
|
|
<skill level="11" id="4410"/>
|
|
<skill level="11" id="4411"/>
|
|
<skill level="11" id="4412"/>
|
|
<skill level="11" id="4413"/>
|
|
<skill level="2" id="4414"/>
|
|
<skill level="3" id="4415"/>
|
|
<skill level="14" id="4416"/>
|
|
</skills>
|
|
</npc>
|