mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-09 00:42:56 +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.
51 lines
2.2 KiB
XML
51 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<npc
|
|
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
|
|
id="31292" xsi:schemaLocation="npc ../../npc.xsd"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="npc">
|
|
<info aggressive="true" targetable="true" attackable="true">
|
|
<name display="true" send="false">Andrei</name>
|
|
<title send="false">Captain</title>
|
|
<level>80</level>
|
|
<race>HUMAN</race>
|
|
<sex>MALE</sex>
|
|
<stats>
|
|
<hp regen="8.5" max="3290.11306877694"/>
|
|
<mp regen="3.0" max="1674.8"/>
|
|
<attack critical="4" evasion="0" range="40">
|
|
<physical speed="253.0" damage="970.53755"/>
|
|
<magical speed="333.0" damage="662.75133"/>
|
|
</attack>
|
|
<defense>
|
|
<physical value="341.375"/>
|
|
<magical value="249.80341"/>
|
|
</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>
|
|
<item lefthand="632" righthand="133"/>
|
|
<collision heigth="23.5" radius="8.0"/>
|
|
</info>
|
|
<talk default="default">
|
|
<chat id="default"><![CDATA[<html><body>Captain Andrei:<br>
|
|
Do you have any idea how hard it is to keep the peace in a village like this? Not a day goes by without some low-lifes showing up and making trouble! Monsters lurk outside the village. The rich people keep complaining about the lack of security.. It's a thankless job I have...<br>
|
|
<a action="bypass -h npc_%objectId%_TerritoryStatus">"Who is the lord of the manor and what is the tax rate?"</a><br>
|
|
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
|
|
</body></html>]]></chat>
|
|
</talk>
|
|
<skills>
|
|
<skill level="1" id="4045"/>
|
|
<skill level="1" id="4408"/>
|
|
<skill level="1" id="4409"/>
|
|
<skill level="16" id="4410"/>
|
|
<skill level="16" id="4411"/>
|
|
<skill level="16" id="4412"/>
|
|
<skill level="16" id="4413"/>
|
|
<skill level="2" id="4414"/>
|
|
<skill level="3" id="4415"/>
|
|
<skill level="14" id="4416"/>
|
|
</skills>
|
|
</npc>
|