Postado Agosto 5, 2014 10 anos Galera, queria limitar, toda minhas skills, tem player com 500 de fist, alguem ajuda, ai faz uma script, para creaturescripts?
Postado Agosto 5, 2014 10 anos Autor Sempre falam, em sources, minhas sources ,quando tento compilar da erro, mais antes eu tinha, tinha topico no tibiaking creio que tenha um scripter que possa me ajudar
Postado Agosto 5, 2014 10 anos faz a mesma coisa que eu te ensinei a fazer na magic, só que pra todas as outras skills '-' Todos os meus trabalhos importantes estão na seção "Sobre mim" no meu perfil; Dá uma passada lá! "Há três caminhos para o fracasso: não ensinar o que se sabe, não praticar o que se ensina, e não perguntar o que se ignora." - São Beda (obg ao @Beeny por fazer essa linda sign <3)
Postado Agosto 5, 2014 10 anos Solução Testado e funcionando em TFS 0.3.6pl1 (8.54)Em data\creaturescripts\scripts,crie um arquivo chamado: skillblock.lua function onAdvance(cid, skill, oldLevel, newLevel) if skill == SKILL_SWORD then if getPlayerSkillLevel(cid, SKILL_SWORD) >= 171 then doPlayerSetRate(cid, SKILL_SWORD, 0.0) end elseif skill == SKILL_SWORD then if getPlayerSkillLevel(cid, SKILL_FIST) >= 171 then doPlayerSetRate(cid, SKILL_FIST, 0.0) end return false elseif skill == SKILL_AXE then if getPlayerSkillLevel(cid, SKILL_AXE) >= 171 then doPlayerSetRate(cid, SKILL_AXE, 0.0) end return false elseif skill == SKILL_CLUB then if getPlayerSkillLevel(cid, SKILL_CLUB) >= 171 then doPlayerSetRate(cid, SKILL_CLUB, 0.0) end return false elseif skill == SKILL_DISTANCE then if getPlayerSkillLevel(cid, SKILL_DISTANCE) >= 171 then doPlayerSetRate(cid, SKILL_DISTANCE, 0.0) end return false elseif skill == SKILL_SHIELD then if getPlayerSkillLevel(cid, SKILL_FIST) >= 171 then doPlayerSetRate(cid, SKILL_FIST, 0.0) end return false elseif skill == SKILL_FISH then if getPlayerSkillLevel(cid, SKILL_FISH) >= 171 then doPlayerSetRate(cid, SKILL_FISH, 0.0) end return false end end Em data/creaturescripts/scripts login.lua adicione essa linha: E em data\creaturescripts em creaturescripts.xml adicione isso: Creditos: Magoh (otland) Editado Agosto 5, 2014 10 anos por tddf1995 (veja o histórico de edições)
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.