Ir para conteúdo

matheuspeixoto12

Cavaleiro
  • Total de itens

    171
  • Registro em

  • Última visita

Tudo que matheuspeixoto12 postou

  1. dúvida sanada, podem fechar o tópico!
  2. aee funciono!! ei mais três dúvidas kk 1ª tem 1 script aqui de solta magia dai eu queria edita ele pra sai 1 efeito no target e 1 efeito em cima de mim, tem como? o script é local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 111) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -20, 5, 5, 1.4, 2.1) function onCastSpell(cid, var) return doCombat(cid, combat, var) end 2º preciso de 1 script de magia de direção sendo q pra cada direção é 1 efeito diferente no caso seria bijuu dama tipo o naruto online brasil 3º uma magia de target pode se igual o script acima, que pula em cima do target hita e o paraliza tbm! a vc entende de creaturescripts? Vlw ae por ajudar, ajudo muito msm!
  3. olá eu mudei o item no meu dat editor porém agora ele não some na minha spell de trap como arruma? o script do trap : local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_EFFECT, 13) setCombatParam(combat1, COMBAT_PARAM_CREATEITEM, 1498) local arr1 = { {0, 0, 0, 0, 0, 0, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 1, 0, 0, 0, 1, 0}, {0, 1, 0, 2, 0, 1, 0}, {0, 1, 0, 0, 0, 1, 0}, {0, 1, 1, 1, 1, 1, 0}, {0, 0, 0, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) setCombatArea(combat1, area1) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1 } addEvent(onCastSpell1, 100, parameters) end
  4. ja tentei e não deu, deve se alguma coisa nesse script pf tentem ai galera!!
  5. isso que eu falei é pra sai 1 sqm pra > http://imageshack.us/f/194/semttuloakk.png/ ajuda aeee plisssss
  6. não funcionou, ficou do mesmo geito como manda coloca imagem aqui pra eu mostra como q ta saindo
  7. ainda n resolveu meu problema, agora acho q é mais simples, alguém por favor coloca coordenadas nesse script para que o efeito saia em cima do carinha? OBS é de creaturescripts local vocs = { [2] = {effect = 208}, [3] = {effect = 208}, [4] = {effect = 13}, [5] = {effect = 176}, [7] = {effect = 219}, [8] = {effect = 219}, [9] = {effect = 219}, [10] = {effect = 219}, [13] = {effect = 13}, [12] = {effect = 13}, [14] = {effect = 179}, [16] = {effect = 13}, [17] = {effect = 230}, [18] = {effect = 219}, [19] = {effect = 210}, [20] = {effect = 198} } function onThink(cid, interval) local voc = getPlayerVocation(cid) if vocs[voc] then local efeito = vocs[voc].effect doSendMagicEffect(getCreaturePosition(cid), efeito) return true end return true end
  8. vou testar aqui se funciona eu falo, vlw por ajudar n funciono, o carinha n logo nenhum loga, não se fiz certo mas fico assim o meu login: local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") registerCreatureEvent(cid, "questLook") local vocs = { [2] = {effect = 208}, [3] = {effect = 208}, [4] = {effect = 13}, [5] = {effect = 12}, [6] = {effect = 12}, [7] = {effect = 12}, [8] = {effect = 12}, [9] = {effect = 12}, [10] = {effect = 12}, [11] = {effect = 13} } repeatFunction(doSendMagicEffect, getPlayerLevel(cid), "igual", 1000 * 4000 * 9999, 10, getCreaturePosition(cid), vocs[getPlayerVocation(cid)].effect) return true end e o lib a pasta que fiz fico com o nome voefeito e dentro function repeatFunction(func, stopfunc, sin, result, quant, ...) if tostring(sin) == "maior" then k = 0 while stopfunc < result do func(...) k = k+1 if k >= quant then return false end end end if tostring(sin) == "menor" then k = 0 while stopfunc > result do func(...) k = k+1 if k >= quant then return false end end end if tostring(sin) == "igual" then k = 0 while stopfunc ~= result do func(...) k = k+1 if k >= quant then return false end end end end
  9. Olá tenho esse script que adiciona efeito nas vocações, porém tem efeitos que não saem nos devidos lugares, então gostaria que alguém coloca-se uma pos para que o efeito saia em cima dele e se possivel coloca-se também tempo entre 1 efeito e outro!! Script: local vocs = { [2] = {effect = 208}, [3] = {effect = 208}, [4] = {effect = 13}, [5] = {effect = 12}, [6] = {effect = 12}, [7] = {effect = 12}, [8] = {effect = 12}, [9] = {effect = 12}, [10] = {effect = 12}, [11] = {effect = 13} } function onThink(cid, interval) local voc = getPlayerVocation(cid) if vocs[voc] then local efeito = vocs[voc].effect doSendMagicEffect(getCreaturePosition(cid), efeito) return true end return true end OBRIGADO POR TENTAR AJUDAR !!!
  • Quem Está Navegando   0 membros estão online

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