Ir para conteúdo

dihloko0

Campones
  • Total de itens

    0
  • Registro em

  • Última visita

1 Seguidor

Sobre dihloko0

Informações

  • Char no Tibia
    Paly loko
  • Forma que conheci o xTibia
    Outros Sites
  • Sou
    Hoster

dihloko0's Achievements

  1. MINHA VOCATION ESTÁ ASSIM. MINHA VOCATION ESTÁ ASSIM. <?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="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="1" name="Master Sorcerer" description="a master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="10" gainmanaticks="3" gainmanaamount="200" manamultiplier="1.1" attackspeed="200" 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" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="2" name="Elder Druid" description="a elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="100" gainmanaticks="3" gainmanaamount="200" manamultiplier="1.1" attackspeed="200" 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" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="3" name="Royal Paladin" description="a royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="150" gainmanaticks="4" gainmanaamount="150" manamultiplier="1.4" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="4" name="Elite Knight" description="a elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="15" gainhpticks="3" gainhpamount="200" gainmanaticks="6" gainmanaamount="100" manamultiplier="3.0" attackspeed="200" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="5" name="Super Sorcerer" description="a super sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="400" gainmanaticks="2" gainmanaamount="600" manamultiplier="1.1" attackspeed="180" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="6" name="Super Druid" description="an super druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="400" gainmanaticks="2" gainmanaamount="600" manamultiplier="1.1" attackspeed="180" soulmax="180" gainsoulticks="15" fromvoc="2" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/> </vocation> <vocation id="7" name="Super Paladin" description="a super paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="500" gainmanaticks="3" gainmanaamount="500" manamultiplier="1.4" attackspeed="180" soulmax="180" gainsoulticks="15" fromvoc="3" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="8" name="Super Knight" description="an super knight" needpremium="1" gaincap="25" gainhp="15" gainmana="15" gainhpticks="2" gainhpamount="600" gainmanaticks="4" gainmanaamount="400" manamultiplier="3.0" attackspeed="180" soulmax="180" gainsoulticks="15" fromvoc="4" lessloss="30"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/> </vocation> <vocation id="9" name="Dark Sorcerer" description="an dark sorcerer" needpremium="2" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="300" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="180" soulmax="180" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.6" club="2.1" sword="2.1" axe="2.1" distance="2.1" shielding="1.6" fishing="1.2" experience="1.1"/> </vocation> <vocation id="10" name="Dark Druid" description="an dark druid" needpremium="2" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="300" gainmanaticks="2" gainmanaamount="400" manamultiplier="1.1" attackspeed="180" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.6" club="1." sword="1.8" axe="1.9" distance="1.9" shielding="1.6" fishing="1.2" experience="1.1"/> </vocation> <vocation id="11" name="Dark Paladin" description="an dark paladin" needpremium="2" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="400" gainmanaticks="3" gainmanaamount="400" manamultiplier="1.4" attackspeed="180" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.3" club="1.3" sword="1.3" axe="1.3" distance="1.2" shielding="1.2" fishing="1.1" experience="1.1"/> </vocation> <vocation id="12" name="Dark Knight" description="an dark knight" needpremium="2" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="500" gainmanaticks="4" gainmanaamount="300" manamultiplier="3.0" attackspeed="180" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.5" shielding="1.2" fishing="1.2" experience="1.1"/> </vocation> </vocations> ME INFORME O ERRO. VLW
  2. Vlw pela a ajuda mais nao vou mais tomar seu tempo. Nao funcionou mais muito obrigado como posso dar rep pra vc? Vlw pela ajuda
  3. !-- Potion de Knight ultimate_health.lua Vocation para usar("4,8,12")--> local MIN = 800 local MAX = 1010 local EMPTY_POTION = 7635 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if((not(isKnight(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 130) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only knights of level 130 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Uiiii...", TALKTYPE_ORANGE_1) return TRUE end <!-- Sorcerer great_mana.lua Vocation para usar ("1,5,9")--> local MIN = 550 local MAX = 750 local EMPTY_POTION = 7635 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) local vocations = {1,2,5,6,9,10} -- vocation que podem usar a potion function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if((not(isSorcerer(itemEx.uid) or isDruid(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only sorcerers and druids of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 0) doPlayerAddItem(cid, EMPTY_POTION, 0) return TRUE end <!-- Knight mana_potion.lua Vocation para usar ("4,8,12") local MIN = 70 local MAX = 130 local EMPTY_POTION = 7636 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 80)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Hmm...", TALKTYPE_ORANGE_1) return TRUE end Essas São as iniciais após você ter arrumado essas as outras eu consigo. Mutio Obrigado!!!
  4. o erro permanece há mais alguma forma?
  5. Eu ja tinha feito isso. Mais quando vou usar a potion da a seguinte mensagem Alerta que nao sou sorcerer e nao posso usar a potion. Clique aqui para ver o erro Vermelho é o id da voc que vai pode usar a potion tbm Onde eu uso esse codigo? Tenta Mandar o Script pronto, so novo nao sei mecher muito bem.
  6. Eu ja tinha feito isso. Mais quando vou usar a potion da a seguinte mensagem Alerta que nao sou sorcerer e nao posso usar a potion. Erro q da ao usar potion
  7. dihloko0

    Duvida De Script

    GALERA CRIEI NOVO OT. MONTEI NOVA PROMOTION E NOVAS VOCATIONS. SO QUE AS VOCATIONS NOVAS QUANDO EU VOU USAR EX: POTION DE SORCERER EU NAO CONSIGO. QUERIA SABER COMO POSSO LIBERAR AS POTIONS DE KINA PARA ULTRA KINA E DE SORCERER PARA ULTRA SORCERER. TIBIA 8.60 (NAO POSSUI O FUNCTION.LUA)
  • Quem Está Navegando   0 membros estão online

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