For who has waiting for release thats are him.
Script of 3th Inquisitor Mission, to kill The Vampiric Boss The Count.
I will fix that script to Sumon The Weakened Count if had Garlick Necklace and if not The Count.
actions.xml.:
If you want make that quest more than one time on your server just remove the red line ...
thecount.lua.:
IF i help you REP+++ Me and Sypher
Tks so Much eace:
Script of 3th Inquisitor Mission, to kill The Vampiric Boss The Count.
I will fix that script to Sumon The Weakened Count if had Garlick Necklace and if not The Count.
actions.xml.:
Code:
<!-- Inquisiton Quest -->
<action actionid="1290" event="script" value="inq/thecount.lua" />
If you want make that quest more than one time on your server just remove the red line ...
thecount.lua.:
Code:
local altars = {
{x=32779, y=31977, z=9},
{x=32777, y=31982, z=9},
{x=32781, y=31982, z=9}
}
local summonPos = {x=32779, y=31978, z=9}
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid, 1290) == -1 then
doCreatureSay(cid, "You aren't a member of the inquisition.", TALKTYPE_ORANGE_1)
elseif getPlayerStorageValue(cid, 1290) > 1 then
doPlayerSendCancel(cid, "You already made this mission.")
elseif getPlayerStorageValue(cid, 1290) == 1 then
local k = {}
for _, v in ipairs(altars) do
local tmp = getTileItemById(v, 2199).uid
if tmp == 0 then
doCreateMonster('The Count', summonPos)
doSendMagicEffect(summonPos, CONST_ME_TELEPORT)
return true
else
table.insert(k, tmp)
end
end
for i = 1, #k do
doRemoveItem(k[i])
end
doCreateMonster('The Weakened Count', summonPos)
doSendMagicEffect(summonPos, CONST_ME_TELEPORT)
return true
end
end
IF i help you REP+++ Me and Sypher
Tks so Much eace:
Last edited: