Ir para conteúdo

jenison06

Campones
  • Total de itens

    9
  • Registro em

  • Última visita

Sobre jenison06

Informações

  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Webmaster

Últimos Visitantes

203 visualizações
  1. Base: PokeStorm Bom dia Queria um Sistema de Usar Potion na Pokeball ou na Portrait se possivel. Aqui esta meu Potion.lua local potions = { [8783] = {baseHeal = 1800, healTimes = 10, msgColor = 175}, --Full Potion [2112] = {baseHeal = 950, healTimes = 8, msgColor = 181}, --Hyper Potion [2113] = {baseHeal = 600, healTimes = 7, msgColor = 23}, --Ultra Potion [2115] = {baseHeal = 350, healTimes = 6, msgColor = 30}, --Great Potion [2114] = {baseHeal = 200, healTimes = 5, msgColor = 177}, --Small Potion [9270] = {baseHeal = 225, healTimes = 5, msgColor = 177}, --Starter's Small Potion } local texts = { [PORTUGUESE] = {"Use isso em você mesmo ou em seu pokémon.", "Você já está se curando.", "Seu pokémon já está sendo curado."}, [ENGLISH] = {"Use it in your pokemon or in yourself.", "You are already healing yourself.", "Your pokemon is already being healed."}, } local potionState = {} local function potionHeal(cid, heal, healed, maxHeal) if isCreature(cid) and healed <= maxHeal then doCreatureAddHealth(cid, heal) doSendMagicEffect(getCreaturePosition(cid), 12) addEvent(potionHeal, 1000, cid, heal, healed+1, maxHeal) else potionState[cid] = nil end end function onUse (cid,item,frompos,item2,topos) local txt = texts[getPlayerLanguage(cid)] local potion = potions[item.itemid] if not isCreature(item2.uid) or getCreatureMaster(item2.uid) ~= cid then doPlayerSendCancel(cid, txt[1]) return true end if not potionState[item2.uid] then if isPokeballIn(item2.itemid) then healQuant = potion.baseHeal*(1+getPlayerSkillLevel(cid, SKILL_FIRSTAID)*0.05) elseif isSummon(item2.uid) then healQuant = potion.baseHeal*(1+getPlayerSkillLevel(cid, SKILL_FIRSTAID)*0.05) else healQuant = potion.baseHeal*(1+getPlayerSkillLevel(cid, SKILL_FIRSTAID)*0.05/2) end potionState[item2.uid] = true doRemoveItem(item.uid, 1) doSendAnimatedText(getCreaturePosition(item2.uid), 'HEALING!', potion.msgColor) potionHeal(item2.uid, healQuant, 1, potion.healTimes) else if isPlayer(item2.uid) then doPlayerSendCancel(cid, txt[2]) else doPlayerSendCancel(cid, txt[3]) end end return true end
  2. local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat1, COMBAT_PARAM_ELEMENT, 1) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat2, COMBAT_PARAM_ELEMENT, 1) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat3, COMBAT_PARAM_ELEMENT, 1) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 5) setCombatParam(combat4, COMBAT_PARAM_ELEMENT, 1) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 59) setCombatParam(combat5, COMBAT_PARAM_ELEMENT, 1) arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 3, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0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 1, 0, 3, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr5 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 2, 1, 1, 1, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) local function onCastSpell2(parameters) if isCreature(parameters.cid) then local health = getCreatureHealth(parameters.cid) parameters.var.pos = getCreaturePosition(parameters.cid) doCombat(parameters.cid, combat2, parameters.var) doCreatureAddHealth(parameters.cid, -health/3) end end local function onCastSpell3(parameters) if isCreature(parameters.cid) then local health = getCreatureHealth(parameters.cid) parameters.var.pos = getCreaturePosition(parameters.cid) doCombat(parameters.cid, combat3, parameters.var) doCreatureAddHealth(parameters.cid, -health/2) end end local function onCastSpell4(parameters) if isCreature(parameters.cid) then local health = getCreatureHealth(parameters.cid) parameters.var.pos = getCreaturePosition(parameters.cid) doCombat(parameters.cid, combat4, parameters.var) doCreatureAddHealth(parameters.cid, -health/2) end end local function onCastSpell5(parameters) if isCreature(parameters.cid) then local health = getCreatureHealth(parameters.cid) parameters.var.pos = getCreaturePosition(parameters.cid) doCombat(parameters.cid, combat5, parameters.var) doCreatureAddHealth(parameters.cid, -health) end end function onCastSpell(cid, var) local parameters = { cid = cid, var = var} doSaySpell(cid, "Selfdestruct") doCombat(cid, combat1, var) doCreatureAddHealth(parameters.cid, -getCreatureHealth(cid)/4) addEvent(onCastSpell2, 500, parameters) addEvent(onCastSpell3, 1000, parameters) addEvent(onCastSpell4, 1500, parameters) addEvent(onCastSpell5, 2000, parameters) return true end <instant name="Selfdestruct" words="Selfdestruct" enabled="0" event="script" value="Selfdestruct.lua" />
  3. Otimo Funcionou perfeitamento, porem o player que ganhou o Evento perde todo o Slot. e nao tem erro na distro. como resolver? # Reputado ^^
  4. Essa Spell Crasha meu server podem me ajudar a resolver? é o ataque do Scyhter.
  5. Scripter. Webdesigner. Mapper. Programador. Preciso de pessoas serias, dispostar a guiar um projeto serio.
  6. Preciso se ajuda meu ditto transforma. E quando volta pra ball ele se destransforma. Poderia. Me ajudar a instalar uso base storm. So preciso que ele volte ao normal pot comando. Nome do poke: Rainbow Ditto
  7. Quando clico em Jogar não Abre aparece o Sistema não pode encontrar o arquivo especificado pode adicionado o Nome do cliente que vai abrir?
  8. jenison06

    Spell Creator

    Poderia ter para Client Estendido Recomendo Muito Top
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...