Ir para conteúdo

subyth

Artesão
  • Total de itens

    110
  • Registro em

  • Última visita

  • Dias Ganhos

    2

Tudo que subyth postou

  1. Nossa gostei pra caramba ae, eu fiz umas coisas com minha grana e fiquei sem money, e com um VPS desses irá me ajudar muito!
  2. Bem, queria um script que ao der use no item XXXX, ele some e adiciona a função: addVipDaysByAccount(acc, days) essa função -> Adiciona dias de vip ao player. Assim fazendo que o player receba a vip. Eu uso o sistema do kydrai. http://www.xtibia.com/forum/topic/136543-vip-system-by-account-v10/ -------------------------------- Essa query está correta? ALTER TABLE `accounts` ADD viptime INT(15) NOT NULL DEFAULT 0; Pois falaram que a versão do gesior agora é diferente e não usa mais a versão INT(15). Uso Gesior 0.3.8 -- EDIT -- Achei um script aki do Vodkart. Mais como eu adiciono o addVipDaysByAccount(acc, days) no script? function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 30 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13540) local timenow = os.time() if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13540, time) local quantity = math.floor((getPlayerStorageValue(cid, 13540) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end
  3. subyth

    Anihi 8.60

    Não funcionou. Eu consegui configurar um outro aqui, ele era 7.6 consegui passa-lo pro 8.60 function onUse(cid, item, frompos, item2, topos) if item.uid == 7000 then if item.itemid == 1946 then player1pos = {x=194, y=118, z=9, stackpos=253} player1 = getThingfromPos(player1pos) player2pos = {x=193, y=118, z=9, stackpos=253} player2 = getThingfromPos(player2pos) player3pos = {x=192, y=118, z=9, stackpos=253} player3 = getThingfromPos(player3pos) player4pos = {x=191, y=118, z=9, stackpos=253} player4 = getThingfromPos(player4pos) if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then player1level = getPlayerLevel(player1.uid) player2level = getPlayerLevel(player2.uid) player3level = getPlayerLevel(player3.uid) player4level = getPlayerLevel(player4.uid) questlevel = 100 if player1level >= questlevel and player2level >= questlevel and player3level >= questlevel and player4level >= questlevel then demon1pos = {x=190, y=116, z=10} demon2pos = {x=192, y=116, z=10} demon3pos = {x=191, y=120, z=10} demon4pos = {x=193, y=120, z=10} demon5pos = {x=194, y=118, z=10} demon6pos = {x=195, y=118, z=10} doSummonCreature("Demon of annihilator", demon1pos) doSummonCreature("Demon of annihilator", demon2pos) doSummonCreature("Demon of annihilator", demon3pos) doSummonCreature("Demon of annihilator", demon4pos) doSummonCreature("Demon of annihilator", demon5pos) doSummonCreature("Demon of annihilator", demon6pos) nplayer1pos = {x=193, y=118, z=10} nplayer2pos = {x=192, y=118, z=10} nplayer3pos = {x=191, y=118, z=10} nplayer4pos = {x=190, y=118, z=10} doSendMagicEffect(player1pos,2) doSendMagicEffect(player2pos,2) doSendMagicEffect(player3pos,2) doSendMagicEffect(player4pos,2) doTeleportThing(player1.uid,nplayer1pos) doTeleportThing(player2.uid,nplayer2pos) doTeleportThing(player3.uid,nplayer3pos) doTeleportThing(player4.uid,nplayer4pos) doSendMagicEffect(nplayer1pos,10) doSendMagicEffect(nplayer2pos,10) doSendMagicEffect(nplayer3pos,10) doSendMagicEffect(nplayer4pos,10) doTransformItem(item.uid,1945) else doPlayerSendCancel(cid,"All players must have level 100 to enter.") end else doPlayerSendCancel(cid,"You need 4 players in your team.") end end if item.itemid == 1945 then starting={x=188, y=111, z=10, stackpos=253} checking={x=starting.x, y=starting.y, z=starting.z, stackpos=starting.stackpos} ending={x=210, y=122, z=10, stackpos=253} players=0 totalmonsters=0 monster = {} repeat creature= getThingfromPos(checking) if creature.itemid > 0 then if getPlayerAccess(creature.uid) == 0 then players=players+1 end if getPlayerAccess(creature.uid) ~= 0 and getPlayerAccess(creature.uid) ~= 3 then totalmonsters=totalmonsters+1 monster[totalmonsters]=creature.uid end end checking.x=checking.x+1 if checking.x>ending.x then checking.x=starting.x checking.y=checking.y+1 end until checking.y>ending.y if players==0 then trash= {x=233, y=125, z=10} current=0 repeat current=current+1 doTeleportThing(monster[current],trash) until current>=totalmonsters doTransformItem(item.uid,1946) end end end if item.uid == 5006 then queststatus = getPlayerStorageValue(cid,100) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found a demon armor.") doPlayerAddItem(cid,2494,1) setPlayerStorageValue(cid,100,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end end if item.uid == 5007 then queststatus = getPlayerStorageValue(cid,100) if queststatus ~= 1 then doPlayerSendTextMessage(cid,22,"You have found a magic sword.") doPlayerAddItem(cid,2400,1) setPlayerStorageValue(cid,100,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end end if item.uid == 5008 then queststatus = getPlayerStorageValue(cid,100) if queststatus ~= 1 then doPlayerSendTextMessage(cid,22,"You have found a stonecutter axe.") doPlayerAddItem(cid,2431,1) setPlayerStorageValue(cid,100,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end end if item.uid == 5009 then queststatus = getPlayerStorageValue(cid,100) if queststatus ~= 1 then doPlayerSendTextMessage(cid,22,"You have found a Thunder Hammer.") doPlayerAddItem(cid,2421,1) setPlayerStorageValue(cid,100,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end end return 1 end REP+ por tenta me ajuda, agradeço, vlw!
  4. subyth

    Anihi 8.60

    Ok, estou no aguarde!!! ;x PS: eu achei um aqui mais fica dando um erro chato: [Error - Action Interface] data/actions/scripts/quests/annihi.lua:onUse Description: <luadoteleportThing> Tile not found
  5. subyth

    Anihi 8.60

    Ai galera, primeiramente agradeço a todos que sempre me ajudam aqui... Bem, eu procurei muito aqui no fórum uma anihi com alavanca e sumonando demons 8.60 que funcionaçe, mais infelismente não consegui achar, os que achei não funfo de geito algum... TFS 0.4.0 A1 Alguem ajuda?? Agradeço.
  6. Tem como tipo: colocar o mesmo script em mais de um TIle? TIpo... o tamanho da sala é 6 SQM /\ \/ tem como colocar o uniqueID nos 6 SQM para funcionar mais sem dar Duplicate UniqueID??? Agradeço
  7. Procure + http://www.xtibia.com/forum/topic/133661-moveevent-action-perfect-vip-system-20/
  8. subyth

    Script Movements

    Iae meus amigos, bem, estou querendo arruma um script que tenho aqui! Tipo, eu queria que ele teleportaçe exemplo: Sossui 2 players, o 1º player entra e é teleportado para o pos1, o 2º player entra e é teleportado para o pos2... Se tiver 4 players, o 1º player entra e é teleportado para o pos1, o 2º para o pos2, o 3º para o pos1, o 4º para o pos2 e assim sucessivamente... Se tiver apenas 1 player, ele é teleportado para o pos1 normalmente, ai terá que apareçer outro player para entrar no pos2 claro e evidente rsrs SCRIPT: function onStepIn(cid, item, pos, frompos) local positions = { {x=10, y=10, z=7}, {x=20, y=20, z=7} } local destino = math.random(#positions) local minLvl = 20 if getPlayerLevel(cid) >= minLvl then doTeleportThing(cid,positions[destino], true) else doTeleportThing(cid, frompos) end return TRUE end {x=10, y=10, z=7}, --- POS1 {x=20, y=20, z=7} ---- POS2
  9. Era bom uma Ss para melhor visualização e vermos como é o script! mesmo assim obrigado por compartilhar conosco.
  10. subyth

    Anti-Trap

    Bem, eu queria um script que players pode-se passar por cima (no msm tile) de players level 50- Alguem sabe como faz?
  11. Bem, o titulo já diz mais ou menos como que eu queria ^^ Era um script que tipo, você clica na estatua e ganha tal storage value! PS: ids da estatua e do storagevalue configuravel Agradeço desde já!
  12. Belo projeto cara, ta de parabéns, gostei pakas do avatar Aang... Ps: mais como vai ser os monstros? eles vão ser todos editados nas sprites?
  13. subyth

    Da Storagevalue

    ta me sacaneando troll? nada a ver eu ja aprendi como que faz: -- Tile Storagevalue -- function onStepIn(cid, item, position, fromPosition) local config = { msgDenied = "Você não possui permissao para acessar esta area!", msgWelcome = "Seja Bem Vindo ao Castle WAR." } if getPlayerStorageValue(cid, 13541) - os.time() <= 0 then doTeleportThing(cid, fromPosition, true) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) return TRUE end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome) return TRUE end
  14. subyth

    Da Storagevalue

    Olá galerinha, tipo, eu queria um Script mais ou menos assim: Pode ser qualquer um dos 2; -------------------------------------------- 1º- Comando que apenas Acess 5 pode dar, ao falar /storageguild nome da guild, valor da storagevalue. E todos da guild ganha um storage value... EX: /storageguild Brazukas, 100354 (Ai todos da guild Brazukas recebeu storage value 100354...) tem como fazer para ate os players Offline pegar storage também? mesmo se não tiver como agradeço do mesmo geito ;x 2º- Um npc que pagando 1kk, ele dar uma storagevalue para todos da guild(apenas o lider pode falar com o npc)... Agradeço muito se puderem me ajudar Obrigado REP + para aquele que me ajudar \o/
  15. Tipo, eu peguei um script aqui, contador de frags e talz... Soh que tipo, o script soh conta os players mortos quando o player pega injust. Eu queria saber se tem como fazer para contar os Frags Quando o player morrer(sem precisar pegar injust) ai tipo, se 2 ou + players matar o outro player, esses que pelo menos deram 1 hit contará como Frag para o script... --Script By Theax "" function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLogin(cid) registerCreatureEvent(cid, "fraglook") return true end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then doPlayerSetSpecialDescription(thing.uid,'. You killed '..getPlayerFrags(thing.uid)..' Players') return true elseif thing.uid == cid then doPlayerSetSpecialDescription(cid,' You killed '..getPlayerFrags(cid)..' Players.') local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end tipo, Servidor ultilizado 8.60 TFS ----------------------------------------- Para quem não entendeu explicarei melhor: Tipo, existe 2 playes: 1x1, esse player matou o outro mais nao pegou injust, eu quero que o script conte a morte do mesmo geito... O script soh conta a morte do players e adiciona o frag se o player receber Injust... Mais eu quero que o script conte o frag se matar o player, ele pode está ate sem Pk, pode ter matado um red. Queria que o script contasse os kills sem o player precisar pegar injust ao matar alguem... REP+ para quem me ajudar: Ps: Quem solber pode me dizer como arrumo um bug terrivel aqui? TIpo, quando o player mata outro player e ele reage, o cara que mato nao recebe Injust, ele soh recebe injust quando o cara está afk... queria arruma isso mais nao consigo desdeja agradeço... uP uP uP?? ninguem conseguiu ajudar ;s Intão tipo, talvez possa existir algum rank de Pvp sab? !rank pvp ou pelo site...
  16. Cara, vc nao faz ideia do tempo que eu passei procurando =/ tentei varias tags aqui no fórum e no Google e nada... Obrigado por me mandar o link e Rep + para você, pois isso que vc fez foi uma ajuda e coloca ajuda nisso
  17. Olá Galerinha do Xtibia! Bem, o titulo e descrição acho que ja diz tudo; Queria um Script/creaturescript que tipo, quando desse look no player, apareçer o seguinte: you killed (Quantidade) players. Ficando assim 08:08 You see Piquinha Knight (Level 265). She is an elite knight. you killed (Quantidade) players. She is Lutadores of the Black Demons (Demonia Insana). Esse Lutadores of the black demons é a guild dele intao, a tag dos killed irá ficar em sima da guild ou pode ser em baixo, tanto faz... E tipo, caso o player de look nele mesmo apareçerá: 08:10 You see yourself. You are a sorcerer. you killed (Quantidade) players. tem como fazer? REP+ para aqueles que me ajudarem PS: Uso TFS 0.3.6 versão 8.60 ;x
  18. No xampp vai ter uns chars chamado: Rook Sample Knight Sample Sorcerer Sample Druid Sample Paladin Sample vai em editar o char e muda as coordenadas da onde vai nascer...
  19. Uia funcionou obrigado e tipo: Local para escolher a quantidade ^^ REP + para ti amigo!
  20. soh uma que de todos esses items =/ (item que a lavanca vai dar ao player) (item que a lavanca vai retirar do player)
  21. Bem, eu gostaria que vcs me ajudem a criar um script que ao clicar na lavanca der uma bp de items Servidor usado: Baiak Yurots com distro TFS 0.3.6 Versão do servidor: 8.60 Bem, aqui vai os ids: Id da backpack: 2002 -- Agora os items dentro da backpack -- ID Quantidade 2160 10 2471 1 2463 1 2495 1 9933 1 -- Tipo, não quero que compre por Gold e sim por um item que pode ser utilizado como gold -- PS: ele é agrupavel de 100... ID Quantidade 12427 30 E tipo, queria também que se o player não tivesse cap ele não podesse usar a lavanca para a backpack nao cair no chao; Espero que alguem consiga me ajudar agradeço desde ja
  22. cara o problema é mesmo na fechadura pois vai haver muitas houses no servidor, e cada uma com um storagevalue diferente, e claro que mudar o storagevalue num é dificil mais o problema é que vai da dor de cabeça para contar das houses que nao estão usando o storagevalue...
  23. subyth

    Vocação Doll

    Bem, Primeiramente boa tarde para todos. Estou com um problema que não consigo arrumar pelo fato de não entender muito bem script... Meu Script de Vocação Doll está funcionando perfeitamente, ele adiciona a nova vocação, da remove no item e adiciona o storagevalue para o player! O unico problema é que quando o player reloga a vocação adicionada some completamente e ele volta para a vocação anterior... Quero dizer que a vocação adicionada ao player não salva mais o storagevalue sim, e o item (Doll) some normalmente. Tem como me ajudarem? function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid,1992) == 1 then doCreatureSay(cid, "Você ja recebeu a nova vocaçao", TALKTYPE_ORANGE_1) else if getPlayerLevel(cid) >= 1000 then -- a partir de que level podera usar doCreatureSay(cid, "você recebeu uma nova vocaçao!", TALKTYPE_ORANGE_1) if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 then doPlayerSetVocation(cid, 9) end if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 then doPlayerSetVocation(cid, 9) end if getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 then doPlayerSetVocation(cid, 10) end if getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7 then doPlayerSetVocation(cid, 11) end if getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8 then doPlayerSetVocation(cid, 12) end doSendMagicEffect(fromPosition, CONST_ME_GIFT_WRAPS) doRemoveItem(item.uid) setPlayerStorageValue(cid,1992,1) return TRUE else doCreatureSay(cid, "Você deve ter level 1000 ou mais para usar o Item!",TALKTYPE_ORANGE_1) end end end Tipo, e também tem como me ajudar com a vocação nova? tipo, ela está funcionando quase perfeitamente, o unico problema é que ela funciona mais fica sem pode usar os items das vocações e também sem pode usar as spells... E para acrescentar Id por id em cada item ou ate mesmo spells fica muito cansativo, não teria um outro geito? logo abaixo está o Vocations.Xml e Lib/031-vocations.lua Vocations.XML <?xml version="1.0" encoding="UTF-8"?> <vocations> <vocation id="0" name="Administrador" description="administrador" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="400" 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="50" gainmanaticks="3" gainmanaamount="50" manamultiplier="1.1" attackspeed="500" 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="50" gainmanaticks="3" gainmanaamount="50" manamultiplier="1.1" attackspeed="500" 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="50" gainmanaticks="4" gainmanaamount="50" manamultiplier="1.4" attackspeed="500" 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="5" gainhpticks="3" gainhpamount="50" gainmanaticks="6" gainmanaamount="50" manamultiplier="3.0" attackspeed="500" 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="War Master Sorcerer" description="a war master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="480" 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="War elder Druid" description="an war elder druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="480" soulmax="200" 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="War Royal Paladin" description="a war royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.4" attackspeed="480" soulmax="200" 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="War Elite Knight" description="an war elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="50" gainmanaticks="4" gainmanaamount="100" manamultiplier="3.0" attackspeed="480" soulmax="200" 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="[GOD] Master Sorcerer" description="an [god] master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="470" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.4" club="1.9" sword="1.9" axe="1.9" distance="1.9" shielding="1.6" fishing="1.1" experience="1.0"/> </vocation> <vocation id="10" name="[GOD] Elder Druid" description="an [god] elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="470" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.4" club="1.7" sword="1.7" axe="1.7" distance="1.7" shielding="1.6" fishing="1.1" experience="1.0"/> </vocation> <vocation id="11" name="[GOD] Royal Paladin" description="an [god] royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.4" attackspeed="470" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.0" shielding="1.2" fishing="1.1" experience="1.0"/> </vocation> <vocation id="12" name="[GOD] Elite Knight" description="an [god] elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="50" gainmanaticks="4" gainmanaamount="100" manamultiplier="3.0" attackspeed="470" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.1" defense="1.1" magDefense="1.1" armor="1.1"/> <skill fist="1.0" club="1.0" sword="1.0" axe="1.0" distance="1.3" shielding="1.2" fishing="1.1" experience="1.0"/> </vocation> <vocation id="13" name="[EVIL] Master Sorcerer" description="an [evil] master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="450" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.6" club="2.1" sword="2.1" axe="2.1" distance="2.1" shielding="1.4" fishing="1.1" experience="1.0"/> </vocation> <vocation id="14" name="[EVIL] Elder Druid" description="an [evil] elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="50" gainmanaticks="2" gainmanaamount="100" manamultiplier="1.1" attackspeed="450" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.6" club="2.1" sword="2.1" axe="2.1" distance="2.1" shielding="1.4" fishing="1.1" experience="1.0"/> </vocation> <vocation id="15" name="[EVIL] Royal Paladin" description="an [evil] royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.4" attackspeed="450" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.3" club="1.3" sword="1.3" axe="1.3" distance="1.2" shielding="1.0" fishing="1.1" experience="1.0"/> </vocation> <vocation id="16" name="[EVIL] Elite Knight" description="an [evil] elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="50" gainmanaticks="4" gainmanaamount="100" manamultiplier="3.0" attackspeed="450" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.1" distDamage="1.1" wandDamage="1.1" magDamage="1.1" 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.5" shielding="1.0" fishing="1.1" experience="1.0"/> </vocation> </vocations> 031-vocations.lua function isSorcerer(cid) return isInArray({1, 5, 9, 13}, getPlayerVocation(cid)) end function isDruid(cid) return isInArray({2, 6, 10, 14}, getPlayerVocation(cid)) end function isPaladin(cid) return isInArray({3, 7, 11, 15}, getPlayerVocation(cid)) end function isKnight(cid) return isInArray({4, 8, 12, 16}, getPlayerVocation(cid)) end function isRookie(cid) return isInArray({0}, getPlayerVocation(cid)) end Agradeço, e caso consigam me ajudar REP+ para todos!
  • Quem Está Navegando   0 membros estão online

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