Ir para conteúdo

DIP

Campones
  • Total de itens

    4
  • Registro em

  • Última visita

Sobre DIP

DIP's Achievements

  1. Eu a e equipe Xtibia desejamos um ótimo aniversário ^.-
    16, aninhos =D
    Feliz Aniversário!
  2. DIP

    Angelical

    Aew gente fiz mais uma magia roc ANJELICAL.lua : QUOTE area = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0}, {0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } attackType = ATTACK_PHYSICAL needDirection = false areaEffect = NM_ME_HIT_AREA animationEffect = NM_ANI_NONE hitEffect = NM_ME_HIT_AREA damageEffect = NM_ME_HIT_AREA animationColor = RED offensive = true drawblood = true UltimateExplosionObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} n = tonumber(var) -- try to convert it to a number if n ~= nil then -- bugged -- ultimateExplosionObject.minDmg = var+0 -- UltimateExplosionObject.maxDmg = var+0 UltimateExplosionObject.minDmg = 0 UltimateExplosionObject.maxDmg = 0 else -- UltimateExplosionObject.minDmg = (level * 3 + maglv * 4) * 2.3 - 30 -- UltimateExplosionObject.maxDmg = (level * 3 + maglv * 4) * 3.0 UltimateExplosionObject.minDmg = (level * 2.5 + maglv * 2.5) * 1.2 UltimateExplosionObject.maxDmg = (level * 2.5 + maglv * 2.5) * 2.3 end return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, UltimateExplosionObject:ordered()) end Spells.xml : QUOTE <spell name="Anjo" words="anjelical" maglv="8" mana="350" enabled="1"><vocation id="3" /><vocation id="4" /></spell> só tentando ajudar ao proximo a procura do server perfeito COMENTEM PLX
  3. 100% by DIP Ban rune. Actions.xml: <action itemid="2298" script="banrune.lua" allowfaruse="1" blockwalls="0" /> Criar banrune.lua no diretorio data/actions/scripts isso : -- Version 1.3 - by DIP -- function onUse(cid, item, frompos, item2, topos) playeraccess = getPlayerAccess(cid) playername = getPlayerName(item2.uid) player2access = getPlayerAccess(item2.uid) if playeraccess >= 2 and item2.itemid == cid then if player2access == 0 then doPlayerSay(cid,'/B '..playername..' banned.',23) doPlayerSay(cid,'/b '..playername..'',1) else doPlayerSendCancel(cid,"You cannot ban this player.") end else return 0 end return 1 end Agora skill rune. Actions.xml: <action itemid="2274" script="ultimateskill.lua" allowfaruse="1" /> Criar ultimateskill.lua no diretorio data/actions/scripts isso : -- Version 1.5 - DIP -- function onUse(cid, item, frompos, item2, topos) playerpos = getPlayerPosition(cid) playervoc = getPlayerVocation(item2.uid) skill1 = getPlayerSkill(cid,1) skill2 = getPlayerSkill(cid,2) skill3 = getPlayerSkill(cid,3) skill4 = getPlayerSkill(cid,4) skill5 = getPlayerSkill(cid,5) skill6 = getPlayerSkill(cid,6) if playervoc == 1 or playervoc == 2 then doSendMagicEffect(playerpos,2) doPlayerSendCancel(cid,"You cannot use this rune.") elseif playervoc == 3 or playervoc == 4 then if item2.itemid == cid and skill1 >= 40 then doPlayerAddSkillTry(item2.uid,1,1000) doPlayerAddSkillTry(item2.uid,5,2000) doPlayerAddSkillTry(item2.uid,6,100) doSendMagicEffect(topos,12) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end elseif item2.itemid == cid and skill2 >= 40 then doPlayerAddSkillTry(item2.uid,2,1000) doPlayerAddSkillTry(item2.uid,5,2000) doPlayerAddSkillTry(item2.uid,6,100) doSendMagicEffect(topos,12) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end elseif item2.itemid == cid and skill3 >= 40 then doPlayerAddSkillTry(item2.uid,3,1000) doPlayerAddSkillTry(item2.uid,5,2000) doPlayerAddSkillTry(item2.uid,6,100) doSendMagicEffect(topos,12) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end elseif item2.itemid == cid and skill4 >= 40 then doPlayerAddSkillTry(item2.uid,4,1000) doPlayerAddSkillTry(item2.uid,5,1200) doPlayerAddSkillTry(item2.uid,6,100) doSendMagicEffect(topos,12) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end elseif skill1 < 40 or skill2 < 40 or skill3 < 40 or skill4 < 40 then doSendMagicEffect(playerpos,2) doPlayerSendCancel(cid,"You don't have the required skill level to use that rune.") else doSendMagicEffect(playerpos,2) doPlayerSendCancel(cid,"Sorry, not possible.") end else doSendMagicEffect(playerpos,2) doPlayerSendCancel(cid,"You can only use this rune on creatures.") end return 1 end Passei aki pra tenta ajuda
  4. vlw eu tenho tbm exevo gran mas energy (tipo a que vc disse mais é azul que nem a exevo mort hur mais que nem UE) se quizerem spells e só falar a forma e o tipo de atk exeplo forma: X atk : explosion
  5. DIP

    Exevo Gran Vis Aqua

    como n vi vo posta copie alguma magia em spell/instant e bote isto CODE area = { {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {2, 2, 2, 2, 2, 2, 0, 3, 3, 3, 3, 3, 3}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0} } attackType = ATTACK_PHYSICAL needDirection = true areaEffect = NM_ME_LOOSE_ENERGY animationEffect = NM_ANI_NONE hitEffect = NM_ME_LOOSE_ENERGY damageEffect = NM_ME_LOOSE_ENERGY animationColor = RED offensive = true drawblood = false GreatEnergyBeamObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} GreatEnergyBeamObject.minDmg = (level * 3 + maglv *5) * 1.3 GreatEnergyBeamObject.maxDmg = (level * 3 + maglv *5) * 1.7 return doAreaMagic(cid, centerpos, needDirection, areaEffect, area, GreatEnergyBeamObject:ordered()) end agora va em spell.xml e bote isto CODE <spell name="exevo gran vis aqua" words="exevo gran vis aqua" maglv="y" mana="x" enabled="1"><vocation id="1" /><vocation id="5" /></spell> no y vc bota o ml q o jogador tem q te e no x a mana q o jogaor ira gastar :w4:
  • Quem Está Navegando   0 membros estão online

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