-
Total de itens
120 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que lucasatak postou
-
eu vi esse script aqui no xtibia na seçao de pedidos,acho que foi até você que pediu um e o Hydrai postou, jaja trago ele aqui,se for igual poste os creditos dele. --EDIT-- aqui está o topico,nao sei se é igual,mais parece muito,mudou alguns ids. http://www.xtibia.com/forum/topic/129751-movement-surf-sistem/ @Topico muito bom,organizado,parabéns.
-
Alguns Comandos Para Serem Usados 1.0 OBS:TENTAREI COLOCAR DESCRIÇAO EM TODOS,DIFICIL,MAIS VOU TENTAR. NORTH = 0 EAST = 1 SOUTH = 2 WEST = 3 SOUTHWEST = 4 SOUTHEAST = 5 NORTHWEST = 6 NORTHEAST = 7 COMBAT_FORMULA_UNDEFINED = 0 COMBAT_FORMULA_LEVELMAGIC = 1 COMBAT_FORMULA_SKILL = 2 COMBAT_FORMULA_DAMAGE = 3 Essas aqui sao as CONDITIOS,aqui eu vo botar o mesmo exemplo do paralyze que eu puis la em baixo,o exemplo: local condition = createConditionObject(CONDITION_PARALYZE)< explicado la em baixo setConditionParam(condition, [color="#FFA500"]CONDITION_PARAM_TICKS[/color], 5000) < quanto tempo durará a magia,mesma coisa pra CONDITION_HASTE,está la em baixo. setConditionParam(condition, [color="#FFA500"]CONDITION_PARAM_SPEED[/color], -500) < quanto de velocidade o player irá perder,no caso -500 setCombatCondition(combat, condition) [color="#FFA500"]CONDITION_PARAM_OWNER = 1 CONDITION_PARAM_TICKS = 2 CONDITION_PARAM_OUTFIT = 3 CONDITION_PARAM_HEALTHGAIN = 4 CONDITION_PARAM_HEALTHTICKS = 5 CONDITION_PARAM_MANAGAIN = 6 CONDITION_PARAM_MANATICKS = 7 CONDITION_PARAM_DELAYED = 8 CONDITION_PARAM_SPEED = 9 CONDITION_PARAM_LIGHT_LEVEL = 10 CONDITION_PARAM_LIGHT_COLOR = 11 CONDITION_PARAM_SOULGAIN = 12 CONDITION_PARAM_SOULTICKS = 13 CONDITION_PARAM_MINVALUE = 14 CONDITION_PARAM_MAXVALUE = 15 CONDITION_PARAM_STARTVALUE = 16 CONDITION_PARAM_TICKINTERVAL = 17 CONDITION_PARAM_FORCEUPDATE = 18 CONDITION_PARAM_SKILL_MELEE = 19 CONDITION_PARAM_SKILL_FIST = 20 CONDITION_PARAM_SKILL_CLUB = 21 CONDITION_PARAM_SKILL_SWORD = 22 CONDITION_PARAM_SKILL_AXE = 23 CONDITION_PARAM_SKILL_DISTANCE = 24 CONDITION_PARAM_SKILL_SHIELD = 25 CONDITION_PARAM_SKILL_FISHING = 26 CONDITION_PARAM_STAT_MAXHEALTH = 27 CONDITION_PARAM_STAT_MAXMANA = 28 CONDITION_PARAM_STAT_SOUL = 29 CONDITION_PARAM_STAT_MAGICLEVEL = 30 CONDITION_PARAM_STAT_MAXHEALTHPERCENT = 31 CONDITION_PARAM_STAT_MAXMANAPERCENT = 32 CONDITION_PARAM_STAT_SOULPERCENT = 33 CONDITION_PARAM_STAT_MAGICLEVELPERCENT = 34 CONDITION_PARAM_SKILL_MELEEPERCENT = 35 CONDITION_PARAM_SKILL_FISTPERCENT = 36 CONDITION_PARAM_SKILL_CLUBPERCENT = 37 CONDITION_PARAM_SKILL_SWORDPERCENT = 38 CONDITION_PARAM_SKILL_AXEPERCENT = 39 CONDITION_PARAM_SKILL_DISTANCEPERCENT = 40 CONDITION_PARAM_SKILL_SHIELDPERCENT = 41 CONDITION_PARAM_SKILL_FISHINGPERCENT = 42 CONDITION_PARAM_PERIODICDAMAGE = 43 CONDITION_PARAM_BUFF = 44 CONDITION_PARAM_SUBID = 45[/color] Esses aqui sao os COMBAT PARAM,aqui ensinarei mais como se usa esse tal de "COMBAT PARAM" é simples,olhe esse pedaço de magia que eu peguei: setCombatParam(combat, [color="#FF00FF"]COMBAT_PARAM_EFFECT[/color], AQUI O EFEITO) esses comandos iram ser o tipos de efeitos,voce poderá botar COMBAT_PARAM_EFFECT,logo depois o efeito. ou COMBAT_PARAM_DISTANCEEFFECT,logo depois o efeito,e será uma magia de distance. [color="#FF00FF"]COMBAT_PARAM_TYPE = 1 COMBAT_PARAM_EFFECT = 2 COMBAT_PARAM_DISTANCEEFFECT = 3 COMBAT_PARAM_BLOCKSHIELD = 4 COMBAT_PARAM_BLOCKARMOR = 5 COMBAT_PARAM_TARGETCASTERORTOPMOST = 6 COMBAT_PARAM_CREATEITEM = 7 COMBAT_PARAM_AGGRESSIVE = 8 COMBAT_PARAM_DISPEL = 9 COMBAT_PARAM_USECHARGES = 10[/color] CALLBACK_PARAM_LEVELMAGICVALUE = 1 CALLBACK_PARAM_SKILLVALUE = 2 CALLBACK_PARAM_TARGETTILE = 3 CALLBACK_PARAM_TARGETCREATURE = 4 tipos de magia,um exemplo: setCombatParam(combat, COMBAT_PARAM_TYPE, [color="#0000FF"]COMBAT_PHYSICALDAMAGE[/color]) esse COMBAT_PARAM_TYPE,será o tipo de sua magia,poderá ser de healar,atacar,defender etc. se for de healar voce botará ali COMBAT_HEALING ao inves de PHYSICALDAMAGE. [color="#0000FF"]COMBAT_NONE = 0 COMBAT_PHYSICALDAMAGE = 1 COMBAT_ENERGYDAMAGE = 2 COMBAT_EARTHDAMAGE = 4 COMBAT_POISONDAMAGE = 4 COMBAT_FIREDAMAGE = 8 COMBAT_UNDEFINEDDAMAGE = 16 COMBAT_LIFEDRAIN = 32 COMBAT_MANADRAIN = 64 COMBAT_HEALING = 128 COMBAT_DROWNDAMAGE = 256 COMBAT_ICEDAMAGE = 512 COMBAT_HOLYDAMAGE = 1024 COMBAT_DEATHDAMAGE = 2048[/color] oque a magia irá ser? irá ser de paralyze? CONDITION_PARALYZE ou irá ser de fogo? CONDITION_FIRE ou ela te dará velocidade? CONDITION_HASTE é de acordo com voce,um exemplo para usa-las,um exemplo de utani gran hur. local condition = createConditionObject(CONDITION_HASTE) [b]< VELOCIDADE[/b] setConditionParam(condition, CONDITION_PARAM_TICKS, 30000) [b]explicarei la em cima.[/b]. se for de paralyze é a quase a mesma coisa,só tem uma coisa a mais,veja: local condition = createConditionObject(CONDITION_PARALYZE) e aqui eu mudei,ao inves de ganhar velocidade,irá perder porque será magia de paralyze. setConditionParam(condition, CONDITION_PARAM_TICKS, 5000) < explicarei la em cima. setConditionParam(condition, CONDITION_PARAM_SPEED, -500) < explicarei la em cima CONDITION_NONE = 0 CONDITION_POISON = 1 CONDITION_FIRE = 2 CONDITION_ENERGY = 4 CONDITION_PHYSICAL = 8 CONDITION_HASTE = 16 CONDITION_PARALYZE = 32 CONDITION_OUTFIT = 64 CONDITION_INVISIBLE = 128 CONDITION_LIGHT = 256 CONDITION_MANASHIELD = 512 CONDITION_INFIGHT = 1024 CONDITION_DRUNK = 2048 CONDITION_EXHAUST = 4096 CONDITION_FOOD = 8192 CONDITION_REGENERATION = 8192 CONDITION_SOUL = 16384 CONDITION_DROWN = 32768 CONDITION_MUTED = 65536 CONDITION_ATTRIBUTES = 131072 CONDITION_FREEZING = 262144 CONDITION_DAZZLED = 524288 CONDITION_CURSED = 1048576 CONDITION_PACIFIED = 2097152 aqui por exemplo,voce fez uma movements e ai tem que usar o item pra funcionar,só que voce quer que ele só funcione em um certo lugar do corpo,ai entra isso aqui em baixo,explicarei. CONST_SLOT_HEAD = 1 - cabeça CONST_SLOT_NECKLACE = 2 - lugar do amuleto CONST_SLOT_BACKPACK = 3 - mochila CONST_SLOT_ARMOR = 4 - armor CONST_SLOT_RIGHT = 5 - mao direita CONST_SLOT_LEFT = 6 - mao esquerda CONST_SLOT_LEGS = 7 - calça CONST_SLOT_FEET = 8 - pé CONST_SLOT_RING = 9 - ring CONST_SLOT_AMMO = 10 - lugar da flexa tipo efeitos das Magias,aconselho olhar o tutorial que colocarei no final do topico para ver os efeitos. CONST_ME_DRAWBLOOD = 0 CONST_ME_LOSEENERGY = 1 CONST_ME_POFF = 2 CONST_ME_BLOCKHIT = 3 CONST_ME_EXPLOSIONAREA = 4 CONST_ME_EXPLOSIONHIT = 5 CONST_ME_FIREAREA = 6 CONST_ME_YELLOW_RINGS = 7 CONST_ME_GREEN_RINGS = 8 CONST_ME_HITAREA = 9 CONST_ME_TELEPORT = 10 CONST_ME_ENERGYHIT = 11 CONST_ME_MAGIC_BLUE = 12 CONST_ME_MAGIC_RED = 13 CONST_ME_MAGIC_GREEN = 14 CONST_ME_HITBYFIRE = 15 CONST_ME_HITBYPOISON = 16 CONST_ME_MORTAREA = 17 CONST_ME_SOUND_GREEN = 18 CONST_ME_SOUND_RED = 19 CONST_ME_POISONAREA = 20 CONST_ME_SOUND_YELLOW = 21 CONST_ME_SOUND_PURPLE = 22 CONST_ME_SOUND_BLUE = 23 CONST_ME_SOUND_WHITE = 24 CONST_ME_BUBBLES = 25 CONST_ME_CRAPS = 26 CONST_ME_GIFT_WRAPS = 27 CONST_ME_FIREWORK_YELLOW = 28 CONST_ME_FIREWORK_RED = 29 CONST_ME_FIREWORK_BLUE = 30 CONST_ME_STUN = 31 CONST_ME_SLEEP = 32 CONST_ME_WATERCREATURE = 33 CONST_ME_GROUNDSHAKER = 34 CONST_ME_HEARTS = 35 CONST_ME_FIREATTACK = 36 CONST_ME_ENERGYAREA = 37 CONST_ME_SMALLCLOUDS = 38 CONST_ME_HOLYDAMAGE = 39 CONST_ME_BIGCLOUDS = 40 CONST_ME_ICEAREA = 41 CONST_ME_ICETORNADO = 42 CONST_ME_ICEATTACK = 43 CONST_ME_STONES = 44 CONST_ME_SMALLPLANTS = 45 CONST_ME_CARNIPHILA = 46 CONST_ME_PURPLEENERGY = 47 CONST_ME_YELLOWENERGY = 48 CONST_ME_HOLYAREA = 49 CONST_ME_BIGPLANTS = 50 CONST_ME_CAKE = 51 CONST_ME_GIANTICE = 52 CONST_ME_WATERSPLASH = 53 CONST_ME_PLANTATTACK = 54 CONST_ME_TUTORIALARROW = 55 CONST_ME_TUTORIALSQUARE = 56 CONST_ME_MIRRORHORIZONTAL = 57 CONST_ME_MIRRORVERTICAL = 58 CONST_ME_SKULLHORIZONTAL = 59 CONST_ME_SKULLVERTICAL = 60 CONST_ME_ASSASSIN = 61 CONST_ME_STEPSHORIZONTAL = 62 CONST_ME_BLOODYSTEPS = 63 CONST_ME_STEPSVERTICAL = 64 CONST_ME_YALAHARIGHOST = 65 CONST_ME_BATS = 66 CONST_ME_NONE = 255 isso aqui pode ser usado no items.xml como atributekey,aqui vai um exemplo: <attribute key="shootType" value="bluearrow"/> voce mudara apenas oque está em negrito com os nomes abaixo,se quiser mudar para o efeito de busrtarrow voce nao colocará CONST_ANI_BURSTARROW e só bustarrow. pode ser usada como DISTANCE_EFFECT nas magias,mais como assim? aqui está: (COMBAT_PARAM_DISTANCEEFFECT,CONST_ANI_BOLT) aqui voce colocará tudo,CONST_ANI .... CONST_ANI_SPEAR = 0 CONST_ANI_BOLT = 1 CONST_ANI_ARROW = 2 CONST_ANI_FIRE = 3 CONST_ANI_ENERGY = 4 CONST_ANI_POISONARROW = 5 CONST_ANI_BURSTARROW = 6 CONST_ANI_THROWINGSTAR = 7 CONST_ANI_THROWINGKNIFE = 8 CONST_ANI_SMALLSTONE = 9 CONST_ANI_DEATH = 10 CONST_ANI_LARGEROCK = 11 CONST_ANI_SNOWBALL = 12 CONST_ANI_POWERBOLT = 13 CONST_ANI_POISON = 14 CONST_ANI_INFERNALBOLT = 15 CONST_ANI_HUNTINGSPEAR = 16 CONST_ANI_ENCHANTEDSPEAR = 17 CONST_ANI_REDSTAR = 18 CONST_ANI_GREENSTAR = 19 CONST_ANI_ROYALSPEAR = 20 CONST_ANI_SNIPERARROW = 21 CONST_ANI_ONYXARROW = 22 CONST_ANI_PIERCINGBOLT = 23 CONST_ANI_WHIRLWINDSWORD = 24 CONST_ANI_WHIRLWINDAXE = 25 CONST_ANI_WHIRLWINDCLUB = 26 CONST_ANI_ETHEREALSPEAR = 27 CONST_ANI_ICE = 28 CONST_ANI_EARTH = 29 CONST_ANI_HOLY = 30 CONST_ANI_SUDDENDEATH = 31 CONST_ANI_FLASHARROW = 32 CONST_ANI_FLAMMINGARROW = 33 CONST_ANI_SHIVERARROW = 34 CONST_ANI_ENERGYBALL = 35 CONST_ANI_SMALLICE = 36 CONST_ANI_SMALLHOLY = 37 CONST_ANI_SMALLEARTH = 38 CONST_ANI_EARTHARROW = 39 CONST_ANI_EXPLOSION = 40 CONST_ANI_CAKE = 41 CONST_ANI_WEAPONTYPE = 254 CONST_ANI_NONE = 255 PLAYERLOSS_EXPERIENCE = 0 PLAYERLOSS_MANA = 1 PLAYERLOSS_SKILL = 2 PLAYERLOSS_ITEMS = 3 STATSCHANGE_HEALTHGAIN = 1 STATSCHANGE_HEALTHLOSS = 2 STATSCHANGE_MANAGAIN = 3 STATSCHANGE_MANALOSS = 4 SKILL_FIST = 0 SKILL_CLUB = 1 SKILL_SWORD = 2 SKILL_AXE = 3 SKILL_DISTANCE = 4 SKILL_SHIELD = 5 SKILL_FISHING = 6 SKILL__MAGLEVEL = 7 SKILL__LEVEL = 8 GUILDLEVEL_MEMBER = 1 GUILDLEVEL_VICE = 2 GUILDLEVEL_LEADER = 3 SKULL_NONE = 0 SKULL_YELLOW = 1 SKULL_GREEN = 2 SKULL_WHITE = 3 SKULL_RED = 4 COMBAT_FORMULA_UNDEFINED = 0 COMBAT_FORMULA_LEVELMAGIC = 1 COMBAT_FORMULA_SKILL = 2 COMBAT_FORMULA_DAMAGE = 3 CONDITION_PARAM_OWNER = 1 CONDITION_PARAM_TICKS = 2 CONDITION_PARAM_OUTFIT = 3 CONDITION_PARAM_HEALTHGAIN = 4 CONDITION_PARAM_HEALTHTICKS = 5 CONDITION_PARAM_MANAGAIN = 6 CONDITION_PARAM_MANATICKS = 7 CONDITION_PARAM_DELAYED = 8 CONDITION_PARAM_SPEED = 9 CONDITION_PARAM_LIGHT_LEVEL = 10 CONDITION_PARAM_LIGHT_COLOR = 11 CONDITION_PARAM_SOULGAIN = 12 CONDITION_PARAM_SOULTICKS = 13 CONDITION_PARAM_MINVALUE = 14 CONDITION_PARAM_MAXVALUE = 15 CONDITION_PARAM_STARTVALUE = 16 CONDITION_PARAM_TICKINTERVAL = 17 CONDITION_PARAM_FORCEUPDATE = 18 CONDITION_PARAM_SKILL_MELEE = 19 CONDITION_PARAM_SKILL_FIST = 20 CONDITION_PARAM_SKILL_CLUB = 21 CONDITION_PARAM_SKILL_SWORD = 22 CONDITION_PARAM_SKILL_AXE = 23 CONDITION_PARAM_SKILL_DISTANCE = 24 CONDITION_PARAM_SKILL_SHIELD = 25 CONDITION_PARAM_SKILL_FISHING = 26 CONDITION_PARAM_STAT_MAXHEALTH = 27 CONDITION_PARAM_STAT_MAXMANA = 28 CONDITION_PARAM_STAT_SOUL = 29 CONDITION_PARAM_STAT_MAGICLEVEL = 30 CONDITION_PARAM_STAT_MAXHEALTHPERCENT = 31 CONDITION_PARAM_STAT_MAXMANAPERCENT = 32 CONDITION_PARAM_STAT_SOULPERCENT = 33 CONDITION_PARAM_STAT_MAGICLEVELPERCENT = 34 CONDITION_PARAM_SKILL_MELEEPERCENT = 35 CONDITION_PARAM_SKILL_FISTPERCENT = 36 CONDITION_PARAM_SKILL_CLUBPERCENT = 37 CONDITION_PARAM_SKILL_SWORDPERCENT = 38 CONDITION_PARAM_SKILL_AXEPERCENT = 39 CONDITION_PARAM_SKILL_DISTANCEPERCENT = 40 CONDITION_PARAM_SKILL_SHIELDPERCENT = 41 CONDITION_PARAM_SKILL_FISHINGPERCENT = 42 CONDITION_PARAM_PERIODICDAMAGE = 43 CONDITION_PARAM_BUFF = 44 CONDITION_PARAM_SUBID = 45 COMBAT_PARAM_TYPE = 1 COMBAT_PARAM_EFFECT = 2 COMBAT_PARAM_DISTANCEEFFECT = 3 COMBAT_PARAM_BLOCKSHIELD = 4 COMBAT_PARAM_BLOCKARMOR = 5 COMBAT_PARAM_TARGETCASTERORTOPMOST = 6 COMBAT_PARAM_CREATEITEM = 7 COMBAT_PARAM_AGGRESSIVE = 8 COMBAT_PARAM_DISPEL = 9 COMBAT_PARAM_USECHARGES = 10 COMBAT_PARAM_TARGETPLAYERSORSUMMONS = 11 CALLBACK_PARAM_LEVELMAGICVALUE = 1 CALLBACK_PARAM_SKILLVALUE = 2 CALLBACK_PARAM_TARGETTILE = 3 CALLBACK_PARAM_TARGETCREATURE = 4 COMBAT_NONE = 0 COMBAT_PHYSICALDAMAGE = 1 COMBAT_ENERGYDAMAGE = 2 COMBAT_EARTHDAMAGE = 4 COMBAT_POISONDAMAGE = 4 COMBAT_FIREDAMAGE = 8 COMBAT_UNDEFINEDDAMAGE = 16 COMBAT_LIFEDRAIN = 32 COMBAT_MANADRAIN = 64 COMBAT_HEALING = 128 COMBAT_DROWNDAMAGE = 256 COMBAT_ICEDAMAGE = 512 COMBAT_HOLYDAMAGE = 1024 COMBAT_DEATHDAMAGE = 2048 CONDITION_NONE = 0 CONDITION_POISON = 1 CONDITION_FIRE = 2 CONDITION_ENERGY = 4 CONDITION_PHYSICAL = 8 CONDITION_HASTE = 16 CONDITION_PARALYZE = 32 CONDITION_OUTFIT = 64 CONDITION_INVISIBLE = 128 CONDITION_LIGHT = 256 CONDITION_MANASHIELD = 512 CONDITION_INFIGHT = 1024 CONDITION_DRUNK = 2048 CONDITION_EXHAUST = 4096 CONDITION_FOOD = 8192 CONDITION_REGENERATION = 8192 CONDITION_SOUL = 16384 CONDITION_DROWN = 32768 CONDITION_MUTED = 65536 CONDITION_ATTRIBUTES = 131072 CONDITION_FREEZING = 262144 CONDITION_DAZZLED = 524288 CONDITION_CURSED = 1048576 CONDITION_PACIFIED = 2097152 CONDITION_GAMEMASTER = 4194304 EXHAUST_OTHER = 0 EXHAUST_COMBAT = 1 EXHAUST_HEALING = 2 EXHAUST_WEAPON = 3 MUTED_BUFFER = 0 MUTED_YELL = 1 MUTED_TRADE = 2 MUTED_TRADE_ROOK = 3 LISTA DE EFEITOS,BY ANTHARAZ: AQUI. creditos:thegod.
-
os scripts funcionaram? para aumentar ataque mude esses numeros,se nao me engano. setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -4.6, -50, -4.2, -50) acredito que a duvida ja foi sanada,se foi pede pra algum moderador fexar, obrigado.
-
4° Exevo Gran Mas Ice hit 4000 2000 area qalqer eu arrumo Tipo Estacas de GElo! 3° Exori Mas Gran Hit 4000 2000 area Qualqer Eu arrumo (Tipo Exori Gran so que com mais hit e mais area se quiser trocar o efeito para de outro parecido com esse - > CONST_ME_GROUNDSHAKER 5° Pally Hur Hit 2000 3000 area igual do exevo vis hur Tipo Death lembrar de botar direction "1"
-
Npc 1 : copie qualquer arquivo e renomeio para Rodolfo e cole isto: em xml copie qualquer arquivo renomeio para Rodolfo e cole isto: NPC 2: copie qualquer arquivo e renomeio para Andre e cole isto: em xml copie qualquer arquivo renomeio para Andre e cole isto:
-
qual versao do seu ot? se for anterior a 8.50 não sei se funciona,só foi testada nessas duas versoes. abraços !
-
ele nao ta reconhecendo a funçao getTilePzInfo eu acho.
-
Advancet Teleport Temple Scroll
tópico respondeu ao Antiemoxlr de lucasatak em Actions e Talkactions
@siveralol se já tem no otland,ponha o link aqui. @Antiemoxlr caso tenha esse topico no otland,pode ser considerado ripping pois não está com creditos do autor do script,bote os duvidos creditos,antes que alguem te reporte. abraços ! -
amigo,postou em area errada,preste atençao na proxima vez que for postar. REPORTADO.
-
[Actions E Talk] Evento Presente Random
tópico respondeu ao guedes100 de lucasatak em Actions e Talkactions
eu sei cara,só achei o script legal,mais eu sei tirar os items,só falei que tinham muitos. abçs ! -
[Actions E Talk] Evento Presente Random
tópico respondeu ao guedes100 de lucasatak em Actions e Talkactions
auhauhauh bem interessante,mais podia tirar alguns itens,tem muitos. abraços ! -
vo por o arquivo pra download,tanto o de voc , tanto o normal.
-
como nao deu certo cara ? eu a apocarai testamos os 2 (Da voc e o do topico) e deu certo,ambos em 8.50+
-
gente , coloque os 100 gps na mão,e ponha a bp , ela vai começar a andar voces controlem pelo CTRL E AS SETAS, abçs !
-
pronto,ja concertei a tag xml no topico.
-
[Movements] Ring Transform Vocation
tópico respondeu ao lucasatak de lucasatak em Actions e Talkactions
tenho quase certeza que não,modifique apenas em vocations.xml -
Creditos:Apocarai,Lucasatak Versao: 8.50 e 8.54 Tipo:Movements Explicaçao:Você tem que ter 100 gps (COLD COINS) na mao,depois disso,bote a bp of holding e depois ela irá começar a andar,para controla-lá aperte ctrl+setas! vamo aos scripts, vá em data/movements/scripts copie qualquer arquivo e renomeio para jetpack.lua e cole isto: agora em data/movements/movements.xml cole isto: <movement type="Equip" itemid="2365" event="script" value="jetpack.lua"/> <movement type="DeEquip" itemid="2365" event="script" value="jetpack.lua"/> creditos pra gentee ! DOWNLOAD JETPACK NORMAL! DOWNLOAD Jetpack VOC ABÇS ! SS
-
Comando Para Enviar O Jogador Ao Templo.
tópico respondeu ao satan666 de lucasatak em Actions e Talkactions
gostei,mais nao entendi uma coisa,oque essa funçao faz local tid = getPlayerByNameWildcard(t[1]) abçs ! -
amigo,você postou em lugar errado,mais atenção na proxima vez. REPORTADO.
-
auhauhua cara,valeu,um evento bbb ia fica legal ae abçs !
-
[Movements] Ring Transform Vocation
tópico respondeu ao lucasatak de lucasatak em Actions e Talkactions
porque está pessimo,muito grande ? -
Peguei esse script do otland creditos ao Molinero. Explicando:voce poe o ring,ele te transforma para o outfit do elf arcanist e te da vocaçao suprema,ou seja,Epic elite knight,ou epic elder druid etc. E voce ganhará efeitos especiais. vamo lá, data/movements/scripts crie 1 arquivo chamado epic.lua e cole isto: -- Original script by Molinero -- The Super-Ultimate Transformation Ring -- -- Super Vocation Transformation script made by Arthur, aka artofwork -- -- You can assign an item to this script and the benifits the item will bring are -- -- A totally new vocation for each current vocation, check your vocations.xml for the new vocations -- -- Independent Skills and Magic Level Boost for each new vocation -- -- Auto Mana Shield for new mage vocations, Auto Super Haste for all new vocations -- -- Independent Auto HP and Mana gain rates for each new vocation -- -- For each new vocation the new vocation recieves a new outfit and has an independent special effect added to help idenify the new vocation -- -- This script is set to inifnite, but can be set to have mana taken from the player, when mana runs out the item will be destroyed -- local storage = 18009 -- storage value for the vocation transformation -- local sorcerervoc = 9 -- 9 number is the vocation id of an epic master sorcerer in vocations.xml -- local druidvoc = 10 -- 10 number is the vocation id of a epic elder druid in vocations.xml -- local paladinvoc = 11 -- 11 number is the vocation id of a epic royal paladin in vocations.xml -- local knightvoc = 12 -- 12 number is the vocation id of an epic elite knight in vocations.xml -- local svoc = 5 local dvoc = 6 local pvoc = 7 local kvoc = 8 local outfitSorc = -- sorcerer new outfit after transformation -- { lookType = 130, lookHead = 19, lookBody = 71, lookLegs = 128, lookFeet = 128, lookAddons = 3 } local outfitDruid = -- druid new outfit after transformation -- { lookType = 63, lookHead = 20, lookBody = 30, lookLegs = 40, lookFeet = 50, lookAddons = 3 } local outfitPaladin = -- paladin new outfit after transformation -- { lookType = 129, lookHead = 95, lookBody = 116, lookLegs = 121, lookFeet = 115, lookAddons = 3 } local outfitKnight = -- knight new outfit after transformation -- { lookType = 131, lookHead = 95, lookBody = 95, lookLegs = 95, lookFeet = 95, lookAddons = 3 } -- warning do not modify these settings, unless you want to take mana from player -- local manatimeinterval = 1000 -- time interval (miliseconds) -- local numberofmanaused = 0 -- number of mana used or added up during time interval -- local mananeededtoexec = 0 -- number of mana needed to execute script, keep this setting this 0 -- local warnplaya = 1 -- warns player when runing out of mana, 1 = yes -- local numberofmanatriggerwarn = 20 -- number of mana that triggers the warnings -- local sorcerfirsteffect = CONST_ME_ENERGYAREA local sorcersecondeffect = CONST_ME_BLOCKHIT local sorcerflingeffect = CONST_ANI_SMALLHOLY local sorcerlandeffect = CONST_ME_TELEPORT local sorcerringwaste = CONST_ME_FIREWORK_YELLOW local sorcerringsorb = CONST_ME_FIREATTACK local druidfirsteffect = CONST_ME_ICEATTACK local druidsecondeffect = CONST_ME_ICETORNADO local druidflingeffect = CONST_ME_ICETORNADO local druidlandeffect = CONST_ME_ICETORNADO local druidringwaste = CONST_ME_FIREWORK_BLUE local druidringsorb = CONST_ME_MAGIC_BLUE local knightfirsteffect = CONST_ME_EXPLOSIONAREA local knightsecondeffect = CONST_ME_FIREAREA local knightflingeffect = CONST_ANI_FIRE local knightlandeffect = CONST_ME_FIREWORK_RED local knightringwaste = CONST_ME_FIREWORK_RED local knightringsorb = CONST_ME_MAGIC_RED local paladinfirsteffect = CONST_ME_YELLOW_RINGS local paladinsecondeffect = CONST_ME_BLOCKHIT local paladinflingeffect = CONST_ANI_SMALLHOLY local paladinlandeffect = CONST_ME_HOLYAREA local paladinringwaste = CONST_ME_FIREWORK_YELLOW local paladinringsorb = CONST_ME_MAGIC_GREEN -- skills of the sorcerer after transformation -- local sorcerercondition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(sorcerercondition, CONDITION_PARAM_TICKS, -1) -- the -1 is to allow conditions to run forever - setConditionParam(sorcerercondition, CONDITION_PARAM_SKILL_SHIELD, 20) -- add 50 shielding to current shield skill -- setConditionParam(sorcerercondition, CONDITION_PARAM_STAT_MAGICLEVEL, 35) -- add 100 levels of magic to the player's current magic level -- setConditionParam(sorcerercondition, CONDITION_PARAM_STAT_MAXHEALTH, 100) -- add 100 health to the player's current hp -- setConditionParam(sorcerercondition, CONDITION_PARAM_STAT_MAXMANA, 700) -- add 5000 mana to the players current mana -- -- skills of the druid after transformation -- local druidcondition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(druidcondition, CONDITION_PARAM_TICKS, -1) setConditionParam(druidcondition, CONDITION_PARAM_SKILL_SHIELD, 20) setConditionParam(druidcondition, CONDITION_PARAM_STAT_MAGICLEVEL, 35) setConditionParam(druidcondition, CONDITION_PARAM_STAT_MAXHEALTH, 100) setConditionParam(druidcondition, CONDITION_PARAM_STAT_MAXMANA, 700) -- skills of the paladin after transformation -- local paladincondition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(paladincondition, CONDITION_PARAM_TICKS, -1) setConditionParam(paladincondition, CONDITION_PARAM_SKILL_DISTANCE, 35) setConditionParam(paladincondition, CONDITION_PARAM_SKILL_SHIELD, 30) setConditionParam(paladincondition, CONDITION_PARAM_STAT_MAGICLEVEL, 15) setConditionParam(paladincondition, CONDITION_PARAM_STAT_MAXHEALTH, 400) setConditionParam(paladincondition, CONDITION_PARAM_STAT_MAXMANA, 350) -- skills of the knight after transformation -- local knightcondition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(knightcondition, CONDITION_PARAM_TICKS, -1) setConditionParam(knightcondition, CONDITION_PARAM_SKILL_FIST, 50) setConditionParam(knightcondition, CONDITION_PARAM_SKILL_CLUB, 50) setConditionParam(knightcondition, CONDITION_PARAM_SKILL_SWORD, 50) setConditionParam(knightcondition, CONDITION_PARAM_SKILL_AXE, 50) setConditionParam(knightcondition, CONDITION_PARAM_SKILL_SHIELD, 75) setConditionParam(knightcondition, CONDITION_PARAM_STAT_MAGICLEVEL, 10) setConditionParam(knightcondition, CONDITION_PARAM_STAT_MAXHEALTH, 1000) setConditionParam(knightcondition, CONDITION_PARAM_STAT_MAXMANA, 250) -- settings for health and mana regeneration per second -- local sorcererregen = createConditionObject(CONDITION_REGENERATION) setConditionParam(sorcererregen, CONDITION_PARAM_TICKS, -1) setConditionParam(sorcererregen, CONDITION_PARAM_HEALTHGAIN, 35) -- the players health will regenerate at 100 hp per second -- setConditionParam(sorcererregen, CONDITION_PARAM_MANAGAIN, 150) -- the players mana will regenerate at 500 mana per second -- local druidregen = createConditionObject(CONDITION_REGENERATION) setConditionParam(druidregen, CONDITION_PARAM_TICKS, -1) setConditionParam(druidregen, CONDITION_PARAM_HEALTHGAIN, 35) setConditionParam(druidregen, CONDITION_PARAM_MANAGAIN, 150) local paladinregen = createConditionObject(CONDITION_REGENERATION) setConditionParam(paladinregen, CONDITION_PARAM_TICKS, -1) setConditionParam(paladinregen, CONDITION_PARAM_HEALTHGAIN, 100) setConditionParam(paladinregen, CONDITION_PARAM_MANAGAIN, 100) local knightregen = createConditionObject(CONDITION_REGENERATION) setConditionParam(knightregen, CONDITION_PARAM_TICKS, -1) setConditionParam(knightregen, CONDITION_PARAM_HEALTHGAIN, 150) setConditionParam(knightregen, CONDITION_PARAM_MANAGAIN, 50) local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition2 = createConditionObject(CONDITION_HASTE) -- Auto super haste -- setConditionParam(condition2, CONDITION_PARAM_TICKS, -1) setConditionFormula(condition2, 2.5, 0, 3.0, 0) setCombatCondition(combat, condition2) local condition3 = createConditionObject(CONDITION_MANASHIELD) -- Auto mana shield -- setConditionParam(condition3, CONDITION_PARAM_TICKS, -1) setCombatCondition(combat, condition3) function superform1(param) if param.crca == 1 then local cointype = getPlayerMaxMana(param.cid) local pos = getCreaturePosition(param.cid) local voca = getPlayerVocation(param.cid) local nha = {x = pos.x, y = pos.y - 3, z = pos.z, stackpos = 255} local sha = {x = pos.x, y = pos.y + 3, z = pos.z, stackpos = 255} local wha = {x = pos.x - 3, y = pos.y, z = pos.z, stackpos = 255} local eha = {x = pos.x + 3, y = pos.y, z = pos.z, stackpos = 255} local nwa = {x = pos.x - 2, y = pos.y - 2, z = pos.z, stackpos = 255} local nea = {x = pos.x + 2, y = pos.y - 2, z = pos.z, stackpos = 255} local sea = {x = pos.x + 2, y = pos.y + 2, z = pos.z, stackpos = 255} local swa = {x = pos.x - 2, y = pos.y + 2, z = pos.z, stackpos = 255} if voca == 9 then doSendMagicEffect(pos, sorcerfirsteffect) doSendMagicEffect(pos, sorcersecondeffect) doSendDistanceShoot(pos, nha, sorcerflingeffect) doSendDistanceShoot(pos, sha, sorcerflingeffect) doSendDistanceShoot(pos, wha, sorcerflingeffect) doSendDistanceShoot(pos, eha, sorcerflingeffect) doSendDistanceShoot(pos, nwa, sorcerflingeffect) doSendDistanceShoot(pos, nea, sorcerflingeffect) doSendDistanceShoot(pos, sea, sorcerflingeffect) doSendDistanceShoot(pos, swa, sorcerflingeffect) doSendMagicEffect(nha, sorcerlandeffect) doSendMagicEffect(sha, sorcerlandeffect) doSendMagicEffect(wha, sorcerlandeffect) doSendMagicEffect(eha, sorcerlandeffect) doSendMagicEffect(nwa, sorcerlandeffect) doSendMagicEffect(nea, sorcerlandeffect) doSendMagicEffect(sea, sorcerlandeffect) doSendMagicEffect(swa, sorcerlandeffect) doSetCreatureOutfit(param.cid, outfitSorc, -1) -- set new vocation outfit -- doAddCondition(param.cid, sorcerercondition) -- add skills and magic level to new vocation - doAddCondition(param.cid, condition3) -- add auto mana shield to new vocation -- doAddCondition(param.cid, sorcererregen) -- add regeneration to new vocation -- else if voca == 10 then doSendMagicEffect(pos, druidfirsteffect) doSendMagicEffect(pos, druidsecondeffect) doSendDistanceShoot(pos, nha, druidflingeffect) doSendDistanceShoot(pos, sha, druidflingeffect) doSendDistanceShoot(pos, wha, druidflingeffect) doSendDistanceShoot(pos, eha, druidflingeffect) doSendDistanceShoot(pos, nwa, druidflingeffect) doSendDistanceShoot(pos, nea, druidflingeffect) doSendDistanceShoot(pos, sea, druidflingeffect) doSendDistanceShoot(pos, swa, druidflingeffect) doSendMagicEffect(nha, druidlandeffect) doSendMagicEffect(sha, druidlandeffect) doSendMagicEffect(wha, druidlandeffect) doSendMagicEffect(eha, druidlandeffect) doSendMagicEffect(nwa, druidlandeffect) doSendMagicEffect(nea, druidlandeffect) doSendMagicEffect(sea, druidlandeffect) doSendMagicEffect(swa, druidlandeffect) doSetCreatureOutfit(param.cid, outfitDruid, -1) -- set new vocation outfit -- doAddCondition(param.cid, druidcondition) -- add skills and magic level to new vocation -- doAddCondition(param.cid, condition3) -- add auto mana shield to new vocation -- doAddCondition(param.cid, druidregen) -- add regeneration to new vocation -- else if voca == 11 then doSendMagicEffect(pos, paladinfirsteffect) doSendMagicEffect(pos, paladinsecondeffect) doSendDistanceShoot(pos, nha, paladinflingeffect) doSendDistanceShoot(pos, sha, paladinflingeffect) doSendDistanceShoot(pos, wha, paladinflingeffect) doSendDistanceShoot(pos, eha, paladinflingeffect) doSendDistanceShoot(pos, nwa, paladinflingeffect) doSendDistanceShoot(pos, nea, paladinflingeffect) doSendDistanceShoot(pos, sea, paladinflingeffect) doSendDistanceShoot(pos, swa, paladinflingeffect) doSendMagicEffect(nha, paladinlandeffect) doSendMagicEffect(sha, paladinlandeffect) doSendMagicEffect(wha, paladinlandeffect) doSendMagicEffect(eha, paladinlandeffect) doSendMagicEffect(nwa, paladinlandeffect) doSendMagicEffect(nea, paladinlandeffect) doSendMagicEffect(sea, paladinlandeffect) doSendMagicEffect(swa, paladinlandeffect) doSetCreatureOutfit(param.cid, outfitPaladin, -1) -- set new vocation outfit -- doAddCondition(param.cid, paladincondition) -- add skills and magic level to new vocation -- doAddCondition(param.cid, paladinregen) -- add regeneration to new vocation -- else if voca == 12 then doSendMagicEffect(pos, knightfirsteffect) doSendMagicEffect(pos, knightsecondeffect) doSendDistanceShoot(pos, nha, knightflingeffect) doSendDistanceShoot(pos, sha, knightflingeffect) doSendDistanceShoot(pos, wha, knightflingeffect) doSendDistanceShoot(pos, eha, knightflingeffect) doSendDistanceShoot(pos, nwa, knightflingeffect) doSendDistanceShoot(pos, nea, knightflingeffect) doSendDistanceShoot(pos, sea, knightflingeffect) doSendDistanceShoot(pos, swa, knightflingeffect) doSendMagicEffect(nha, knightlandeffect) doSendMagicEffect(sha, knightlandeffect) doSendMagicEffect(wha, knightlandeffect) doSendMagicEffect(eha, knightlandeffect) doSendMagicEffect(nwa, knightlandeffect) doSendMagicEffect(nea, knightlandeffect) doSendMagicEffect(sea, knightlandeffect) doSendMagicEffect(swa, knightlandeffect) doSetCreatureOutfit(param.cid, outfitKnight, -1) -- set new vocation outfit -- doAddCondition(param.cid, knightcondition) -- add skills and magic level to new vocation -- doAddCondition(param.cid, knightregen) -- add regeneration to new vocation -- end end end end doAddCondition(param.cid, condition2) -- add super haste to all new vocations -- local mhp = getCreatureMaxHealth(param.cid) local mma = getPlayerMaxMana(param.cid) local chp = getCreatureHealth(param.cid) local cma = getPlayerMana(param.cid) local dhp = mhp - chp local dma = mma - cma doCreatureAddHealth(param.cid, dhp) doPlayerAddMana(param.cid, dma) param.crcb = 1 param.voca = voca setPlayerStorageValue(param.cid, 50781, 1) addEvent(superform2, 1, param) end end function superform2(param) if param.crca == 1 and param.crcb == 1 and isCreature(param.cid) == TRUE and getPlayerStorageValue(param.cid, 50781) == 1 then local pos = getCreaturePosition(param.cid) doPlayerAddMana(param.cid, numberofmanaused) -- this function is global and effects all vocations equally, setting it to negative will remove mana -- if param.voca == 9 then doSendMagicEffect(pos, sorcerringwaste) doSendMagicEffect(pos, sorcerringsorb) else if param.voca == 10 then doSendMagicEffect(pos, druidringwaste) doSendMagicEffect(pos, druidringsorb) else if param.voca == 11 then doSendMagicEffect(pos, paladinringwaste) doSendMagicEffect(pos, paladinringsorb) else if param.voca == 12 then doSendMagicEffect(pos, knightringwaste) doSendMagicEffect(pos, knightringsorb) end end end end local manaleft = getPlayerMana(param.cid) if manaleft < numberofmanatriggerwarn then -- if numberofmanaused is not set to 0 then this condition will activate based on if current mana is less then numberofmanatriggerwarn's value -- end if manaleft < numberofmanaused then -- this is a fail safe if the mana becomes a negative value or if u assign a + or - to it then it will destroy the ring, im sure a better routine can be written for this -- param.crca = 0 param.crcb = 0 setPlayerStorageValue(param.cid, 50781, 0) -- removes storage value of transformation -- old = getPlayerStorageValue(cid, storage) -- get players old vocation and assign it to old -- doPlayerSetVocation(cid,old) -- set players vocation using old's value -- setPlayerStorageValue(cid, 18009, 0) -- removes storage value -- doPlayerRemoveItem(param.cid, 7708) -- destroys the ring -- local pos = getCreaturePosition(param.cid) local nha = {x = pos.x, y = pos.y - 3, z = pos.z, stackpos = 255} local sha = {x = pos.x, y = pos.y + 3, z = pos.z, stackpos = 255} local wha = {x = pos.x - 3, y = pos.y, z = pos.z, stackpos = 255} local eha = {x = pos.x + 3, y = pos.y, z = pos.z, stackpos = 255} local nwa = {x = pos.x - 2, y = pos.y - 2, z = pos.z, stackpos = 255} local nea = {x = pos.x + 2, y = pos.y - 2, z = pos.z, stackpos = 255} local sea = {x = pos.x + 2, y = pos.y + 2, z = pos.z, stackpos = 255} local swa = {x = pos.x - 2, y = pos.y + 2, z = pos.z, stackpos = 255} -- removes the outfit, attributes, super haste, mana shield, hp/mp regeneration -- doRemoveCondition(param.cid, CONDITION_OUTFIT) doRemoveCondition(param.cid, CONDITION_ATTRIBUTES) doRemoveCondition(param.cid, CONDITION_HASTE) doRemoveCondition(param.cid, CONDITION_MANASHIELD) doRemoveCondition(param.cid, CONDITION_REGENERATION) if (isPlayer(param.cid) == FALSE) then param.crca = 0 param.crcb = 0 setPlayerStorageValue(param.cid, 50781, 0) -- removes storage value of transformation -- old = getPlayerStorageValue(cid, storage) -- get players old vocation and assign it to old -- doPlayerSetVocation(cid,old) -- set players vocation using old's value -- setPlayerStorageValue(cid, 18009, 0) -- removes storage value -- end if param.voca == 9 then doSendMagicEffect(pos, sorcerfirsteffect) doSendMagicEffect(pos, sorcersecondeffect) doSendDistanceShoot(pos, nha, sorcerflingeffect) doSendDistanceShoot(pos, sha, sorcerflingeffect) doSendDistanceShoot(pos, wha, sorcerflingeffect) doSendDistanceShoot(pos, eha, sorcerflingeffect) doSendDistanceShoot(pos, nwa, sorcerflingeffect) doSendDistanceShoot(pos, nea, sorcerflingeffect) doSendDistanceShoot(pos, sea, sorcerflingeffect) doSendDistanceShoot(pos, swa, sorcerflingeffect) doSendMagicEffect(nha, sorcerlandeffect) doSendMagicEffect(sha, sorcerlandeffect) doSendMagicEffect(wha, sorcerlandeffect) doSendMagicEffect(eha, sorcerlandeffect) doSendMagicEffect(nwa, sorcerlandeffect) doSendMagicEffect(nea, sorcerlandeffect) doSendMagicEffect(sea, sorcerlandeffect) doSendMagicEffect(swa, sorcerlandeffect) else if param.voca == 10 then doSendMagicEffect(pos, druidfirsteffect) doSendMagicEffect(pos, druidsecondeffect) doSendDistanceShoot(pos, nha, druidflingeffect) doSendDistanceShoot(pos, sha, druidflingeffect) doSendDistanceShoot(pos, wha, druidflingeffect) doSendDistanceShoot(pos, eha, druidflingeffect) doSendDistanceShoot(pos, nwa, druidflingeffect) doSendDistanceShoot(pos, nea, druidflingeffect) doSendDistanceShoot(pos, sea, druidflingeffect) doSendDistanceShoot(pos, swa, druidflingeffect) doSendMagicEffect(nha, druidlandeffect) doSendMagicEffect(sha, druidlandeffect) doSendMagicEffect(wha, druidlandeffect) doSendMagicEffect(eha, druidlandeffect) doSendMagicEffect(nwa, druidlandeffect) doSendMagicEffect(nea, druidlandeffect) doSendMagicEffect(sea, druidlandeffect) doSendMagicEffect(swa, druidlandeffect) else if param.voca == 11 then doSendMagicEffect(pos, paladinfirsteffect) doSendMagicEffect(pos, paladinsecondeffect) doSendDistanceShoot(pos, nha, paladinflingeffect) doSendDistanceShoot(pos, sha, paladinflingeffect) doSendDistanceShoot(pos, wha, paladinflingeffect) doSendDistanceShoot(pos, eha, paladinflingeffect) doSendDistanceShoot(pos, nwa, paladinflingeffect) doSendDistanceShoot(pos, nea, paladinflingeffect) doSendDistanceShoot(pos, sea, paladinflingeffect) doSendDistanceShoot(pos, swa, paladinflingeffect) doSendMagicEffect(nha, paladinlandeffect) doSendMagicEffect(sha, paladinlandeffect) doSendMagicEffect(wha, paladinlandeffect) doSendMagicEffect(eha, paladinlandeffect) doSendMagicEffect(nwa, paladinlandeffect) doSendMagicEffect(nea, paladinlandeffect) doSendMagicEffect(sea, paladinlandeffect) doSendMagicEffect(swa, paladinlandeffect) else if param.voca == 12 then doSendMagicEffect(pos, knightfirsteffect) doSendMagicEffect(pos, knightsecondeffect) doSendDistanceShoot(pos, nha, knightflingeffect) doSendDistanceShoot(pos, sha, knightflingeffect) doSendDistanceShoot(pos, wha, knightflingeffect) doSendDistanceShoot(pos, eha, knightflingeffect) doSendDistanceShoot(pos, nwa, knightflingeffect) doSendDistanceShoot(pos, nea, knightflingeffect) doSendDistanceShoot(pos, sea, knightflingeffect) doSendDistanceShoot(pos, swa, knightflingeffect) doSendMagicEffect(nha, knightlandeffect) doSendMagicEffect(sha, knightlandeffect) doSendMagicEffect(wha, knightlandeffect) doSendMagicEffect(eha, knightlandeffect) doSendMagicEffect(nwa, knightlandeffect) doSendMagicEffect(nea, knightlandeffect) doSendMagicEffect(sea, knightlandeffect) doSendMagicEffect(swa, knightlandeffect) end end end end else addEvent(superform2, manatimeinterval, param) -- call superform2 based on manatimeinterval settings -- end end end function onEquip(cid, item, slot) local param = {cid = cid, item = item, slot = slot} local currentmana = getPlayerMana(cid) -- get players current mana -- if currentmana >= mananeededtoexec then -- check to see if the players current mana is greater then or equal to mana needed to transform player -- local temp = getPlayerVocation(cid) -- get players voc and store it in temp -- if temp == 9 then doPlayerSetVocation(cid,svoc) -- this will prevent people from loggin out and logging in with their new vocation being saved else if temp == 10 then doPlayerSetVocation(cid,dvoc) else if temp == 11 then doPlayerSetVocation(cid,pvoc) else if temp == 12 then doPlayerSetVocation(cid,kvoc) end end end end local tempvoc = getPlayerVocation(cid) -- get players voc and store it in temp -- setPlayerStorageValue(cid, storage, getPlayerVocation(cid)) -- store players voc in storage for later use -- if (tempvoc == 1 or tempvoc == 5) then -- these if and else if statements will check the current voc prior to transformation -- doPlayerSetVocation(cid,sorcerervoc) -- if the players vocation == tempvoc then a new vocation will be assigned to the player -- else if (tempvoc == 2 or tempvoc == 6) then doPlayerSetVocation(cid,druidvoc) else if (tempvoc == 3 or tempvoc == 7) then doPlayerSetVocation(cid,paladinvoc) else if (tempvoc == 4 or tempvoc == 8) then doPlayerSetVocation(cid,knightvoc) end end end end local pos = getPlayerPosition(cid) doCreatureSay(cid, "Rutilus Vox", TALKTYPE_ORANGE_1) -- do animated text while transformation takes place -- param.crca = 1 addEvent(superform1, 1, param) -- call the function superform1 immediately -- end return TRUE end function onDeEquip(cid, item, slot) if isPlayer(cid) and getPlayerStorageValue(cid, 50781) == 1 then old = getPlayerStorageValue(cid, storage) -- get players old vocation and assign it to old -- doPlayerSetVocation(cid,old) -- set players vocation using old's value -- setPlayerStorageValue(cid, 18009, 0) -- remove vocation -- removes the outfit, attributes, super haste, mana shield, hp/mp regeneration -- doTransformItem(item.uid, item.itemid - 11) doRemoveCondition(cid, CONDITION_OUTFIT) doRemoveCondition(cid, CONDITION_ATTRIBUTES) doRemoveCondition(cid, CONDITION_HASTE) doRemoveCondition(cid, CONDITION_MANASHIELD) doRemoveCondition(cid, CONDITION_REGENERATION) local temptwo = getPlayerVocation(cid) -- get players voc and store it in temp -- if temptwo == 9 then doPlayerSetVocation(cid,svoc) -- just incase they die and loose the ring they will not keep the new voc - else if temptwo == 10 then doPlayerSetVocation(cid,dvoc) else if temptwo == 11 then doPlayerSetVocation(cid,pvoc) else if temptwo == 12 then doPlayerSetVocation(cid,kvoc) end end end end local pos = getCreaturePosition(cid) doCreatureSay(cid, "Aufero Meus Donum", TALKTYPE_ORANGE_1) -- do animated text while de-transformation takes place -- setPlayerStorageValue(cid, 50781, 0) -- removes storage value of transformation -- local voca = getPlayerVocation(cid) local nha = {x = pos.x, y = pos.y - 3, z = pos.z, stackpos = 255} local sha = {x = pos.x, y = pos.y + 3, z = pos.z, stackpos = 255} local wha = {x = pos.x - 3, y = pos.y, z = pos.z, stackpos = 255} local eha = {x = pos.x + 3, y = pos.y, z = pos.z, stackpos = 255} local nwa = {x = pos.x - 2, y = pos.y - 2, z = pos.z, stackpos = 255} local nea = {x = pos.x + 2, y = pos.y - 2, z = pos.z, stackpos = 255} local sea = {x = pos.x + 2, y = pos.y + 2, z = pos.z, stackpos = 255} local swa = {x = pos.x - 2, y = pos.y + 2, z = pos.z, stackpos = 255} if voca == 1 or voca == 5 then doSendMagicEffect(pos, sorcerfirsteffect) doSendMagicEffect(pos, sorcersecondeffect) doSendDistanceShoot(pos, nha, sorcerflingeffect) doSendDistanceShoot(pos, sha, sorcerflingeffect) doSendDistanceShoot(pos, wha, sorcerflingeffect) doSendDistanceShoot(pos, eha, sorcerflingeffect) doSendDistanceShoot(pos, nwa, sorcerflingeffect) doSendDistanceShoot(pos, nea, sorcerflingeffect) doSendDistanceShoot(pos, sea, sorcerflingeffect) doSendDistanceShoot(pos, swa, sorcerflingeffect) doSendMagicEffect(nha, sorcerlandeffect) doSendMagicEffect(sha, sorcerlandeffect) doSendMagicEffect(wha, sorcerlandeffect) doSendMagicEffect(eha, sorcerlandeffect) doSendMagicEffect(nwa, sorcerlandeffect) doSendMagicEffect(nea, sorcerlandeffect) doSendMagicEffect(sea, sorcerlandeffect) doSendMagicEffect(swa, sorcerlandeffect) else if voca == 2 or voca == 6 then doSendMagicEffect(pos, druidfirsteffect) doSendMagicEffect(pos, druidsecondeffect) doSendDistanceShoot(pos, nha, druidflingeffect) doSendDistanceShoot(pos, sha, druidflingeffect) doSendDistanceShoot(pos, wha, druidflingeffect) doSendDistanceShoot(pos, eha, druidflingeffect) doSendDistanceShoot(pos, nwa, druidflingeffect) doSendDistanceShoot(pos, nea, druidflingeffect) doSendDistanceShoot(pos, sea, druidflingeffect) doSendDistanceShoot(pos, swa, druidflingeffect) doSendMagicEffect(nha, druidlandeffect) doSendMagicEffect(sha, druidlandeffect) doSendMagicEffect(wha, druidlandeffect) doSendMagicEffect(eha, druidlandeffect) doSendMagicEffect(nwa, druidlandeffect) doSendMagicEffect(nea, druidlandeffect) doSendMagicEffect(sea, druidlandeffect) doSendMagicEffect(swa, druidlandeffect) else if voca == 3 or voca == 7 then doSendMagicEffect(pos, paladinfirsteffect) doSendMagicEffect(pos, paladinsecondeffect) doSendDistanceShoot(pos, nha, paladinflingeffect) doSendDistanceShoot(pos, sha, paladinflingeffect) doSendDistanceShoot(pos, wha, paladinflingeffect) doSendDistanceShoot(pos, eha, paladinflingeffect) doSendDistanceShoot(pos, nwa, paladinflingeffect) doSendDistanceShoot(pos, nea, paladinflingeffect) doSendDistanceShoot(pos, sea, paladinflingeffect) doSendDistanceShoot(pos, swa, paladinflingeffect) doSendMagicEffect(nha, paladinlandeffect) doSendMagicEffect(sha, paladinlandeffect) doSendMagicEffect(wha, paladinlandeffect) doSendMagicEffect(eha, paladinlandeffect) doSendMagicEffect(nwa, paladinlandeffect) doSendMagicEffect(nea, paladinlandeffect) doSendMagicEffect(sea, paladinlandeffect) doSendMagicEffect(swa, paladinlandeffect) else if voca == 4 or voca == 8 then doSendMagicEffect(pos, knightfirsteffect) doSendMagicEffect(pos, knightsecondeffect) doSendDistanceShoot(pos, nha, knightflingeffect) doSendDistanceShoot(pos, sha, knightflingeffect) doSendDistanceShoot(pos, wha, knightflingeffect) doSendDistanceShoot(pos, eha, knightflingeffect) doSendDistanceShoot(pos, nwa, knightflingeffect) doSendDistanceShoot(pos, nea, knightflingeffect) doSendDistanceShoot(pos, sea, knightflingeffect) doSendDistanceShoot(pos, swa, knightflingeffect) doSendMagicEffect(nha, knightlandeffect) doSendMagicEffect(sha, knightlandeffect) doSendMagicEffect(wha, knightlandeffect) doSendMagicEffect(eha, knightlandeffect) doSendMagicEffect(nwa, knightlandeffect) doSendMagicEffect(nea, knightlandeffect) doSendMagicEffect(sea, knightlandeffect) doSendMagicEffect(swa, knightlandeffect) end end end end end end em movements.xml cole isto: <!-- Epic --> <movevent type="Equip" itemid="7697" slot="ring" function="onEquipItem"/> <movevent type="Equip" itemid="7708" slot="ring" function="onEquipItem" script="epic.lua"/> <movevent type="DeEquip" itemid="7708" slot="ring" function="onDeEquipItem" script="epic.lua"/> agora em data/XML/vocations substitua tudo oque tem dentro por isso: <?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="750" 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" 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="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="750" 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" 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="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="750" 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" 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="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="5" gainmanaticks="4" gainmanaamount="5" manamultiplier="1.4" attackspeed="600" 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" 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="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="5" gainmanaticks="6" gainmanaamount="5" manamultiplier="3.0" attackspeed="600" 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" 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="Master Sorcerer" description="a master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="500" 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" 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="Elder Druid" description="an elder druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="500" 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" 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="Royal Paladin" description="a royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="350" 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" 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="Elite Knight" description="an elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="350" 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" 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="Epic Master Sorcerer" description="an epic master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="400" soulmax="200" gainsoulticks="15" fromvoc="5" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="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="10" name="Epic Elder Druid" description="an epic elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="10" gainmanaticks="2" gainmanaamount="10" manamultiplier="1.1" attackspeed="400" soulmax="200" gainsoulticks="15" fromvoc="6" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="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="11" name="Epic Royal Paladin" description="an epic royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="10" gainmanaticks="3" gainmanaamount="10" manamultiplier="1.4" attackspeed="250" soulmax="200" gainsoulticks="15" fromvoc="7" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="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="12" name="Epic Elite Knight" description="an epic elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="10" gainmanaticks="4" gainmanaamount="10" manamultiplier="3.0" attackspeed="250" soulmax="200" gainsoulticks="15" fromvoc="8" lessloss="50"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="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> </vocations> Em items.xml substitua no ID:7697 por isso: </item> <item id="7697" article="a" name="Transform Epic Ring"> <attribute key="weight" value="40"/> <attribute key="slotType" value="ring"/> <attribute key="transformEquipTo" value="7708"/> <attribute key="showduration" value="1"/> <attribute key="stopduration" value="1"/> Fim & creditos ao Molinero!
-
ali o tapete e os sofas,aonde ta o tapete vermelho,aquela bancada ali do lado é aonde o bial aparece,tipo bota um npc ali chamado bial AUHHUAA abçs !
-
Hoje eu tava dormindo e veio uma ideia de fazer 2 mapas. 1 era do formato do Xtibia e outro da casa do bbb10,fiz os 2 mais não estão muito bom,mais vou postar mesmo assim. Mapa Xtibia: SEM NADA: Um Pouco Arrumado,mas feio: Casa do BBB: Não fico muito parecida,mais lembra um pouco: OBS:O DOWNLOAD DO MAPA DO XTIBIA,NAO FUNCIONOU MAIS O DO BBB TA AÍ ! link do bbb! ABÇS !
-
Hoje eu tava mechendo no ot,e comecei a pensa em CS. De repente pensei na he. E resolvi fazer uma coisa. Não sei se já existe,é bem simples,vamo lá ! Acho que o hit está um pouco exagerado,qualquer coisa mude-o ! vá em data/spells/scripts copie qualquer arquivo e renomeio para granada.lua e cole isto: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 600, -1000, 9.9, -100) local area = createCombatArea(AREA_CROSS1X1) setCombatArea(combat, area) function onCastSpell(cid, var) local target = getCreatureTarget(cid) doSendAnimatedText(getThingPos(target), ' Bum', 1) return doCombat(cid, combat, var) end agora em spells.xml cole isto: </instant> <instant name="Granada" words="Olha a Bomba !" lvl="100" mana="250" prem="1" range="5" casterTargetOrDirection="1" blockwalls="1" exhaustion="2000" needlearn="0" script="granada.lua"> <vocation name="Knight" /> <vocation name="Elite Knight" /> <vocation name="Paladin"/> <vocation name="Royal Paladin" /> </instant> OBS:FALE Olha a Bomba ! que a magia soltara. Se preferir em runa cole isto: <rune name="Granada" id="2307" allowfaruse="1" charges="10" lvl="27" exhaustion="2000" maglv="4" needtarget="1" blocktype="solid" script="granada.lua"/> Eu prefiro na magia mesmo. OBS & Creditos: eu peguei uma magia daqui do forum eu acho,chamada Pedrada,nao lembro o autor,creditos pra ele,eu só modifiquei. bjs !
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.