Ir para conteúdo
  • Cadastre-se

Pedido de Monstros / NPC 9,70


Posts Recomendados

##Monster##

"Firestarter"

"Vad Inchi"

"Vascalir"

"Ghoulish Hyaena"

"young troll"

"Casper"

"Kraknaknork"

'Kraknaknork's Demon"

"Elder Mummy"

"Ztiss"

"Ferus"

"Parasite"

"Death Priest"

"Rapanaio"

"Curos"

##NPC##

Nokmir.

Frafnar.

Scutty.

Xelvar.

Zerebus the Demonhunter.

Gnomenezer.

Ottokar.

Cillia.

Nahlesar.

Emilie.

Appaloosa.

Eclesius.

Grombur.

Xorlosh.

REP+

Ajudem Ai ;x

Link para o post
Compartilhar em outros sites

Ei amigo, eu tenho alguns npc e monsters que você procura.

[Npc] Zerebus the Demonhunter

data/npc

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Zerebus The Demonhunter" script="data/npc/scripts/inqaddon.lua" walkinterval="2000" floorchange="0">

<health now="100" max="100"/>

<look type="289" head="116" body="95" legs="0" feet="114" addons="3"/>

<parameters>

<parameter key="message_greet" value="Ola |PLAYERNAME|. Para voce achar minha sala secreta, voce passou pelos meus guardioes entao voce merece uma ropa de recompensa para provar para os demais que voce e um bravo 'DEMONHUNTER'." />

</parameters>

</npc>

data/npc/scripts

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

npcHandler:setMessage(MESSAGE_GREET, "Parabens |PLAYERNAME|. Para ter chego até mim voce concluiu a 'Inquisistion' e agora eu forneco para voce o addon completo do 'Demonhunter', Para pegar o addon basta dizer: {First Demonhunter Addon} e {Second Demonhunter Addon} ambos são de graça.")

function playerBuyAddonNPC(cid, message, keywords, parameters, node)

if(not npcHandler:isFocused(cid)) then

return false

end

if (parameters.confirm ~= true) and (parameters.decline ~= true) then

if(getPlayerPremiumDays(cid) == 1) and (parameters.premium == true) then

npcHandler:say('Sorry, but this addon is only for vip players!', cid)

npcHandler:resetNpc()

return true

end

if (getPlayerStorageValue(cid, parameters.storageID) ~= -1) then

npcHandler:say('You already have this addon!', cid)

npcHandler:resetNpc()

return true

end

local itemsTable = parameters.items

local items_list = ''

if table.maxn(itemsTable) > 0 then

for i = 1, table.maxn(itemsTable) do

local item = itemsTable

items_list = items_list .. item[2] .. ' ' .. getItemNameById(item[1])

if i ~= table.maxn(itemsTable) then

items_list = items_list .. ', '

end

end

end

local text = ''

if (parameters.cost > 0) and table.maxn(parameters.items) then

text = items_list .. ' and ' .. parameters.cost .. ' gp'

elseif (parameters.cost > 0) then

text = parameters.cost .. ' gp'

elseif table.maxn(parameters.items) then

text = items_list

end

npcHandler:say('Did you bring me ' .. text .. ' for ' .. keywords[1] .. '?', cid)

return true

elseif (parameters.confirm == true) then

local addonNode = node:getParent()

local addoninfo = addonNode:getParameters()

local items_number = 0

if table.maxn(addoninfo.items) > 0 then

for i = 1, table.maxn(addoninfo.items) do

local item = addoninfo.items

if (getPlayerItemCount(cid,item[1]) >= item[2]) then

items_number = items_number + 1

end

end

end

if(getPlayerMoney(cid) >= addoninfo.cost) and (items_number == table.maxn(addoninfo.items)) then

doPlayerRemoveMoney(cid, addoninfo.cost)

if table.maxn(addoninfo.items) > 0 then

for i = 1, table.maxn(addoninfo.items) do

local item = addoninfo.items

doPlayerRemoveItem(cid,item[1],item[2])

end

end

doPlayerAddOutfit(cid, addoninfo.outfit_male, addoninfo.addon)

doPlayerAddOutfit(cid, addoninfo.outfit_female, addoninfo.addon)

setPlayerStorageValue(cid,addoninfo.storageID,1)

npcHandler:say('Here you are.', cid)

else

npcHandler:say('You do not have needed items or cash!', cid)

end

npcHandler:resetNpc()

return true

elseif (parameters.decline == true) then

npcHandler:say('Not interested? Maybe other addon?', cid)

npcHandler:resetNpc()

return true

end

return false

end

local noNode = KeywordNode:new({'no'}, playerBuyAddonNPC, {decline = true})

local yesNode = KeywordNode:new({'yes'}, playerBuyAddonNPC, {confirm = true})

-- demonhunter (done)(custom)

local outfit_node = keywordHandler:addKeyword({'first demonhunter addon'}, playerBuyAddonNPC, {premium = false, cost = 0, items = {}, outfit_female = 288, outfit_male = 289, addon = 1, storageID = 10035})

outfit_node:addChildKeywordNode(yesNode)

outfit_node:addChildKeywordNode(noNode)

local outfit_node = keywordHandler:addKeyword({'second demonhunter addon'}, playerBuyAddonNPC, {premium = false, cost = 0, items = {}, outfit_female = 288, outfit_male = 289, addon = 2, storageID = 10036})

outfit_node:addChildKeywordNode(yesNode)

outfit_node:addChildKeywordNode(noNode)

keywordHandler:addKeyword({'addons'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Eu dou o demonhunter addon.'})

keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Para o primeiro addon diga \'first NAME addon\', para o segundo addon diga \'second NAME addon\'.'})

npcHandler:addModule(FocusModule:new())

[Npc] Ottokar

data/npc

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Ottokar" script="data/npc/scripts/Ottokar.lua" walkinterval="2000" floorchange="0">

<health now="100" max="100"/>

<look type="153" head="132" body="121" legs="120" feet="114" addons="3"/>

</npc>

data/npc/scripts

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end

function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end

function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end

function onThink() npcHandler:onThink() end

item = 'You do not have the required items.'

done = 'Here you are.'

function creatureSayCallback(cid, type, msg)

if(not npcHandler:isFocused(cid)) then

return false

end

if msgcontains(msg, 'medicine') then

selfSay('You can here change medicine pouch for {belongings of deceasead}.', cid)

elseif msgcontains(msg, 'belongings of deceasead') then

if getPlayerItemCount(cid,13506) >= 1 then

selfSay('Did you bring me the medicine pouch?', cid)

talk_state = 1

else

selfSay('I need a {yes}, to give you the {belongings of deceased}. Come back when you have them.', cid)

talk_state = 0

end

elseif msgcontains(msg, 'yes') and talk_state == 1 then

talk_state = 0

if getPlayerItemCount(cid,13506) >= 1 then

if doPlayerRemoveItem(cid,13506, 1) == TRUE then

selfSay(done, cid)

doPlayerAddItem(cid, 13670, 1)

end

else

selfSay(item, cid)

end

end

-- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.

return true

end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:addModule(FocusModule:new())

[Monster] Death Priest

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Death Priest" nameDescription="death priest" race="undead" experience="750" speed="265" manacost="0">

<health now="800" max="800"/>

<look type="99" head="95" body="116" legs="119" feet="115" corpse="6028"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="0"/>

<flag convinceable="0"/>

<flag pushable="0"/>

<flag canpushitems="1"/>

<flag canpushcreatures="1"/>

<flag targetdistance="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" min="-30" max="-100"/>

<attack name="lifedrain" interval="3000" chance="9" range="1" min="-50" max="-250">

<attribute key="areaEffect" value="blueshimmer"/>

</attack>

<attack name="speed" interval="2000" chance="15" range="7" speedchange="-800" duration="30000">

<attribute key="areaEffect" value="redshimmer"/>

</attack>

<attack name="lifedrain" interval="1000" chance="11" radius="3" target="0" min="-120" max="-200">

<attribute key="areaEffect" value="redshimmer"/>

</attack>

<attack name="lifedrain" interval="2000" chance="9" length="8" spread="0" min="-100" max="-200">

<attribute key="areaEffect" value="redshimmer"/>

</attack>

<attack name="poisoncondition" interval="3000" chance="9" length="8" spread="0" min="-300" max="-400">

<attribute key="areaEffect" value="greenspark"/>

</attack>

</attacks>

<defenses armor="20" defense="20">

<defense name="healing" interval="1000" chance="17" min="50" max="150">

<attribute key="areaEffect" value="redshimmer"/>

</defense>

</defenses>

<immunities>

<immunity death="0"/>

<immunity earth="0"/>

<immunity paralyze="0"/>

<immunity invisible="0"/>

</immunities>

<loot>

<item id="2148" countmax="100" chance1="10000" chancemax="0"/>

<item id="2143" countmax="2" chance1="4000" chancemax="0"/>

<item id="2159" countmax="4" chance1="4000" chancemax="0"/>

<item id="7618" chance="6000" />

<item id="7620" chance="4000" />

<item id="5022" chance="8000" />

</loot>

</monster>

[Monster] Firestarter

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Firestarter" nameDescription="a firestarter" race="blood" experience="80" speed="180" manacost="0">

<health now="180" max="180"/>

<look type="425" corpse="13528"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="1"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="20" attack="10"/>

<attack name="fire" interval="3000" chance="18" length="8" spread="2" min="-1" max="-21">

<attribute key="areaEffect" value="fireattack"/>

</attack>

<attack name="physical" interval="1000" chance="5" range="7" min="-1" max="-6">

<attribute key="shootEffect" value="arrow"/>

</attack>

</attacks>

<immunities>

<immunity fire="1"/>

<immunity invisible="1"/>

</immunities>

<elements>

<element holyPercent="-20"/>

<element deathPercent="+20"/>

<element icePercent="+20"/>

</elements>

<voices interval="5000" chance="10">

<voice sentence="FIRE!" yell="1"/>

<voice sentence="BURN!" yell="1"/>

<voice sentence="DEATH to the FALSE GOD!!" yell="1"/>

<voice sentence="You shall burn in the thornfires!!"/>

<voice sentence="DOWN with the followers of the bog!!"/>

</voices>

<loot>

<item id="2148" countmax="35" chance="30000"/>

<item id="3976" countmax="3" chance="33333"/>

<item id="2230" chance="33333"/>

<item id="2397" chance="20000"/>

<item id="2681" chance="30000"/>

<item id="2456" chance="6000"/>

<item id="5921" chance="4000"/>

<item id="7438" chance="909"/>

<item id="7840" chance="10000"/>

<item id="10552" chance="30000"/>

</loot>

</monster>

[Monster] Ghoulish Hyaena

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Ghoulish Hyaena" nameDescription="a ghoulish hyaena" race="blood" experience="195" speed="206" manacost="275">

<health now="400" max="400"/>

<look type="94" head="20" body="30" legs="40" feet="50" corpse="6026"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="1"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="90"/>

<flag runonhealth="30"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="18" attack="11" poison="2"/>

</attacks>

<defenses armor="1" defense="3">

<defense name="speed" interval="1000" chance="13" speedchange="300" duration="2000">

<attribute key="areaEffect" value="redshimmer"/>

</defense>

</defenses>

<immunities>

<immunity physical="0"/>

<immunity energy="0"/>

<immunity fire="0"/>

<immunity poison="0"/>

<immunity lifedrain="0"/>

<immunity paralyze="0"/>

<immunity outfit="0"/>

<immunity death="1"/>

<immunity invisible="1"/>

</immunities>

<elements>

<element earthPercent="-70"/>

</elements>

<voices interval="5000" chance="10">

<voice sentence="Grawrrr!!"/>

<voice sentence="Hoouu!"/>

</voices>

<loot>

<item id="2147" countmax="2" chance="50000"/>

<item id="2148" countmax="4" chance="50000"/>

<item id="3976" countmax="4" chance="50000"/>

<item id="2666" countmax="2" chance="90000"/>

<item id="2169" chance="909" />

<item id="7618" chance="20000"/>

<item id="9998" chance="833" />

</loot>

</monster>

[Monster] Kraknaknork

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Kraknaknork" nameDescription="a Kraknaknork" race="blood" experience="300" speed="180" manacost="0">

<health now="80" max="80"/>

<look type="6" head="0" body="0" legs="0" feet="0" corpse="5978"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="0"/>

<flag pushable="0"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="4"/>

<flag staticattack="90"/>

<flag runonhealth="23"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="20" attack="13" poison="5"/>

<attack name="earth" interval="1000" chance="13" range="7" min="-1" max="-10">

<attribute key="shootEffect" value="earth"/>

<attribute key="areaEffect" value="smallplants"/>

</attack>

<attack name="ice" interval="1000" chance="8" range="7" radius="1" target="1" min="-5" max="-15">

<attribute key="shootEffect" value="ice"/>

<attribute key="areaEffect" value="icearea"/>

</attack>

<attack name="outfit" interval="1000" chance="12" length="8" spread="10" monster="sheep" duration="2000">

<attribute key="areaEffect" value="blueshimmer"/>

</attack>

</attacks>

<immunities>

<immunity physical="0"/>

<immunity energy="0"/>

<immunity fire="0"/>

<immunity poison="0"/>

<immunity lifedrain="0"/>

<immunity paralyze="0"/>

<immunity outfit="0"/>

<immunity drunk="0"/>

<immunity invisible="0"/>

</immunities>

<voices interval="5000" chance="10">

<voice sentence="KRAK ORC DEMON" yell="1"/>

<voice sentence="Grak brrretz gulu"/>

</voices>

<summons maxSummons="1">

<summon name="Weakened Demon" interval="1000" chance="8"/>

</summons>

<loot>

<item id="2148" countmax="15" chance="100000"/>

</loot>

</monster>

[Monster] Kraknaknork's Demon

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Kraknaknork's Demon" nameDescription="a Kraknaknork's Demon" race="fire" experience="0" speed="180" manacost="0">

<health now="150" max="150"/>

<look type="6" head="0" body="0" legs="0" feet="0" corpse="5978"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="0"/>

<flag pushable="0"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="4"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="30" attack="23"/>

<attack name="fire" interval="1000" chance="8" range="7" radius="1" target="1" min="-5" max="-35">

<attribute key="shootEffect" value="fire"/>

<attribute key="areaEffect" value="fire"/>

</attack>

</attacks>

<elements>

<element holyPercent="-10"/>

<element earthPercent="10"/>

<element energyPercent="-50"/>

<element deathPercent="1"/>

</elements>

<voices interval="5000" chance="10" yell="1">

<voice sentence="STEP A BIT CLOSER RIGHT THERE HAHAHA!"/>

<voice sentence="COME AND DIE"/>

<voice sentence="ROOKIE FOR BREAKFAST"/>

</voices>

</monster>

[Monster] Elder Mummy

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Elder Mummy" nameDescription="a elder mummy" race="undead" experience="560" speed="220" manacost="0">

<health now="850" max="850"/>

<look type="65" head="20" body="30" legs="40" feet="50" corpse="6004"/>

<targetchange interval="5000" chance="8"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="0"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="0"/>

<flag pushable="0"/>

<flag canpushitems="1"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="90"/>

<flag runonhealth="0"/>

</flags>

<attacks>

<attack name="melee" interval="2000" skill="50" attack="32" poison="3"/>

<attack name="death" interval="1000" chance="15" range="1" min="-10" max="-130">

<attribute key="areaEffect" value="poff"/>

</attack>

<attack name="speed" interval="1000" chance="8" range="7" speedchange="-600" duration="7000">

<attribute key="areaEffect" value="redshimmer"/>

</attack>

</attacks>

<elements>

<element earthPercent="-30"/>

<element icePercent="-90"/>

<element firePercent="-90"/>

</elements>

<immunities>

<immunity earth="0"/>

<immunity death="0"/>

<immunity lifedrain="0"/>

<immunity paralyze="0"/>

<immunity invisible="0"/>

</immunities>

<voices interval="5000" chance="10">

<voice sentence="I will ssswallow your sssoul!"/>

<voice sentence="Mort ulhegh dakh visss"/>

<voice sentence="Flesssh to dussst!"/>

<voice sentence="I will tassste life again!"/>

<voice sentence="hkahra exura belil mort!"/>

<voice sentence="Yohag Sssetham!"/>

</voices>

<loot>

<item id="2148" countmax="100" chance="30000"/>

<item id="2148" countmax="100" chance="30000"/>

<item id="2148" countmax="50" chance="30000"/>

<item id="3976" countmax="3" chance="30000"/>

<item id="2159" countmax="2" chance="30000"/>

<item id="2161" chance="2000"/>

<item id="2162" chance="2000"/>

<item id="2188" chance="3000"/>

<item id="2411" chance="909"/>

<item id="10566" chance="5000"/>

<item id="12422" chance="10000"/>

<item id="6093" chance="3500"/>

</loot>

</monster>

Editado por Maconheira (veja o histórico de edições)

maconheira.png

Te ajudei?

De Rep+

Não custa nada

DsPAH.png

Link para o post
Compartilhar em outros sites

Já Ajudou ;x

Vlw Mesmo, será que pode me passa o MSN pra você me ajuda em meu Project Global 9.80, O Mapa Eu passei 2 meses Trackeando ele... Tem Mostros e NPC que preciso muito ;x

Link para o post
Compartilhar em outros sites

Duvida Sanada

Movido.

Att,

Skyligh

Entrada Como Membro 14 / 08 / 2012

Entrada Como Suporte 05 / 12 / 2012

Saída Como Suporte 06 / 01 / 2013

sem_ta28.png

Contato : [email protected] / [email protected]

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo