Ir para conteúdo

Featured Replies

Postado

O Boss não aparece o script não ta conseguindo criar o BOSS

 

Nome do Boss: The Weakened Count ou The Count

 

Script do Monstro:

Citar

<?xml version="1.0" encoding="UTF-8"?>
<monster name="The Weakened Count" nameDescription="The Weakened Count" race="undead" experience="450" speed="370" manacost="0">
    <health now="740" max="740" />
    <look type="68" corpse="6006" />
    <targetchange interval="5000" chance="10" />
    <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" skill="100" min="-50" max="-75" />
        <attack name="lifedrain" interval="1000" chance="9" target="0" radius="4" min="0" max="-100">
            <attribute key="areaEffect" value="smallclouds" />
        </attack>
    </attacks>
    <defenses armor="30" defense="30">
        <defense name="healing" interval="1000" chance="25" min="50" max="105">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
        <defense name="invisible" interval="3000" chance="30" duration="6000">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
    </defenses>
    <elements>
        <element physicalPercent="20" />
        <element holyPercent="-20" />
    </elements>
    <immunities>
        <immunity lifedrain="1" />
        <immunity death="1" />
        <immunity invisible="1" />
    </immunities>
    <loot>
        <item id="2148" countmax="98" chance="40000" /><!-- gold coin -->
        <item id="8752" chance="100000" /><!-- the ring of the count -->
        <item id="2391" chance="2300" /><!-- war hammer -->
    </loot>
</monster>
 

 

Script da Quest

Citar

local altars = {
    Position(32777, 31982, 9),
    Position(32779, 31977, 9),
    Position(32781, 31982, 9)
}

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:getStorageValue(Storage.TheInquisition.Questline) == 8 then
        player:setStorageValue(Storage.TheInquisition.Questline, 9)
        player:setStorageValue(Storage.TheInquisition.Mission03, 4) -- The Inquisition Questlog- "Mission 3: Vampire Hunt"
        local k = {}
        for i = 1, #altars do
            local tmp = Tile(altars):getItemById(2199)
            if not tmp then
                Game.createMonster("The Count", toPosition)
                return true
            else
                k[#k + 1] = tmp
            end
        end
        for i = 1, #k do
            k:remove()
        end
        Game.createMonster("The Weakened Count", toPosition)
        return true
    end
end

 

Para quem quer ver como e a missão 3 "Caça a Vampiros"

Link: https://www.tibiawiki.com.br/wiki/Inquisition_Quest

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo