Ir para conteúdo

Fabian Marzan

Membro
  • Registro em

  • Última visita

Tudo que Fabian Marzan postou

  1. entendo, nao sei como e
  2. Nao sei como e pra criar um storage, tenho aki um spell do buff que troca do outfit local tempo = 2 -- tempo em segundos. local ml = 5 -- quantos ira aumentar o skill de ML local skillfist = 1 -- quantos ira aumentar o skill de Fist local skillsword = 1 -- quantos ira aumentar o skill de Sword local skillshield = 1 -- quantos ira aumentar o skill de Shield local health = 275-- A cada 1 segundo quantos aumentar de vida local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, ml) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, skillfist) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, skillsword) setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield) setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, health) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000) setCombatCondition(combat, condition) local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 180) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -60000, -1.0, -75000) local function onCastSpell1(parameters) return isPlayer(parameters.cid) and doCombat(parameters.cid, combat1, parameters.var) end function onCastSpell(cid, var) local waittime = 2.0 -- Tempo de exhaustion local storage = 1600 -- não mecha if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Aguarde "..(exhaustion.get(cid, storage)).." segundos para usar Jutsu nuevamente.") doSendMagicEffect(getCreaturePosition(cid), 2) return false end if getPlayerStorageValue(cid, 1600) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then doCombat(cid, combat, var) setPlayerStorageValue(cid, 1600,1) -- storage verifica transformado, quando = 1 player esta transformado. doCreatureSay(cid, "Hachimon Tonkou!", TALKTYPE_ORANGE_1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Buff activado por "..tempo.." segundos!") exhaustion.set(cid, storage, waittime) local parameters = { cid = cid, var = var} for k = 1, 1 do addEvent(function() if isCreature(cid) then local outfit = {lookType = 55} doSetCreatureOutfit(cid, outfit, 15000) end end, 1 + ((k-1) * 600)) end for k = 1, 1 do addEvent(function() if isCreature(cid) then local outfit = {lookType = 56} doSetCreatureOutfit(cid, outfit, 6000) end end, 15000 + ((k-1) * 600)) end else doPlayerSendCancel(cid, "Aguarde "..(exhaustion.get(cid, storage)).." segundos para usar Jutsu nuevamente.") end end AKI DO SPELL DO ATK local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_HITCOLOR, 180) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 64) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.0, -36500, -1.0, -44600) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function BijuRasengan(cid) if isCreature(cid) and isCreature(getCreatureTarget(cid)) then local position = {x=getThingPosition(getCreatureTarget(cid)).x+2, y=getThingPosition(getCreatureTarget(cid)).y, z=getThingPosition(getCreatureTarget(cid)).z} doSendMagicEffect(position, 289) end end function onCastSpell(cid, var) local waittime = 1 -- Tempo de exhaustion local storage = 3 -- não mecha if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Usted esta cansado.") doSendMagicEffect(getCreaturePosition(cid), 2) return false end local parameters = {cid = cid, var = var, combat1 = combat1 , combat2 = combat2} for i = 1, 1 do addEvent(function() if isCreature(cid) then addEvent(onCastSpell1, 100, parameters) addEvent(BijuRasengan,100,cid) end end, 1 + ((i-1) * 650)) end exhaustion.set(cid, storage, waittime) return true end
  3. Como fazer buff que troca effecto do um Spells? Assim como ta.
  4. to buscando umo do Ping em Look.
  5. @RicK Sanchez Vc sabe editar os Skill pra trocar do nome?
  6. ai tem uma base do pokexmaster com seus modules ja!
  7. LINK DO CLIENT TA CAIDO!
  8. Mostrando Spell do Guy "Hachimon Tonkou"
  9. Vc ta ussando versao 0.4.6? ou como?
  10. N pode abrir (unsorported version), usso obj 0.4.6 q versao do tibia e? 854?
  11. Wowww Como pode abrir os Spr?
  12. alguem pode fazer esse spell pfv?
  13. Alguem sabe como pode fazer um Spells assim? troca do outfit e effect...
  14. Quero compilar um Otx 2, So ta faltando um error libboost_regex-vc140-mt-1_60.lib Alguem pode ajudar? Libraries: tfs-sdk-2.1 Boost: 1.60 MVS: 15
  15. Katon Karyu Endan.lua ^ ^ ^ READY
  16. aki mesmo tem um post ja do isso
  17. vc tem q ussar sources pra isso.
  18. Alguem sabe como criar um jutsu assim? Aki tenho os efeitos effect_48.obdeffect_292.obdeffect_293.obd

Informação Importante

Confirmação de Termo