Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''sailor.moon.live''.



Mais opções de pesquisa

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • A Cidade OTBR
    • OTServ Brasil
    • Atendimento
    • Taverna
  • Projetos Open Source
    • Canary
    • OTServBR-Global
    • Mehah OTClient
    • MyAAC
  • OpenTibia
    • Notícias e Discussões
    • Suporte - Dúvidas, Bugs, Erros
    • Downloads
    • Tutoriais
    • Show-Off
  • Outros
    • Design

Encontrado 1 registro

  1. Life Drain X

    eu nao escolhe as vocaçoes (ou seja todos podem usar).DATA/SPELL/spell.xml <instant name="Life Draw" words="life drain x" lvl="50" mana="300" range="5" needtarget="1" blockwalls="1" exhaustion="2000" event="script" value="Battle/support/lifedrain.lua"> </instant> DATA/SPELL/Battle/support/lifedrain.lua [size=1]--[[ -- You can use this spell and copy and modify it. -- -- Created By SailorMoonLive -- -- But pls don't remove this comment -- ]] function onCastSpell(cid, var) local CreatureMaxHealth = getCreatureMaxHealth(getCreatureTarget(cid)) if getCreatureTarget(cid) then local CreatureHealth = getCreatureHealth(getCreatureTarget(cid)) local critLife = CreatureMaxHealth/2 local lifedraw = ( CreatureHealth / 10) if CreatureHealth >= critLife then local Target = getCreatureTarget(cid) local targetPos = getPlayerPosition(Target) doCreatureAddHealth(Target, -lifedraw, COMBAT_LIFEDRAIN) [/size][size=1] doSendAnimatedText([/size][size=1]targetPos[/size][size=1], [/size][size=1]lifedraw [/size][size=1], TEXTCOLOR_GOLD)[/size] [size=1] doSendMagicEffect(targetPos, 0) local pos = getPlayerPosition(cid) doCreatureAddHealth(cid, lifedraw, 1) doSendAnimatedText(playerPos, [/size][size=1]lifedraw [/size][size=1], TEXTCOLOR_GOLD) doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) else doCreatureSay(getCreatureTarget(cid), "No Kill Me PLS", 1) doCreatureSay(cid, "Vasa Daqui antes que eu mude de ideia", 1) end end end[/size] @UPDATA version 1.1.0 fixed, now it show the hit damange. now it show the healling.
×