SH

Skill Por Vocação

Por sharematrix, 23 de nov. de 2010 em Archived

script
3
875
sharematrixS
23 de novembro de 2010 às 05:18

Olá

 

preciso de um script que adiciona um tal skill para o player que entrar, mais irá adicionar somente se o player tiver a vocação certa, e a storage tambem

 

tenho um mais não funciona

 

 

function onLogin(cid)
if getPlayerStorageValue(cid, 69930) == 0 then
if isInArray({ 4, 8 }, getPlayerVocation(cid)) == TRUE then
      doPlayerAddMagLevel(cid, 60)
   doPlayerAddSkillTry(cid, 5, 20)
   end
if isInArray({ 1, 5 }, getPlayerVocation(cid)) == TRUE then
       doPlayerAddMagLevel(cid, 60)
	doPlayerAddSkillTry(cid, 5, 20)
   end
if isInArray({ 2, 6 }, getPlayerVocation(cid)) == TRUE then
       doPlayerAddMagLevel(cid, 80)
	doPlayerAddSkillTry(cid, 5, 20)
   end
if isInArray({ 3, 7 }, getPlayerVocation(cid)) == TRUE then
       doPlayerAddSkillTry(cid, 4, 60000)
	doPlayerAddSkillTry(cid, 5, 80000)
   end
setPlayerStorageValue(uid, 69930, 1)
end
   return TRUE
end

 

 

 

Obrigado ;D

Saymon14S
23 de novembro de 2010 às 07:45

Olha esse topico, la tem o script que voce quer:

 

http://www.xtibia.com/forum/topic/144119-kit-de-scripts-para-servidores-enforced/

 

Abraços

sharematrixS
23 de novembro de 2010 às 13:36

bah cara

 

valew Saymon :)

 

Alguem da equipe já pode fechar o tópico