Ir para conteúdo

[Encerrado] [AJUDA] Jutsus De ML


noob785

Posts Recomendados

Galera, eu criei um server de naruto e estou arrumando acabei de colocar transforms 350 com a ajuda

de um bom scripter aki do xtibia, mais porém agora alguns jutsus que almentam ML não estão dando efeito

tipo efeito assim na imagem aparecer o jutsu em volta de você mais ML eles estão dando normal,

só não aparece o jutsu em volta de você , alguem sabe arrumar se puder me ajudar valeu ^^

Link para o comentário
Compartilhar em outros sites

 

 

local tempo = 60 -- tempo em segundos.

local effect = {183} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 35 -- quantos ira aumentar o skill de ML

local skillfist = 35 -- quantos ira aumentar o skill de Fist

local skillsword = 35 -- quantos ira aumentar o skill de Sword

local skillaxe = 35 -- quantos ira aumentar o skill de Axe

local skillclub = 35 -- quantos ira aumentar o skill de Club

local skilldistance = 35 -- quantos ira aumentar o skill de Distance

local skillshield = 35 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect16(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

Esse Aqui São a aura da sakura o efeito, o shanaro dela ta bugado o dela e de mais uns ai que vou colocar agora

 

 

Editado por noob785
Link para o comentário
Compartilhar em outros sites

Substitua por esse, eu adicionei mais 2 efeitos. Talvez o outro devia estar bugado! Veja se agora sai o efeito.

 

 

local tempo = 60 -- tempo em segundos.

local effect = {183,79,211} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 35 -- quantos ira aumentar o skill de ML

local skillfist = 35 -- quantos ira aumentar o skill de Fist

local skillsword = 35 -- quantos ira aumentar o skill de Sword

local skillaxe = 35 -- quantos ira aumentar o skill de Axe

local skillclub = 35 -- quantos ira aumentar o skill de Club

local skilldistance = 35 -- quantos ira aumentar o skill de Distance

local skillshield = 35 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect16(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

Link para o comentário
Compartilhar em outros sites

 

 

Esse Aqui é o do rock lee o open gates que ta bugado

 

local tempo = 60 -- tempo em segundos.

local effect = {184} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 35 -- quantos ira aumentar o skill de ML

local skillfist = 35 -- quantos ira aumentar o skill de Fist

local skillsword = 35 -- quantos ira aumentar o skill de Sword

local skillaxe = 35 -- quantos ira aumentar o skill de Axe

local skillclub = 35 -- quantos ira aumentar o skill de Club

local skilldistance = 35 -- quantos ira aumentar o skill de Distance

local skillshield = 35 -- quantos ira aumentar o skill de Shield

local health = 150 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect18(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

 

 

 

 

 

 

Esse Aqui é o do kakashi é o Mangekyo Sharingan

 

local tempo = 60 -- tempo em segundos.

local effect = {198} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1553(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1553, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Mangekyo Sharingan", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

 

 

 

Esse Aqui é o do Kankuro é o toxic smoke

 

local tempo = 60 -- tempo em segundos.

local effect = {190} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1453(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1453, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Toxic Smoke", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

 

 

 

Esse Aqui é Do Killer Bee é o Raiton Yoroi

 

local tempo = 60 -- tempo em segundos.

local effect = {176} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect557(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect557, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Raiton Yoroi", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 134)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

Link para o comentário
Compartilhar em outros sites

Não po, eu fui simplesmente na minha pasta data/spells/scripts

 

e fui na pasta com o nome de cada personagem no caso do da sakura

 

E la ta os spells dele, ai eu só substitui o meu shanaro pelo seu, e ele sumiu

 

Tipo a spell, estava saindo, subia o ML certinho, só não saia o efeito do jutsu

 

que tinha que sair uns tornadinho em volta dela até o jutsu acaba.

Link para o comentário
Compartilhar em outros sites

Tenta assim

Primeiro:

 

local tempo = 60 -- tempo em segundos.

local effect = {184, 180, 181} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 35 -- quantos ira aumentar o skill de ML

local skillfist = 35 -- quantos ira aumentar o skill de Fist

local skillsword = 35 -- quantos ira aumentar o skill de Sword

local skillaxe = 35 -- quantos ira aumentar o skill de Axe

local skillclub = 35 -- quantos ira aumentar o skill de Club

local skilldistance = 35 -- quantos ira aumentar o skill de Distance

local skillshield = 35 -- quantos ira aumentar o skill de Shield

local health = 150 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect18(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

 

 

 

 

 

 

Segundo:

 

 

local tempo = 60 -- tempo em segundos.

local effect = {198,197,196} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1553(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1553, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Mangekyo Sharingan", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

 

 

 

 

 

 

Terceiro:

 

 

local tempo = 60 -- tempo em segundos.

local effect = {190,191,192} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1453(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1453, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Toxic Smoke", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

 

 

 

 

 

Quarto:

 

 

 

local tempo = 60 -- tempo em segundos.

local effect = {176,177,178} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect557(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect557, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Raiton Yoroi", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 134)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

Editado por Roksas
Link para o comentário
Compartilhar em outros sites

 

 

Roksas o que voce fez agora você simplesmente tirou as magias não está nem mais em jutsus

mais tá tudo de boa olha tinhas jutsus que não estavam bugado eu vou manda como ta a pasta deles

e você ve e tenta tpo copiar seilá ve como fazer oq ta havendo de erro vou manda um que ta certo aki

 

Esse aki é do neji é o byakugan e ele está certinho efeito e tudo olhe.

 

local tempo = 60 -- tempo em segundos.

local effect = {124} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 5 -- quantos ira aumentar o skill de ML

local skillfist = 5 -- quantos ira aumentar o skill de Fist

local skillsword = 5 -- quantos ira aumentar o skill de Sword

local skillaxe = 5 -- quantos ira aumentar o skill de Axe

local skillclub = 5 -- quantos ira aumentar o skill de Club

local skilldistance = 5 -- quantos ira aumentar o skill de Distance

local skillshield = 5 -- quantos ira aumentar o skill de Shield

local health = 10 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect74(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102077) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect74, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102077,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Byakugan", TALKTYPE_MONSTER)

doSendMagicEffect(position127, 175)

else

doPlayerSendCancel(cid, "Sorry, you are buffed.")

end

end

 

 

Editado por noob785
Link para o comentário
Compartilhar em outros sites

Vamos ver...

 

Primeiro

 

 

local tempo = 60 -- tempo em segundos.

local effect = {184} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 35 -- quantos ira aumentar o skill de ML

local skillfist = 35 -- quantos ira aumentar o skill de Fist

local skillsword = 35 -- quantos ira aumentar o skill de Sword

local skillaxe = 35 -- quantos ira aumentar o skill de Axe

local skillclub = 35 -- quantos ira aumentar o skill de Club

local skilldistance = 35 -- quantos ira aumentar o skill de Distance

local skillshield = 35 -- quantos ira aumentar o skill de Shield

local health = 150 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect18(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position123 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect18, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Mangekyo Sharingan", TALKTYPE_MONSTER)

doSendMagicEffect(position123, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

Segundo:

 

 

local tempo = 60 -- tempo em segundos.

local effect = {198} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1553(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position124 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1553, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Mangekyo Sharingan", TALKTYPE_MONSTER)

doSendMagicEffect(position124, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

Terceiro:

 

 

local tempo = 60 -- tempo em segundos.

local effect = {190} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect1453(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position128 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y+1, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect1453, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Toxic Smoke", TALKTYPE_MONSTER)

doSendMagicEffect(position128, 198)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

 

Quarto:

 

 

local tempo = 60 -- tempo em segundos.

local effect = {176} -- effect no player, caso queira apenas 1, basta remover os outros numeros.

 

local ml = 40 -- quantos ira aumentar o skill de ML

local skillfist = 40 -- quantos ira aumentar o skill de Fist

local skillsword = 40 -- quantos ira aumentar o skill de Sword

local skillaxe = 40 -- quantos ira aumentar o skill de Axe

local skillclub = 40 -- quantos ira aumentar o skill de Club

local skilldistance = 40 -- quantos ira aumentar o skill de Distance

local skillshield = 40 -- quantos ira aumentar o skill de Shield

local health = 100 -- 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_AXE, skillaxe)

setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub)

setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance)

setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield)

setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit)

setCombatCondition(combat, condition)

 

local condition = createConditionObject(CONDITION_HASTE)

setConditionParam(condition, CONDITION_PARAM_SPEED, 250)

setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000)

setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE)

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)

 

function magicEffect557(tempo2,tempo3,cid)

if (isCreature(cid)) then

if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then

for i=1, #effect do

local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

doSendMagicEffect(position, effect)

end

end

end

end

 

function onCastSpell(cid, var)

local position126 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z}

if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then

doCombat(cid, combat, var)

tempo2 = 0

while (tempo2 ~= (tempo*1000)) do

addEvent(magicEffect557, tempo2, tempo2, tempo*1000, cid)

tempo2 = tempo2 + 300

end

setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado.

doCreatureSay(cid, "Raiton Yoroi", TALKTYPE_MONSTER)

doSendMagicEffect(position126, 134)

else

doPlayerSendCancel(cid, "Sorry, you are transformed.")

end

end

 

Link para o comentário
Compartilhar em outros sites

Roksas o 1 spoiler era pra ser open gates, e está sendo mangekyo sharingan igual ao 2 entao eu peguei o

2 , 3, e o 4 só não peguei o primeiro que era pra tar o open gates ai no lugar.

 

Roksas,o Raiton Yoroi do killer bee voltou só que está sem o efeito ainda mais voltou

agora o mangekyo sharingan e o toxic smoke não voltou

e o open gates voce eskeceu de colocar voce coloco 2 mangekyo sharingan

 

Alguem ae pode me ajudar?

 

exclui essas aki

 

amaterasu follow - Amaterasu Follow : 1400

garra follow - Garra Follow : 1400

zetsufollowcode - Zetsu follow : 1400

kakashiraikiricode - Kakashi Raikiri : 770

exevo gran mas teradois - Wrath of Nature : 770

exevo gran mas teratres - Wrath of Naturetres : 770

ankocobrascode - Anko Cobras : 770

passaroum - Deidara Um : 120

passarodois - Deidara Dois : 120

mundotobi - Mundo Tobi : 120

dragaodefogo - Dragon Fire : 120

dark snake - Dark Snake : 120

boladerocha - Great Ball : 120

firefire - Fogofogo : 120

suitonbomba - SuitonBomba : 120

suitonatkagua - Suitonagua : 120

misselpain - Pain Missel : 120

mordidarocha - Mordida : 120

hidanatki - Hidan : 120

katon noryukaa - Katon Gamabunta Ryukaa : 120

veneno dark - Venenodark : 120

dragaodelama - Dragon Blast : 120

kisamedragoncode - Kisame dragon : 120

kisameaguacode - Kisame agua : 120

hyuton - Hyuton : 120

tsuugakibacode - Tsuuga Kiba : 3600

banshou tein - Banshou Tein : 3600

temariventocode - Temarivento : 360

dual tsuugakibacode - Dual Tsuuga Kiba : 4200

 

Spells for Level 90

hakke rokujuuyonshou - Hakke Rokujuuyonshou : 3600

 

Spells for Level 100

hakke kuushou - Hakke Kuushou : 120

 

Spells for Level 150

kisameprotectcode - Kisame Protect : 1000

 

Spells for Level 250

chouzaakimichicode - Chouza Akimichi : 8100

 

Spells for Level 275

susano fullcode - Susano Full : 2000

 

Spells for Level 9965

god kill - God Kill : 120

Link para o comentário
Compartilhar em outros sites

Roksas o 1 spoiler era pra ser open gates, e está sendo mangekyo sharingan igual ao 2 entao eu peguei o

2 , 3, e o 4 só não peguei o primeiro que era pra tar o open gates ai no lugar.

 

Roksas,o Raiton Yoroi do killer bee voltou só que está sem o efeito ainda mais voltou

agora o mangekyo sharingan e o toxic smoke não voltou

e o open gates voce eskeceu de colocar voce coloco 2 mangekyo sharingan

 

Alguem ae pode me ajudar?

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...