1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-11 09:42:54 +00:00
Files
l2jserver2/data/templates/npc/defender/35337-Bodyguard.xml
Rogiel 08adecd6a0 Add XML validation for templates
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.
2011-09-19 00:22:23 -03:00

60 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<npc
controller="com.l2jserver.model.world.npc.controller.NotImplementedNPCController"
id="35337" 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">Bodyguard</name>
<title send="false">Goddard</title>
<level>75</level>
<race>DEFENDING_ARMY</race>
<sex>MALE</sex>
<stats>
<hp regen="8.5" max="2676.65854"/>
<mp regen="3.0" max="1507.8"/>
<attack critical="4" evasion="0" range="40">
<physical speed="253.0" damage="794.70901"/>
<magical speed="333.0" damage="542.68324"/>
</attack>
<defense>
<physical value="319.24623"/>
<magical value="233.61053"/>
</defense>
<move walk="50.0" run="120.0"/>
<base wit="20" dex="30" men="20" con="43" str="40" int="21"/>
</stats>
<experience>563</experience>
<sp>1</sp>
<item lefthand="0" righthand="2"/>
<collision heigth="27.0" radius="8.0"/>
</info>
<talk default="default">
<chat id="default"><![CDATA[<html><body>All is well, my Lord.<br>
What is your command?<br>
<center>
<a action="bypass -h npc_%objectId%_open_doors 5, 24180016">Open the Terrace Gates</a><br>
<a action="bypass -h npc_%objectId%_close_doors 5, 24180016">Close the Terrace Gates</a><br>
<a action="bypass -h npc_%objectId%_open_doors 5, 24180001, 24180002, 24180004, 24180005, 24180012, 24180013, 24180014, 24180015, 24180016">Open All Castle Gates</a><br>
<a action="bypass -h npc_%objectId%_close_doors 5, 24180001, 24180002, 24180004, 24180005, 24180012, 24180013, 24180014, 24180015, 24180016">Close All Castle Gates</a><br>
</center>
</body></html>]]></chat>
<chat id="busy"><![CDATA[<html><body>Oh! Our castle is being attacked and I can't do anything for you right now.
</body></html>]]></chat>
<chat id="no"><![CDATA[<html><body>Who goes there?!<br>
Stay back!
</body></html>]]></chat>
</talk>
<skills>
<skill level="1" id="4045"/>
<skill level="16" id="4408"/>
<skill level="11" id="4409"/>
<skill level="18" 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="22" id="4416"/>
</skills>
</npc>