Ir para conteúdo

Vorkhon

Campones
  • Total de itens

    52
  • Registro em

  • Última visita

Tudo que Vorkhon postou

  1. Vorkhon

    [Duvida] Sprites

    Eu quero botar as spritesde de todos os Weremonstros (Werebear, wereboar, werebadger, werefox) no meu servidor 8.6. Alguem sabe onde eu posso pegar essas sprites? Existe algum arquivo de outras versoes com elas em planilhas de png 32x32?
  2. Vorkhon

    [HELP] SPELL BUG

    Ola pessoal. Esta acontecendo um bug muito sinistro nas minhas spells. Bom eu editei um script que faz uma estatua e ataca. Eu fiz com que crie um totem e depois ele de uma cura em area, e fiz com o mesmo modelo outra spell que faz um ataque em area. Isoladas elas funcionam, mas quando eu adiciono as 2 juntas as 2 ficam iguais é muito absurdo. Seguinte eu faço toda a spell de cura, uso ela in game, faz a estatua especifica de cura, e faz a magia de cura. Ai quando eu faço a spell de dano, ela cria a estuatua de dano, mas ela faz o mesmo efeito de cura da primeira spell. Sendo que no script não tem absolutamente nada de efeito de magia azul, nem efeito de cura, e só faz 1 wave de dano, o de cura faz 3. Ele copia exatamente a primeira spell. Ai se eu deleto a spell de cura, a de dano funciona automaticamente como tem que funcionar... Alguem porfavor tem alguma ideia do que seja isso? SPELL TAGS: <instant name="Curse Totem" words="Curse Totem" lvl="40" mana="200" selftarget="0" agressive="1" exhaustion="1000" needlearn="0" event="script" value="cursetotem.lua"> <vocation id="6"/> </instant> <instant name="Life Totem" words="Life Totem" lvl="40" mana="400" agressive="0" exhaustion="1000" needlearn="0" event="script" value="exzential/lifetotem.lua"> <vocation id="6"/> </instant>
  3. Fala pessoal. Eu peguei um script de magia que cria uma estatua que ataca e some. Ai eu pensei em modificar ela e fazer com que surja um tambor que fica por tempo limitado. E quando se da use nesse tambor ele continua tocando a musica dele, e tambem da uma cura em area. Toda vez que toca ele cura em area. Tinha que limitar pra nao poder da spam muito rapido na cura. OBs: Esse scrip que eu postei não ta tirando dano dos bixos voces sabem o que pode ser? Tambem queria saber se é possivel essa estatua fazer uma area de poison. Segue o script base: local config = { statue = 2367, range = 5, max_dmg = -150, min_dmg = -50, hit_delay = 1000, statue_time = 10*1000, cd = 20, stg = 5570 } local max_hits = config.statue_time/config.hit_delay local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatFormula(combat, COMBAT_FORMULA_DAMAGE, 0, config.min_dmg, 0, config.max_dmg) local condition = createConditionObject(CONDITION_INFIGHT) setConditionParam(condition, CONDITION_PARAM_TICKS, 10 * 1000) function removeItem(pos) doRemoveItem(getTileItemById(pos, config.statue).uid) end function attackSpecs(cid, pos, var, hits) n = hits or 0 if n >= max_hits then return false end local spec = getSpectators(pos, config.range, config.range) i = spec[math.random(1, #spec)] if #spec <= 1 then return false end while(i == cid) do i = spec[math.random(1, #spec)] end if isCreature(i) then var.pos = getCreaturePosition(i) doSendDistanceShoot(pos, var.pos, CONST_ANI_SUDDENDEATH) doCombat(cid, combat, var) end addEvent(attackSpecs, config.hit_delay, cid, pos, var, n+1) end function itemInteraction(cid, pos, var) attackSpecs(cid, pos, var) addEvent(removeItem, config.statue_time, pos) end function onCastSpell(cid, var) if not isPlayer(cid) then return false end if getPlayerStorageValue(cid, config.stg) - os.time() <= 0 then doAddCondition(cid, condition) setPlayerStorageValue(cid, config.stg, os.time() + config.cd) local pos = Position(getCreaturePosition(cid).x+1, getCreaturePosition(cid).y, getCreaturePosition(cid).z) doCreateItem(config.statue, 1, pos) itemInteraction(cid, pos, var) else doPlayerSendCancel(cid, "You're exhausted.") end return true end
  4. Excelente! Funcionando perfeito agora. Mudei o codigo do efeito também por essa troca que voce sugeriu e ta 100%. Como que da REP para vc?
  5. UP! 2020! Quero fazer tasks bem simples com 1 monstro por npc apenas. Vai ter um NPC perto dos dragons que vai da só a task de dragons e pode ser repetida. Só estou achando sistemas bem completos, ninguém tem algum simples assim? Já tentei editar o Vodkart mas deu tudo errado.
  6. Deu esse erro: [7/9/2020 17:7:43] [Error - Spell Interface] [7/9/2020 17:7:43] data/spells/scripts/necromancy.lua:onCastSpell [7/9/2020 17:7:43] Description: [7/9/2020 17:7:43] data/spells/scripts/necromancy.lua:6: attempt to index local 'getPos' (a number value)
  7. Muito boa a spell. Mas alguem sabe se tem como não passar paredes? Isso pode fazer com que players consigam chegar em areas "proibidas"
  8. Vorkhon

    [Spell] Lich

    Eu quero saber se tem como adicionar esse Creature Script em uma Magia. A ideia seria o player usar a magia e se ele morrer dentro de 20 segundos ele vira um monstro, e esse monstro dura 1 minuto. Aqui vai a base que eu achei em outro post, mas sem a condição de tempo: local monsters = {"zombie", "ghoul", "ghost", "spectre"} --Aqui você configura os monstros local storage = 325 function onDeath(cid, corpse, deathList) local outfit = getCreatureOutfit(cid) local health = getCreatureMaxHealth(cid) local pos = getThingPos(cid) local name = getCreatureName(cid) local sex = getPlayerSex(cid) local voc = getPlayerVocationName(cid) doRemoveItem(corpse.uid) x = doCreateMonster(monsters[math.random(#monsters)], pos) doPlayerSetStorageValue(x, storage, name.."'s "..getCreatureName(x)..". "..(sex == 0 and "She" or "He").." was a "..voc) setCreatureMaxHealth(x, health) doCreatureAddHealth(x, health - getCreatureHealth(x)) doSendMagicEffect(pos, CONST_ME_SMALLCLOUDS) doCreatureChangeOutfit(x, outfit) return false end function onLook(cid, thing, position, lookDistance) if (isMonster(thing.uid) and getPlayerStorageValue(thing.uid, storage) ~= -1) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see "..getPlayerStorageValue(thing.uid, storage)) return false end return true end
  9. Consegui aqui irmão! Muito obrigado! Poccn, eu to tentando adicionar um efeito queria saber se voce consegue me ajudar. E outra tem como fazer a spell funcionar só se tem um corpo na frente e respeitar o limite de summon? Eu nao queria que pudessem ficar usando ela a toa só se tiver corpo. O que estou tentando fazer é o seguinte. Vai vir esses efeitos no sqm na frente do personagem, e depois que acabar o efeito ai faz a função da spell de criar um monstro. O script ta assim: function onTargetTile(cid, pos) local getPos = pos getPos.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local corpse,corpoid = getThingFromPos(getPos),3104 -- id do corpo if(corpse.uid > 0 and corpse.itemid == corpoid and getCreatureSkullType(cid) ~= SKULL_BLACK) then doRemoveItem(corpse.uid) doConvinceCreature(cid, doCreateMonster("Undead Dragon", pos)) doSendMagicEffect(pos, CONST_ME_MORTAREA) return true end return false end local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatCallback(combat, CALLBACK_PARAM_TARGETTILE, "onTargetTile") function onCastSpell(cid, var) local teibou = {[1] = 31, [2] = 10} for i = 1, 40 do addEvent(doSendDistanceShoot, i*15, {x = getCreaturePosition(cid).x + math.random(-5, 5), y = getCreaturePosition(cid).y + math.random(-4, 4), z = getCreaturePosition(cid).z}, getCreaturePosition(cid), teibou[math.random(1,2)]) end return doCombat(cid, combat, var) end
  10. To tentando aumentar o dano dela mas nao ta mudando nada.
  11. Tem como fazer soltar 3 hits diferentes?
  12. Eu to com esse scrip te Undead Legion, e eu queria fazer com que o player não conseguisse usar se não tiver os corpses no chão, que desse o PUFF se n tiver corpses e não deixa a magia ser usada. E eu queria fazer uma segunda spell mas com corpos especificos, como eu limito os corpos que podem ser usados a magia? Queria um especifico de dragon por exemplo. function onTargetTile(cid, pos) local getPos = pos getPos.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local corpse = getThingFromPos(getPos) if(corpse.uid > 0 and isCorpse(corpse.uid) and isMoveable(corpse.uid) and getCreatureSkullType(cid) ~= SKULL_BLACK) then doRemoveItem(corpse.uid) doConvinceCreature(cid, doCreateMonster("Undead", pos)) doSendMagicEffect(pos, CONST_ME_MORTAREA ) return true end return false end local area, combat = createCombatArea(AREA_CIRCLE3X3), createCombatObject() setCombatArea(combat, area) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_NONE) setCombatCallback(combat, CALLBACK_PARAM_TARGETTILE, "onTargetTile") function onCastSpell(cid, var) return doCombat(cid, combat, var) end
  13. Eu quero modificar o script do Undead Legion para pegar somente no square da frente e de um corpo de monstro específico. function onTargetTile(cid, pos) local getPos = pos getPos.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local corpse = getThingFromPos(getPos) if(corpse.uid > 0 and isCorpse(corpse.uid) and isMoveable(corpse.uid) and getCreatureSkullType(cid) ~= SKULL_BLACK) then doRemoveItem(corpse.uid) doConvinceCreature(cid, doCreateMonster("Skeleton", pos)) doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) return true end return false end local area, combat = createCombatArea(AREA_CIRCLE3X3), createCombatObject() setCombatArea(combat, area) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatCallback(combat, CALLBACK_PARAM_TARGETTILE, "onTargetTile") function onCastSpell(cid, var) return doCombat(cid, combat, var) end
  14. Ola eu me deparei com um creaturescript de que quando o player morre ele vira um zombie. Eu queria saber se é possivel transfromar isso em uma Spell que dure 30 segundos, ai se ele morrer nesse meio tempo ativa esse script. local monsters = {"zombie", "ghoul", "ghost", "spectre"} --Aqui você configura os monstros local storage = 325 function onDeath(cid, corpse, deathList) local outfit = getCreatureOutfit(cid) local health = getCreatureMaxHealth(cid) local pos = getThingPos(cid) local name = getCreatureName(cid) local sex = getPlayerSex(cid) local voc = getPlayerVocationName(cid) doRemoveItem(corpse.uid) x = doCreateMonster(monsters[math.random(#monsters)], pos) doPlayerSetStorageValue(x, storage, name.."'s "..getCreatureName(x)..". "..(sex == 0 and "She" or "He").." was a "..voc) setCreatureMaxHealth(x, health) doCreatureAddHealth(x, health - getCreatureHealth(x)) doSendMagicEffect(pos, CONST_ME_SMALLCLOUDS) doCreatureChangeOutfit(x, outfit) return false end function onLook(cid, thing, position, lookDistance) if (isMonster(thing.uid) and getPlayerStorageValue(thing.uid, storage) ~= -1) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see "..getPlayerStorageValue(thing.uid, storage)) return false end return true end
  15. Tem como fazer isso ser de uma Vocation especifica? Ou uma spell que dure X segundos, e se morrer nesse tempo se transforma?
  16. Meu OT estava funcionando normal até trocar de Roteador hoje. Vou falar tudo que eu tenho feito para ver se o passo a passo esta correto. É um roteador da CLARO EMTA D3.1 1) Chequei meu novo ip global no meu.ip.com e atualizei o meu hostname no noip.com. 2) Abri as configurações do modem e abri as portas 7171 e 7172 no trigger de porta, e no encaminhamento de porta. Ambas com TCP e UDP. e sempre com meu IPV4 3) Já tentei desativar todos os firewalls tanto do roteador como do antivirus juntos e nada...
  17. Vorkhon

    Vocation Changer

    Funcionou valeu manoo!. É que eu quero fazer varias classes unicas ai se eu fizesse por promotion as promotions iam ter as spells das anteriores. Eu consegui um npc que mudasse a voc agora ta certinho.
  18. Quero fazer uma explosao de Throwing Knife que hite 2 vezes, esta hitando mas a imagem das knifes nao estao aparecendo
  19. Eu quero que a spell va 1 por 1 pra frente e volte explodindo. Esta quase perfeito, eu só nao to entendendo pq ela esta dando 1 hit na frente do persongem toda a vez que da um hit longe.
  20. Vorkhon

    Vocation Changer

    Eu não sei ver a versão TFS, mas o meu OT é um OTX Server 2.6 Forgotten. Estou tentando fazer um NPC que mude a vocação do personagem. Meu servidor tem 12 classes unicas e não quero fazer por promotion. O problema é o seguinte o personagem muda de classe dentro do jogo, mas quando sai e volta volta para a classe anterior. A no Dir aparece esse erro: " sqlite3_prepare_v2(): SQLITE ERROR: near "LIMIT": syntax error (UPDATE "players" SET "broadcasting" = 0, "viewers" = 0 WHERE "id" = 24 LIMIT 1)". Outro problema que quero resolver é que meu ACC manager automaticamente fornece todas as classes. A ideia era ter só as 4 primeiras para escolher e só pegar a 5,6,7,8,9... depois
  21. Estou com um problema quando vou criar um personagem. O ACC manager diz "Your character couldn't be created, please contact with staff.". A unica coisa que eu fiz foi alterar alguns nomes no Vocation.xml, antes disso ele funcionava bem. Eu uso o sistema do Baiak 8.6 Forgotten. Esse erro esta aparecendo: "sqlite3_prepare_v2(): SQLITE ERROR: near "LIMIT": syntax error (UPDATE "players" SET "broadcasting" = 0, "viewers" = 0 WHERE "id" = 1 LIMIT 1)" Vocations.xml <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="10" gainmanaticks="6" gainmanaamount="10" manamultiplier="4.0" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="2.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.0"/> <skill id="2" multiplier="1.0"/> <skill id="3" multiplier="1.0"/> <skill id="4" multiplier="1.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="1" name="Mage" description="a mage" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="20" gainmanaticks="1" gainmanaamount="50" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.0"/> <skill id="2" multiplier="1.0"/> <skill id="3" multiplier="1.0"/> <skill id="4" multiplier="1.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="20" gainmanaticks="1" gainmanaamount="50" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.0"/> <skill id="2" multiplier="1.0"/> <skill id="3" multiplier="1.0"/> <skill id="4" multiplier="1.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="3" name="Archer" description="a archer" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="1" gainhpamount="70" gainmanaticks="1" gainmanaamount="70" manamultiplier="1.4" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.5" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="1" gainhpamount="5" gainmanaticks="1" gainmanaamount="2" manamultiplier="3.0" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.5" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.1"/> <skill id="3" multiplier="1.1"/> <skill id="4" multiplier="1.4"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="5" name="Wizard" description="a wizard" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="200" manamultiplier="1.1" attackspeed="850" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="10"> <formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.5" magDamage="1.5" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.0"/> <skill id="2" multiplier="1.0"/> <skill id="3" multiplier="1.0"/> <skill id="4" multiplier="1.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="6" name="Summoner" description="a summoner" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="100" gainhpamount="100" gainmanaticks="1" gainmanaamount="200" manamultiplier="1.1" attackspeed="850" soulmax="700" gainsoulticks="15" fromvoc="2" lessloss="10"> <formula meleeDamage="2.0" distDamage="1.0" wandDamage="1.5" magDamage="1.5" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.0"/> <skill id="2" multiplier="1.0"/> <skill id="3" multiplier="1.0"/> <skill id="4" multiplier="1.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="7" name="Assassin" description="a assassin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="1" gainhpamount="140" gainmanaticks="1" gainmanaamount="140" manamultiplier="1.4" attackspeed="850" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="10"> <formula meleeDamage="2.5" distDamage="2.5" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.5" armor="1.5"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="8" name="Berserker" description="a berserker" needpremium="1" gaincap="25" gainhp="15" gainmana="15" gainhpticks="1" gainhpamount="10" gainmanaticks="1" gainmanaamount="5" manamultiplier="3.0" attackspeed="1200" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="10"> <formula meleeDamage="3.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.1"/> <skill id="2" multiplier="1.5"/> <skill id="3" multiplier="1.5"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="9" name="Magus" description="an magus" needpremium="0" gaincap="10" gainhp="50" gainmana="250" gainhpticks="4" gainhpamount="400" gainmanaticks="2" gainmanaamount="1000" manamultiplier="1.1" attackspeed="350" soulmax="100" gainsoulticks="15" fromvoc="5" lessloss="30"> <formula meleeDamage="3.0" distDamage="1.0" wandDamage="2.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="2.0"/> <skill id="2" multiplier="2.0"/> <skill id="3" multiplier="2.0"/> <skill id="4" multiplier="2.0"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="10" name="Shapeshifter" description="a shapeshifter" needpremium="0" gaincap="10" gainhp="50" gainmana="250" gainhpticks="4" gainhpamount="400" gainmanaticks="2" gainmanaamount="1000" manamultiplier="1.1" attackspeed="350" soulmax="100" gainsoulticks="15" fromvoc="6" lessloss="30"> <formula meleeDamage="3.0" distDamage="1.0" wandDamage="2.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.5"/> <skill id="1" multiplier="1.8"/> <skill id="2" multiplier="1.8"/> <skill id="3" multiplier="1.8"/> <skill id="4" multiplier="1.8"/> <skill id="5" multiplier="1.5"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="11" name="Marksman" description="an marksman" needpremium="0" gaincap="20" gainhp="150" gainmana="150" gainhpticks="3" gainhpamount="700" gainmanaticks="3" gainmanaamount="700" manamultiplier="1.4" attackspeed="300" soulmax="100" gainsoulticks="15" fromvoc="7" lessloss="30"> <formula meleeDamage="3.1" distDamage="1.1" wandDamage="1.0" magDamage="1.1" magHealingDamage="1.0" defense="1.0" armor="1.0"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> <vocation id="12" name="Paladin" description="a paladin" needpremium="0" gaincap="25" gainhp="20" gainmana="10" gainhpticks="8" gainhpamount="5" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="1500" soulmax="100" gainsoulticks="15" fromvoc="8" lessloss="30"> <formula meleeDamage="1.2" distDamage="1.0" wandDamage="1.0" magDamage="1.1" magHealingDamage="1.0" defense="3.0" armor="2.0"/> <skill id="0" multiplier="1.1"/> <skill id="1" multiplier="1.5"/> <skill id="2" multiplier="1.5"/> <skill id="3" multiplier="1.1"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> </vocations>
  22. Ola eu gostaria de uma spell que fizesse um summon diferente de acordo com o level. Nesse caso aqui eu summono um monstro mas ele me ataca. E tambem estou lvl 130 e ainda summonando Dragon o Demon nao vai. local config = { maxSummons = 1, --Limite de summons. summons = { [25] = "Rat", --[level] = "summon", [50] = "Dragon", [75] = "Dragon Lord", [100] = "Demon", }, } function onCastSpell(cid) if #getCreatureSummons(cid) < config.maxSummons then local summon for level, summonName in pairs(config.summons) do if getPlayerLevel(cid) >= level then summon = summonName end end if summon then doConvinceCreature(cid, doSummonCreature(summon, getThingPos(cid))) doCreatureSay(getCreatureSummons(cid)[#getCreatureSummons(cid)], "Cheguei", TALKTYPE_ORANGE_1) end else doSendMagicEffect(getThingPos(cid), 12) doPlayerSendTextMessage(cid, 19, "Voce so pode invocar "..config.maxSummons.." summons.") end return true end
  23. Vorkhon

    Vocation Door

    Resolvido irmão! Obrigado!
  24. Vorkhon

    Vocation Door

    Obrigado pela resposta mano! Não tem! É só adicionar?!
  25. Meu NPC de Task "Ludger" está todo bugado, eu não gostei de como foi feito e ele não esta contabilizando os kill. Eu to fazendo um request de NPC que desse 1 task de Dragon que pudesse repetir. E 1 diária de dragon lord.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...