MatheusRDS Posted February 22, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 30 Reputation: 2 Joined: 11/24/18 Last Seen: April 3, 2021 Share Posted February 22, 2019 Galera como faço para bloquear a skill desencantar no mapa pvp_y_2-2? e aproveitando esse tópico, como configuro o arquivo mapflag/skill_damage.txt, queria reduzir o dano de algumas skil nesse mapa também, agradeço a atenção! Quote Link to comment Share on other sites More sharing options...
Tanlor Posted February 22, 2019 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 50 Reputation: 14 Joined: 07/23/18 Last Seen: January 9, 2023 Share Posted February 22, 2019 Primeiro você vai ter que colocar o mapa pvp_y_2-2 numa Zone separada dos outros mapas. Edite o arquivo /rAthena/npc/mapflag/restricted.txt e acrescente essa nova linha: pvp_y_2-2 mapflag restricted 8 Agora seu mapa faz parte da Zone 8. Lembrando que o espaço entre as palavras é feito com TAB nesse caso, assim: MAPA<tab>mapflag<tab>restricted<tab>8 Agora, para desativar Desencantar nesse mapa, vá até o arquivo /rAthena/db/pre(-re)/skill_nocast_db.txt e acrecente, no final do arquivo: //---------------------------------------------------------------------------- // Zone 8 - Mapa pvp_y_2-2 //---------------------------------------------------------------------------- 289,4096 //SA_DISPELL Para reduzir o dano das habilidades, você deve editar o arquivo /rAthena/db/skill_damage_db.txt. Siga os exemplos no arquivo, e aí na coluna "MAP" você vai colocar 4096, que é o número responsável para mapas da Restricted Zone 8. // Examples: // MC_MAMMONITE,BL_PC,1,50 // In normal maps, players deal +50% damage to other players with Mammonite. // MO_EXTREMITYFIST,BL_PC,6,-50 // In PVP and GVG, players deal -50% (half) damage to other players with Asura Strike. // AB_ADORAMUS,BL_PC,6,50,0,10,15 // In PVP and GVG, players deal +50% damage to other players, +0% to mobs, +10% to bosses, and +15% to other with Adoramus. Para que as mudanças tenham efeito, você deve reiniciar seu servidor, pois as mapflags restrict não são aplicadas com @reload Script. Lembrando também que a conta ADM ignora qualquer tipo de restrição desses arquivos, então teste em contas Player comum. Se ajudei, me ajuda com um Upvote! 3 Quote Link to comment Share on other sites More sharing options...
MatheusRDS Posted February 23, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 30 Reputation: 2 Joined: 11/24/18 Last Seen: April 3, 2021 Author Share Posted February 23, 2019 Sensacional, muito obrigado 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.