Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/05/19 in all areas

  1. akame,103,162,5 script Survival 804,{ mes "[Survival]"; mes "Welcome-To Hell"; close2; warp "akame",102,101; OnPCLoginEvent: // This will be triggered on login automatically: addtimer 30000, strnpcinfo(3) + "::OnSurvival"; end; OnSurvival: deltimer strnpcinfo(3) + "::OnSurvival"; // Deleting the old timer if (countitem(502) > 0){ delitem 502,1; addtimer 30000, strnpcinfo(3) + "::OnSurvival"; // Re-Adding the timer to "loop" it } else warp "sec_pri",50,76; end; } Try this one. I can't help you with that on the display tho, since it would require a client modification and source modification as far as I know.
    1 point
  2. script_commands.txt --------------------------------------- *addspiritball <count>,<duration>{,<char_id>}; Adds spirit ball to player for 'duration' in milisecond. --------------------------------------- *delspiritball <count>{,<char_id>}; Deletes the spirit ball(s) from player. --------------------------------------- *countspiritball {<char_id>}; Counts the spirit ball that player has. ---------------------------------------
    1 point
  3. 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! ?
    1 point
×
×
  • Create New...