-
Total de itens
3 -
Registro em
-
Última visita
Sobre lucasrafael
Informações
-
Forma que conheci o xTibia
Amigos
-
Sou
Não Informado
lucasrafael's Achievements
-
Ja venho avisando essa magia e para Servidores de xp alta...pq? pq ela e muito forte e so e competente PVP. Essa magia tambem serve para OTS com vocaçao especial ai tipo coloca a magia dessa vocaçao!! La vai: Em Spells/Scripts/attack: Copie qualquer arquivo e renomei ele para macabro.lua abra ele apague tudo e cole issu: salve e feche. agora abra spells.xml e cole issu la: Legenda: Verde:As Vocaçoes que podem usar a magia"no caso todas". Rosa:A palavra que o player vai dizer para usar a magia. Azul Claro:lvl que pode usar a magia. vermelho:mana que gasta ao usar a magia. Marron:se vc quer que tenha um intervalo grande entre usar pela segunda vez deixe 2000 se vc quer um intervalo normal coloque 1000 se vc nao quer intervalo coloque 0. Caso tenha algum erro ou coisa assim avisem...se nao gostam de magias tao fortes assim falem que postarei melhores e mais fracas as magias... flws
-
O so vo dizer uma coisa que se refere a tudo: http://tibiaarmagedon.servegame.com
-
O so vo dizer uma coisa que se refere a tudo: http://tibiaarmagedon.servegame.com
-
Vou ensinar com criar uma passagem secreta com controlhe de onde vc quiser vc da use no controle e a passagem abre da use denovo e a passagem fecha. Em actions/script crie um arquivo chamado paspedra e adicione isso: --Creditos Jimmy Hopkins-- function onUse(cid, item, frompos, item2, topos) pos = {x=138, y=222, z=15, stackpos=1}-----------Pos da 1ª pedra pos1 = getThingfromPos(pos) pos2 = {x=138, y=223, z=15, stackpos=1}----------Pos da 2ª pedra pos3 = getThingfromPos(pos2) pos4 = {x=137, y=222, z=15, stackpos=1}----------Pos da 1ª parede pos5 = getThingfromPos(pos4) pos6 = {x=137, y=223, z=15, stackpos=1}----------Pos da 2ª parede pos7 = getThingfromPos(pos6) pos8 = {x=138, y=221, z=15, stackpos=1}----------Possiçao para onde a 1ª pedra ira pos9 = getThingfromPos(pos8) pos10 = {x=138, y=224, z=15, stackpos=1}---------Possiçao para onde a 2ª pedra ira pos11 = getThingfromPos(pos10) if item.itemid == 2134 then doTransformItem(item.uid,2318) doRemoveItem(pos1.uid,1) doRemoveItem(pos3.uid,1) doRemoveItem(pos5.uid,1) doRemoveItem(pos7.uid,1) doCreateItem(1304,1,pos8)-------------1304 id da pedra doCreateItem(1304,1,pos10)-------------1304 id da pedra elseif item.itemid == 2318 then doTransformItem(item.uid,2134) doRemoveItem(pos9.uid,1) doRemoveItem(pos11.uid,1) doCreateItem(1304,1,pos)-------------1304 id da pedra doCreateItem(1304,1,pos2)-------------1304 id da pedra doCreateItem(1025,1,pos4)-------------1025 id da parede doCreateItem(1025,1,pos6)-------------1025 id da parede end return 1 end gente apaguem as escritas com -------- pq eu nao testei com traço mais nao tirem os creditos agora em actions.xml adicione isso <action itemid="2134" script="paspedra.lua" /><action itemid="2318" script="paspedra.lua" /> ai la vai uma imagem
-
OTServ BullyOT OTserv 8.3 O que contem:Sistema Pet novas quest magias novas e etc. IP:BullyOT.servegame.com Port:7171
-
Exevo:gemgem,mistories,various,cruz.invisible Rune
um tópico no fórum postou lucasrafael Globalevents e Spells
Creditos: 10%Tutoriais do Xtibia 90%GOD Lucas ou Cotoco Primeiramente vamos aprender a runa da invisibilidade primeiramente entre em data\spells\script copie (Ctrl+c) qualquer arquivo e renomeie para o nome q vc quiser depois adicione isto: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_INVISIBLE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setCombatCondition(combat, condition) --local area = createCombatArea( { {1, 1, 1}, {1, 3, 1}, {1, 1, 1} } ) --setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end depois entre em Data\spells\spells.xml na parte q tive escrito <!-- runes --> coloque isto: <rune name="invisivel" id="2309" charges="1" needtarget="10" maglv="0" exhaustion="0" enabled="1" allowfaruse="1" script="nome que vc colocou no arquivo.lua"></rune> Pronto Acabamos a runa agora vamos começar as spells Primeiramente na pasta Data\Spells\script crie 5 arquivos LUA Renomeie um para exevo mistories e coloque o seguinte: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC , -3.0, -1, -2.5, -10) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC , -2.7, -2, -2.3, -10) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC , -2.4, -3, -2.1, -10) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC , -2.1, -4, -1.9, -10) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC , -1.6, -5, -1.7, -10) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC , -1.6, -6, -1.5, -10) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC , -1.6, -7, -1.3, -10) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat8, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC , -1.6, -8, -1.3, -10) local combat9 = createCombatObject() setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat9, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat10 = createCombatObject() setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat10, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat11 = createCombatObject() setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat11, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat12 = createCombatObject() setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat12, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat13 = createCombatObject() setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat13, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat14 = createCombatObject() setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat14, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat15 = createCombatObject() setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat15, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat16 = createCombatObject() setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat16, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat17 = createCombatObject() setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat17, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat18 = createCombatObject() setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat18, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat19 = createCombatObject() setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat19, COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK) setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) local combat20 = createCombatObject() setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat20, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC , -1.6, -9, -1.3, -10) arr1 = { {0, 0, 0, 0, 0, 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, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr20 = { {0, 0, 0, 0, 0, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 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) local area6 = createCombatArea(arr6) local area7 = createCombatArea(arr7) local area8 = createCombatArea(arr8) local area9 = createCombatArea(arr9) local area10 = createCombatArea(arr10) local area11 = createCombatArea(arr11) local area12 = createCombatArea(arr12) local area13 = createCombatArea(arr13) local area14 = createCombatArea(arr14) local area15 = createCombatArea(arr15) local area16 = createCombatArea(arr16) local area17 = createCombatArea(arr17) local area18 = createCombatArea(arr18) local area19 = createCombatArea(arr19) local area20 = createCombatArea(arr20) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) setCombatArea(combat6, area6) setCombatArea(combat7, area7) setCombatArea(combat8, area8) setCombatArea(combat9, area9) setCombatArea(combat10, area10) setCombatArea(combat11, area11) setCombatArea(combat12, area12) setCombatArea(combat13, area13) setCombatArea(combat14, area14) setCombatArea(combat15, area15) setCombatArea(combat16, area16) setCombatArea(combat17, area17) setCombatArea(combat18, area18) setCombatArea(combat19, area19) setCombatArea(combat20, area20) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, parameters.combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, parameters.combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, parameters.combat5, parameters.var) end local function onCastSpell6(parameters) doCombat(parameters.cid, parameters.combat6, parameters.var) end local function onCastSpell7(parameters) doCombat(parameters.cid, parameters.combat7, parameters.var) end local function onCastSpell8(parameters) doCombat(parameters.cid, parameters.combat8, parameters.var) end local function onCastSpell9(parameters) doCombat(parameters.cid, parameters.combat9, parameters.var) end local function onCastSpell10(parameters) doCombat(parameters.cid, parameters.combat10, parameters.var) end local function onCastSpell11(parameters) doCombat(parameters.cid, parameters.combat11, parameters.var) end local function onCastSpell12(parameters) doCombat(parameters.cid, parameters.combat12, parameters.var) end local function onCastSpell13(parameters) doCombat(parameters.cid, parameters.combat13, parameters.var) end local function onCastSpell14(parameters) doCombat(parameters.cid, parameters.combat14, parameters.var) end local function onCastSpell15(parameters) doCombat(parameters.cid, parameters.combat15, parameters.var) end local function onCastSpell16(parameters) doCombat(parameters.cid, parameters.combat16, parameters.var) end local function onCastSpell17(parameters) doCombat(parameters.cid, parameters.combat17, parameters.var) end local function onCastSpell18(parameters) doCombat(parameters.cid, parameters.combat18, parameters.var) end local function onCastSpell19(parameters) doCombat(parameters.cid, parameters.combat19, parameters.var) end local function onCastSpell20(parameters) doCombat(parameters.cid, parameters.combat20, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6, combat7 = combat7, combat8 = combat8, combat9 = combat9, combat10 = combat10, combat11 = combat11, combat12 = combat12, combat13 = combat13, combat14 = combat14, combat15 = combat15, combat16 = combat16, combat17 = combat17, combat18 = combat18, combat19 = combat19, combat20 = combat20 } addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 300, parameters) addEvent(onCastSpell3, 500, parameters) addEvent(onCastSpell4, 700, parameters) addEvent(onCastSpell5, 900, parameters) addEvent(onCastSpell6, 1100, parameters) addEvent(onCastSpell7, 1300, parameters) addEvent(onCastSpell8, 1500, parameters) addEvent(onCastSpell9, 1700, parameters) addEvent(onCastSpell10, 1900, parameters) addEvent(onCastSpell11, 2100, parameters) addEvent(onCastSpell12, 2300, parameters) addEvent(onCastSpell13, 2500, parameters) addEvent(onCastSpell14, 2700, parameters) addEvent(onCastSpell15, 2900, parameters) addEvent(onCastSpell16, 3100, parameters) addEvent(onCastSpell17, 3300, parameters) addEvent(onCastSpell18, 3500, parameters) addEvent(onCastSpell19, 3700, parameters) addEvent(onCastSpell20, 3900, parameters) end o Outro para exevo various e coloque isso: local acombat1 = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.9, -60, -1.9, -100) local acombat2 = createCombatObject() local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.9, -60, -1.9, -100) local acombat3 = createCombatObject() local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.9, -60, -1.9, -100) local acombat4 = createCombatObject() local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 37) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1.9, -60, -1.9, -100) local acombat5 = createCombatObject() local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.9, -60, -1.9, -100) arr1 = { {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, 0, 0, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0}, {0, 0, 0, 0, 0, 2, 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, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0}, {0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 2, 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, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr3 = { {0, 0, 0, 0, 0, 0,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, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 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(acombat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) function onTargetTile1(cid, pos) doCombat(cid,combat1,positionToVariant(pos)) end setCombatCallback(acombat1, CALLBACK_PARAM_TARGETTILE, "onTargetTile1") local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.acombat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, parameters.combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, parameters.combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, parameters.combat5, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, acombat1 = acombat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6} addEvent(onCastSpell1, 0, parameters) addEvent(onCastSpell2, 0, parameters) addEvent(onCastSpell3, 0, parameters) addEvent(onCastSpell4, 0, parameters) addEvent(onCastSpell5, 0, parameters) end o outro renomeie para pt e coloque isso: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_EXPLOSIONAREA) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, 2.0, -150, 1.6, -150) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYAREA) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, 2.0, -150, 1.6, -150) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, 2.0, -150, 1.6, -150) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_POISONAREA) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, 2.0, -150, 1.6, -150) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_WHIRLWIND) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, 2.0, -150, 1.6, -150) arr1 = { {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, 0, 0, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0}, {0, 0, 0, 0, 0, 2, 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, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr2 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0}, {0, 1, 1, 1, 1, 0, 0, 0, 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, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 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 onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, parameters.combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, parameters.combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, parameters.combat5, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5 } addEvent(onCastSpell1, 0, parameters) addEvent(onCastSpell2, 0, parameters) addEvent(onCastSpell3, 0, parameters) addEvent(onCastSpell4, 0, parameters) addEvent(onCastSpell5, 0, parameters) end o outro renomeie para tipower e coloque o seguinte: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -3.5, -120, -5.25, 0) arr = { {0, 0, 0, 0, 0, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 0, 0, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end o outro renomeie para gem e coloque isto: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -3.5, -120, -5.25, 0) arr = { {0, 0, 0, 0, 0, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 0, 0, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Agora entre em data\spells\spells.xml na parte q estive escrito <!-- instant spells --> logo uma linha abaixo escreva: <instant name="exevo mistories" words="exevo mistories" lvl="70" maglv="0" mana="0" soul="0" exhaustion="0" prem="1" enabled="1" script="exevo mistories.lua"><vocation id="1"/><vocation id="5"/></instant> <instant name="exevo various" words="exevo various" lvl="70" maglv="0" mana="0" soul="0" exhaustion="0" prem="1" enabled="1" script="exevo various.lua"><vocation id="1"/><vocation id="5"/></instant> <instant name="pt" words="exevo cruz" direction="1" lvl="0" maglv="0" mana="0" soul="0" exhaustion="0" prem="0" enabled="1" script="pt.lua"><vocation id="1"/><vocation id="5"/></instant> <instant name="Tipower" words="tipower" lvl="0" maglv="0" mana="0" soul="0" exhaustion="0" prem="0" enabled="1" script="tipower.lua"><vocation id="5"/><vocation id="1"/><vocation id="7"/><vocation id="3"/></instant> <instant name="grande sd" words="exevo gem gem" lvl="1" maglv="0" mana="0" soul="0" exhaustion="0" prem="0" enabled="1" script="gem.lua"><vocation id="9"/><vocation id="10"/><vocation id="1"/><vocation id="5"/></instant> Muito obrigado Se quiser entra no meu ot q tem issu tudo systema de account:Sistema de Accounts Port:7175 ip:runeot.servegame.com Meu email pra qm quise me fala um erro pra min concerta ou fala alguma coisa para min tenta
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.