dihloko0 0 Postado Fevereiro 21, 2011 Share Postado Fevereiro 21, 2011 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) Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/ Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 21, 2011 Share Postado Fevereiro 21, 2011 tenta ir em lib/031-vocations.lua e colocar: function isSorcerer(cid) return isInArray({1, 5, 9}, getPlayerVocation(cid)) end function isDruid(cid) return isInArray({2, 6, 10}, getPlayerVocation(cid)) end function isPaladin(cid) return isInArray({3, 7, 11}, getPlayerVocation(cid)) end function isKnight(cid) return isInArray({4, 8, 12}, getPlayerVocation(cid)) end Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004185 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 22, 2011 Autor Share Postado Fevereiro 22, 2011 (editado) 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 Editado Fevereiro 22, 2011 por EEdilsndsauned Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004601 Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 22, 2011 Share Postado Fevereiro 22, 2011 então faz assim(exemplo): if((not(isPaladin(itemEx.uid)) or (getPlayerVocation(cid) == ID)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only paladins of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end Vermelho é o id da voc que vai pode usar a potion tbm Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004651 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 22, 2011 Autor Share Postado Fevereiro 22, 2011 (editado) tenta ir em lib/031-vocations.lua e colocar: function isSorcerer(cid) return isInArray({1, 5, 9}, getPlayerVocation(cid)) end function isDruid(cid) return isInArray({2, 6, 10}, getPlayerVocation(cid)) end function isPaladin(cid) return isInArray({3, 7, 11}, getPlayerVocation(cid)) end function isKnight(cid) return isInArray({4, 8, 12}, getPlayerVocation(cid)) end 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 então faz assim(exemplo): if((not(isPaladin(itemEx.uid)) or (getPlayerVocation(cid) == ID)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only paladins of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end 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. Editado Fevereiro 22, 2011 por EEdilsndsauned Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004653 Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 22, 2011 Share Postado Fevereiro 22, 2011 Ok fiz um exemplo e editei um script para você ve como fica... vai em actions/scripts/liquids vai ver o nome das potions lá ai você adiciona a variavel exemplo: local vocations = {3,7,11} -- vocations que vao usar a potion if(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 80 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only paladins of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end --------- olha como ficou minha ultimate_health.lua local MIN = 10 local MAX = 20 local vocations = {3,7,11,4,8,12} -- vocation que podem usar a potion 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 isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 130 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only Paladins and knights of level 130 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end if doCreatureAddHealth(itemEx.uid,((math.random(MIN, MAX)/100)*getCreatureMaxHealth(cid))) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) return TRUE end Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004704 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 23, 2011 Autor Share Postado Fevereiro 23, 2011 Ok fiz um exemplo e editei um script para você ve como fica... vai em actions/scripts/liquids vai ver o nome das potions lá ai você adiciona a variavel exemplo: local vocations = {3,7,11} -- vocations que vao usar a potion if(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 80 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only paladins of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end --------- olha como ficou minha ultimate_health.lua local MIN = 10 local MAX = 20 local vocations = {3,7,11,4,8,12} -- vocation que podem usar a potion 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 isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 130 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only Paladins and knights of level 130 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE end if doCreatureAddHealth(itemEx.uid,((math.random(MIN, MAX)/100)*getCreatureMaxHealth(cid))) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) return TRUE end o erro permanece há mais alguma forma? Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004813 Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 23, 2011 Share Postado Fevereiro 23, 2011 sim,me passa o script de uma das potion e me diz as voc que poderão usar que eu te mostro como é que se faz. Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004870 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 23, 2011 Autor Share Postado Fevereiro 23, 2011 (editado) sim,me passa o script de uma das potion e me diz as voc que poderão usar que eu te mostro como é que se faz. !-- 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!!! Editado Fevereiro 23, 2011 por EEdilsndsauned Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004946 Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 23, 2011 Share Postado Fevereiro 23, 2011 fiz aqui,só n entendi porque vc colocou mana potion só para knights mais tudo bem... ultimate_health.lua local MIN = 800 local MAX = 1010 local EMPTY_POTION = 7635 local vocations = {4,8,12} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) 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 elseif 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 great_mana.lua local MIN = 550 local MAX = 750 local EMPTY_POTION = 7635 local vocations = {1,5,9} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 80 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only sorcerers of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE elseif 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 mana_potion.lua local MIN = 70 local MAX = 130 local EMPTY_POTION = 7636 local vocations = {4,8,12} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 130 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only knights above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE elseif 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 Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004974 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 23, 2011 Autor Share Postado Fevereiro 23, 2011 fiz aqui,só n entendi porque vc colocou mana potion só para knights mais tudo bem... ultimate_health.lua local MIN = 800 local MAX = 1010 local EMPTY_POTION = 7635 local vocations = {4,8,12} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) 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 elseif 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 great_mana.lua local MIN = 550 local MAX = 750 local EMPTY_POTION = 7635 local vocations = {1,5,9} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 80 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only sorcerers of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE elseif 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 mana_potion.lua local MIN = 70 local MAX = 130 local EMPTY_POTION = 7636 local vocations = {4,8,12} 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 elseif hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE elseif(not isInArray(vocations, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 130 and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then doCreatureSay(itemEx.uid, "Only knights above may drink this fluid.", TALKTYPE_ORANGE_1) return TRUE elseif 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 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 Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004977 Compartilhar em outros sites More sharing options...
Vodkart 1515 Postado Fevereiro 23, 2011 Share Postado Fevereiro 23, 2011 Não funcionou? Mentira,eu acabei de testar para ver o problema não está no script deve ser da própria vocation,da licença né. Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1004986 Compartilhar em outros sites More sharing options...
dihloko0 0 Postado Fevereiro 25, 2011 Autor Share Postado Fevereiro 25, 2011 Não funcionou? Mentira,eu acabei de testar para ver o problema não está no script deve ser da própria vocation,da licença né. MINHA VOCATION ESTÁ ASSIM. Não funcionou? Mentira,eu acabei de testar para ver o problema não está no script deve ser da própria vocation,da licença né. 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 Link para o comentário https://xtibia.com/forum/topic/152115-duvida-de-script/#findComment-1005594 Compartilhar em outros sites More sharing options...
Posts Recomendados