Ir para conteúdo
  • Cadastre-se

Fabi Marzan

Membro
  • Total de itens

    177
  • Registro em

  • Última visita

  • Dias Ganhos

    6

Tudo que Fabi Marzan postou

  1. local function No_Move_Target(cid) local target = getCreatureTarget(cid) if isCreature(target) then doCreatureSetNoMove(target, false) mayNotMove(target, false) end return TRUE end local function No_Move_Target_2(cid) local target = getCreatureTarget(cid) if isCreature(target) then doCreatureSetNoMove(target, true) mayNotMove(target, true) end return TRUE end function onCastSpell(cid, var) local target = getCreatureTarget(cid) local targetpos = getCreaturePosition(target) local efepos = {x=targetpos.x, y=targetp
  2. local function No_Move_Target_2(cid) local target = getCreatureTarget(cid) if isCreature(target) then doCreatureSetNoMove(target, true) end return TRUE end addEvent(No_Move_Target_2, time*1500, cid) Se não funcionar, use este outro: mayNotMove(target, true) mayNotMove(target, false)
  3. @daniel.braga989 Se você notar, quando você parar de atacar o efeito para, não dá erro, mas para quando perde o alvo. @daniel.braga989 Os scripts que eu te passo, resolvem todos esses problemas apenas usando essas funções. function effect_1(cid, target) -- NOME DO FUCTION (EFFECT_1) if isCreature(cid) and isCreature(target) then local pos = getCreaturePosition(target) doSendMagicEffect({x = pos.x + 0, y = pos.y + 0, z = pos.z}, 32) -- Effect end end Abaixo do function onCastSpell(cid, var) Você coloca isso: local config = { hit = 1, -- Hits que vai dar time
  4. Agr sim: -------Created:FABIAN MARZAN/ DISCORD: SoyFabi#5938------- ---------SCRIPTS--------- -----------FOR--------- ----------NARUTO------- local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_HITCOLOR, 95) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 205) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -42000, -1.0, -46000) local function onCastSpell1(parameters) doCombat(parameters.cid, p
  5. @daniel.braga989 Na verdade quando comecei a editar Jutsus, tive o mesmo problema e não consegui encontrar outra forma, até que depois de um tempo encontrei outro script que resolve esse problema. -------Created:FABIAN MARZAN/ DISCORD: SoyFabi#5938------- ---------SCRIPTS--------- -----------FOR--------- ----------NARUTO------- local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_HITCOLOR, 95) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 205) setCombatParam
  6. mas isso já é um problema do sprite... a roupa que você tem, não está centrada para dizer.
  7. Eles podem ajudá-lo facilmente se você colocar um script inicial. 860? 0.X...?
  8. Não entendi sua postagem, quer fazer o arco não usar flechas?
  9. Deve ir para Items.cpp } else if (it.abilities->regeneration) { s << " (faster regeneration)"; Não tenho ideia de como seria no 0.4, mas encontre o Faster Regeneration, e apague-o.
  10. @raphadoidera VC TEM COLOCAR ISSO: local pos = getCreaturePosition(cid) TESTA AGR: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -78.2, 1, -88.2, 1) arr1 = { {0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 3, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local function onCastSpell1(
  11. -------Created:FABIAN MARZAN------- ---------SCRIPTS--------- -----------FOR--------- ---------NARUTO------- local config = { time = 5, } function onCastSpell(cid, var) local waittime = 8 -- Tempo de exhaustion local storage = 50000 -- não mecha if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "You are exhausted.") --doPlayerSendCancel(cid, "Please wait " .. exhaustion.get(cid, storage) .. " seconds to use Jutsu again.") doSendMagicEffect(getCreaturePosition(cid), 2) return false end parameters = {cid=cid} setPlayerGroupId(cid, 2) doSetItemOutfit(cid, 1548, config.
  12. Esse scripts ta ussando uma funcao so pra Target. Remova isso : local target = getCreatureTarget(cid) -- efeito no alvo
  13. Existe uma maneira de fazer com que pisar no chão o levará um degrau acima? em vez de usar teletransporte .. em esse scripts? algo semelhante a uma escada que quando você clica leva você para cima sem usar um teletransporte, em movements. algo assim, mas eu quero passar para movements. local UP_FLOORS = {1386, 3678, 5543, 8599, 10035, 13010} local FIELDS = {1497, 1499, 11095, 11096} local DRAW_WELL = 1369 function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == DRAW_WELL and item.actionid ~= 100) then return false end local check =
  14. Hoje comecei a me adaptar para acomodar os monstros, mas agora há um problema em matar o monstro, agora recebo 2 erros uma é que não consigo abrir o cliente antigo (oldclient) porque diz que não foi possível encontrar o tibia.dat. e outra é que quando mato em um Otclient recebo vários erros. OTLCLIENT o erro que eu recebo quando o mato e outro erro que recebo ao abrir o otclient Tento abrir o cliente antigo e não me deixa Tentei mesmo assim, pensei que era porque não se espalhou o
  15. Olá pessoal, venho investigando como criar um spell que o oponente vai perder o alvo, mas na área, Duas pessoas estão atacando você, o que eu quero é fazer com que percam o alvo É semelhante ao spell. Mas eu preciso convertê-lo para área Versao: OTX2
  16. @Siempre feliz hmm, eu estava saber como fazer isso, quero dizer quando voce usa o spell, ele ilhe da storage 9500 neste caso. entao colocar um creaturescripts que ao receber danos do qualquer tipo, sejam montros desabilite o storage 9500. Eu usso este scripts pra invisibilidade function onCastSpell(cid, var) parameters = {cid=cid} setPlayerGroupId(cid, 2) doCreatureExecuteTalkAction(cid, "/ghost", TRUE) setPlayerStorageValue(cid, 9500, 1) -- STORAGEXX addEvent(talk, 15000, parameters) return true end function talk(parameters) doCreatureExecuteTalkAction(parameters.ci
  17. local tempo = 30 local effect = {80} local effect1 = {80} local outfit = {lookType = 3} local voc = 6 --- VOCATION local points = 20 local combat = createCombatObject() local health = 0.05 setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, points) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, points) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, points) setConditionParam(conditio
  18. Nao sei se isso vai te ajudar doCreatureAddHealth(cid, -1500)
  19. Se voce nao puder, e tao simples quanto colocar um movements. function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition) if getPlayerLevel(cid) >= 10 then -- Level to go down the ladder if item.actionid == 13528 then -- ActionId SQM (Portal, Stairs) doTeleportThing(cid, {x = 905, y = 939, z = 7}) -- Position where it will take you doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) else doPlayerSendCancel(cid, "You dont have enough level to down the stairs.") doSendMagicEffect(getPla
  20. E igual, e um outfit com efeito, nao tem outro jeito. A unica maneira seria diminuir o intervalo para 1, mas o que vejo e lento, entao voce ta ussando um TFS 0.4? Com um OTX2 isso nao aconteceria. O efeito sairia mais rapido. Ou coloque um script do repeticao no script pra tornarlo mais rapido.
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo