Ir para conteúdo

Featured Replies

Postado

1 - Script funciona assim , " o player clica com botão esquerdo do mouse em um addon doll " acontece o seguinte uma explosão tipo exevo gran mas flam mais so 1 dela não varias é uma mensagem animado "cambio"

ae ele se trasforma em randomicos monstros , se que me entendem !

2 - Queria pedir uma lista do script para adicionar " DEFESA " , " HOLY " , " MAGIC " , " CRITICAL " , "DEFESA EXTRA " ATTACK EXTRA " esse tipo de coisa uma listinha pra min por em umas armas , também que adicione efeitos aos items que eu quiser se que me entendem , quando o " player " hita

aparece um Attack extra tipo holy,fire,san etc .

se me arrumarem isso agradeço desde já .

# EDITED SCRIPT NÚMERO 1° FOTO

1rreht.jpg

Editado por RuanSantos (veja o histórico de edições)

  • Respostas 5
  • Visualizações 665
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • 1 Pedido; vai em Data/Action/script e crie um arquivo chamado addon doll e cola isso local outfits = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23

Postado

Só posso te responder a 2° duvida ...

É bem simples , sao as seguintes tables

Por Defesa


  <attribute key="defense" value="30" />


Extra Defesa

  <attribute key="extradef" value="3" />

Magic Level = ML

<attribute key="MagicLevelPoints" value="5" />

Critico

<attribute key="hitChance" value="10" />

img.jpg

ZIIKKAA DO BAAAAGUI (8'

Postado

tem um que axei não sei se vai ser util pra vc mas vamos ver se vc axa bom .

em data/talkactions/xml .

<talkaction words="!outfit;!roupa" script="outfit.lua"/>

Em data/talkactions/scripts Crie "outfit.lua"

  Citar

function onSay(cid, words, param, channel)

if(param == '') then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.")

return true

end

local t = string.explode(param, ",")

t[1] = tonumber(t[1])

if(not t[1]) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires numeric param.")

return true

end

local pid = cid

if(t[1] <= 1 or t[1] == 135 or (t[1] > 160 and t[1] < 192) or t[1] > 351) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Such outfit does not exist.")

return true

elseif(t[1] == 302 or t[1] == 266 or t[1] == 75) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot use this outfit.")

return true

end

if getPlayerItem(cid, itemid)

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You cannot have item for use this outfit.")

return true

end

local tmp = getCreatureOutfit(pid)

tmp.lookType = t[1]

doCreatureChangeOutfit(pid, tmp)

return true

end

Pra Quem Curte Um " Hard Rock , Metal , Industrial , Classicos " Curtão Minha Radio Online Pessoal .

46020889.jpg

Postado

function onUse(cid, item)


local text = "Cambio"

local effectNumber = 6

local newOutfit = getPlayerStorageValue(cid, 38273)

local blockedOuts = {302, 266, 75}


if newOutfit == 367 or newOutfit < 2 then

setPlayerStorageValue(cid, 38273, 2)

end


if isInArray(blockedOuts, newOutfit) then

setPlayerStorageValue(cid, 38273, newOutfit + 1)

end


doCreatureChangeOutfit(cid, newOutfit)

setPlayerStorageValue(cid, 38273, newOutfit + 1)

doSendMagicEffect(getThingPos(cid), effectNumber)

doSendAnimatedText(getThingPos(cid), text, math.random(1, 255))

return true

end
/data/creaturescripts/scripts/login.lua coloque isso antes do último return true:
setPlayerStorageValue(cid, 38273, 2)

Editado por Skyforever (veja o histórico de edições)

Retirado.

 

Skype: joaoxtibia85.

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo