Ir para conteúdo
Entre para seguir isso  
Iseme

Second Promotion Quest

Recommended Posts

GM Thap    0
GM Thap

ae mlk, bom o script, mas é o seguinte, quando eu coloco ele no meu server, os players nao morrem mais pra pk, fica bugado, se eu tiro o script, volta ao normal

Compartilhar este post


Link para o post
franfran    0
franfran

/\ Mesma coisa no meu server,já postei aqui ainda ninguem respondeu.

Aguardo respostas. :fist:

Compartilhar este post


Link para o post
mateus1023    0
mateus1023

Aprovado

 

Gostei muito, vlw mesmo funfo normal aki.

Compartilhar este post


Link para o post
Mag 246    0
Mag 246

Estou com o mesmo problema que alguns ae...

Os meus players nao morrem para players... mas morrem para bixo

QUando eu removo a citação:

registerCreatureEvent(cid, "FocusKill")

do LOGIN.LUA -- volta ao normal!

Alguem sabe oq pode ser?

Focuskill.lua Citação:

 

dofile("config/thirdCfg.lua")

function onKill(cid, target)

tname = string.lower(getCreatureName(target))

if not isPlayer(cid) then

return true

end

if not isMonster(target) then

return false

end

voc = getPlayerVocation(cid)

if getPlayerStorageValue(cid, thirdConfig.questStorage) ~= 1 then

return true

end

monster = focusMonsterByName(tname, voc)

if not checkFocus(cid, tname) and monster then

addFocusKill(cid, tname)

doPlayerSendTextMessage(cid, 20, "You have defeated "..getFocusKill(cid, tname).." of "..monster[2].." "..tname.."(s).")

if checkAllFocus(cid) then

addFocusPromotion(cid)

setPlayerStorageValue(cid, thirdConfig.questStorage, 2)

doPlayerSendTextMessage(cid, 22, "You have completed the Focus Promotion quest. Now you are a "..getPlayerVocationName(cid)..". ")

doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_GREEN)

end

end

return true

end

Compartilhar este post


Link para o post
Visitante
Este tópico está impedido de receber novos posts.
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×