Ir para conteúdo

Featured Replies

Postado

Mas eu to editando o script grande whitewolf, consegui fazer tudo, só fiquei com problema na hora de trabalhar com skills de ML

 

Como substituir esse meu cod aqui?

 

            local mlstages
            if (getPlayerSkill(cid, SKILL_MAGIC) >= 1 and getPlayerSkill(cid, SKILL_MAGIC) <= 25 ) then
            mlstages = 40
            elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 26 and getPlayerSkill(cid, SKILL_MAGIC) <= 50 ) then
            mlstages = 30
            elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 51 and getPlayerSkill(cid, SKILL_MAGIC) <= 70 ) then
            mlstages = 20
            elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 71 and getPlayerSkill(cid, SKILL_MAGIC) <= 80 ) then
            mlstages = 15
            elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 81 and getPlayerSkill(cid, SKILL_MAGIC) <= 90 ) then
            mlstages = 10
            elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 91 ) then
            mlstages = 5
            end
 
 
 
 
 
 
 
 
 
 


mlqnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_MAGIC, getPlayerSkillLevel(cid, SKILL_MAGIC) + 1)/3000) * (getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult))
 
 
 
 
 
 
 
 
 
 
 


doPlayerAddSkillTry(cid, SKILL_MAGIC, (mlqnt / 2) * mlstages)
  • Respostas 233
  • Visualizações 22k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • vc precisa achar a função que removeItem no 1.0, parece que tiraram ela em 1.0 e substituiram por outra.. o mesmo vale pra onCreatureSay 

  • fico feliz de ter contribuído pro seu projeto de alguma forma.  linha por linha e muito ctrl + c e ctrl + v hahaha pior nem é escrever tudo isso, é dar erro e você não souber aonde que tá e ter

  • oque parece? me manda um print do erro.. é 1.0 né?

Posted Images

  • 2 weeks later...
Postado

xWhiteWolf 

 

 

 

mano eu fiz todas as soluções q tem ai nas paginas anteriores e msm assim não ta contando os kill vc poderia me ajudar?

a parte de collet funciono de boa so a parte da kill q não ta contando

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