Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32017

Advance Guard [Attacking Pk's and Monsters with options] [TFS 1.x]

$
0
0
Hello,

Here is a guard npc, that will protect the city from intruders!

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Guard" script="guard.lua" walkinterval="0" floorchange="0">
    <health now="100" max="100" />
    <look type="139" head="20" body="39" legs="45" feet="7" addons="0" />
</npc>
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureDisappear(cid)...
Advance Guard [Attacking Pk's and Monsters with options] [TFS 1.x]

Viewing all articles
Browse latest Browse all 32017

Trending Articles