Retired.
pode ser outro script ?? o que eu uso ??
aki vai o script q eu uso e como configurar ele;
em data/spells/scripts cria um arquivo.lua com o nome de sua preferencia e bota isso dentro
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_OUTFIT)
setConditionParam(condition, CONDITION_PARAM_TICKS, 86400000)
addOutfitCondition(condition, 0, 71, 0, 0, 0, 0)
setCombatCondition(combat, condition)
shenron2 = {lookType=looktype do shneorn transformado}
shenron3 = {lookType=looktye do shenron ransformado}
shenron4 = {lookType=looktype do shenron transformado}
ext=1000
---Shenron---
elseif getPlayerVocation(cid) == id da vocação normal then
if getPlayerLevel(cid) >= level necessario para transformar then
doPlayerSetVocation(cid,vocation transformada)
doSetCreatureOutfit(cid, shenron2, -1)
doSendMagicEffect(getPlayerPosition(cid), efeito)
else
doPlayerSendCancel(cid, "Mensagem se n transformar.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
else
doPlayerSendCancel(cid, "You cannot transform.")
doSendMagicEffect(getPlayerPosition(cid), 2)
end
onde ta em negrito ai se coloca o nome do looktype q se boto la em cima
shenron2 = {lookType=looktype do shneorn transformado}
shenron3 = {lookType=looktye do shenron ransformado}
shenron4 = {lookType=looktype do shenron transformado}
em verde bota o id da vocação normal
level necessario para transformar
id da vocação transformada
número do efeito que vai aparecer
mensagem se n transformar
no ultimo tem q ter 2 ends ao inves de um
aki vai a tag
<instant name="Transformar" words="transformar" aggressive="0" params="1" lvl="1" maglv="0" mana="0" soul="0" exhaustion="1" prem="0" enabled="1" script="transforms.lua"></instant>
palavra para transformar
nome do seu script.lua
Uma pergunta, por que 2 mensagens de "não transformação"
Muito obrigado pela ajuda.
______________________________________________________________________________________________
EDIT:
Outra coisa, será que tem como por comandos para executar na database, e salvar as vocações e outfis transformadas?
URGENTE, PRECISO DE SCRIPTERS BONS !
______________________________________________________________________________________________
EDIT:
Exemplo: db.executeQuery?
O meu esta assim.
---Shenron--- function trans83(cid) if getPlayerVocation(cid) == 396 then if getPlayerMana(cid) >= 0 then addEvent(trans83,ext,cid) end end end function trans84(cid) if getPlayerVocation(cid) == 397 then if getPlayerMana(cid) >= 0 then addEvent(trans84,ext,cid) end end end function trans85(cid) if getPlayerVocation(cid) == 398 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 234) addEvent(trans85,ext,cid) end end end function trans86(cid) if getPlayerVocation(cid) == 399 then if getPlayerMana(cid) >= 0 then addEvent(trans86,ext,cid) end end end ---End Shenron--- ---Reborn Shenron--- function trans87(cid) if getPlayerVocation(cid) == 401 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans87,ext,cid) end end end function trans88(cid) if getPlayerVocation(cid) == 402 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans88,ext,cid) end end end function trans89(cid) if getPlayerVocation(cid) == 403 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans89,ext,cid) end end end function trans90(cid) if getPlayerVocation(cid) == 404 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 330) addEvent(trans90,ext,cid) end end end function trans91(cid) if getPlayerVocation(cid) == 405 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans91,ext,cid) end end end --- Reborn Shenron End ---
Uma pergunta, por que 2 mensagens de "não transformação"
Muito obrigado pela ajuda.
______________________________________________________________________________________________
EDIT:
Outra coisa, será que tem como por comandos para executar na database, e salvar as vocações e outfis transformadas?
URGENTE, PRECISO DE SCRIPTERS BONS !
______________________________________________________________________________________________
EDIT:
Exemplo: db.executeQuery?
um se n tiver lvl e um se ja tiver transformado
n sei se tem isso de database n
Removido !
Att,
Kissy
Puta cara, se isso funcionar... Te dou 7 dias de REP.
Mas mesmo assim, vout e dar um rep amanhã por ter tentado ajudar.
Mas o script funciono ai se for me fala se nao for me fala também pra corrigi
Att,
Kissy
SkyLight
Esse script,é pra qual versao?

Ajudo no que eu posso!
Seja feliz com isso.
Editei pra 8.60 mas funciona em outras versões também eu acho
Att,
Kissy
Ah legal,parabens.
Muito bom o script,porem nao testei,mais pelas funçao que tem gostei

Ajudo no que eu posso!
Seja feliz com isso.
Como SKY, você criou?
Moderação por favor, excluir o tópico !
@MODERADODES, por favor, excluir completamente o tópico.
Como SKY, você criou?
Moderação por favor, excluir o tópico !
@MODERADODES, por favor, excluir completamente o tópico.
KKK , Falei sem querer que ele pergunto a versao que eu dei uma editada no seu script pra remover os erros
Reportado Pra Ser Movido O Tópico
Duvida Sanada
Att,
Kissy
alguem pode me ajuda ae quero coloca transform do bianco v6.0