-
Content Count
80 -
Joined
-
Last visited
-
Days Won
4
Posts posted by Tsuuu
-
-
Thank for sharing this.
-
Você sempre utiliza o comando @cash pra ativar ou tem algum outro recurso que ativa os cashs? É algum npc? Se for manda a parte que ele ativa os cashs só pra eu confirmar se é por comando ou é direto no sql.
-
1 hour ago, CLps said:Cara muito obrigado pela ajuda , mas vou aproveitar que você ta respondendo todas minhas dúvidas ( até as nitidamente burras ) e la vai mais uma coisa ...
Queria adicionar ao sistema de doações do servidor algum tipo de item ativável tipo uma box , que quando aberta vem um item ( custom do server ) . Exemplo :
A cada 20 reais doados o player receberá 20k de cash ( para comprar itens na loja cash ) e 1 '' ponto de fidelidade '' . Esse ponto poderá ser trocado em um NPC pela box que virá itens que não são disponíveis na loja . Ele só receberá 1 ponto a cada 20 doados .... Eu procurei bastante esse script e não achei de jeito nenhum . Não sei se é algo complexo de ser feito e por isso não achei . Se você tiver algo disponível desse tipo e puder ajudar mais essa vez , agradecerei muito .
Obrigado pelas respostas @Tsuuu
Qualquer tipo de cash obtido ou apenas os 'doados'?
Se for somente os doados, como é feito a ativação desses cashs, é manual? -
1 hour ago, CLps said:No caso essas mensagens são globais dentro do castelo ? Não tem como fazer aparecer o Você matou apenas para quem matou e o Você morreu pra quem foi morto ?
- script woeanun -1,{ OnPCKillEvent: dispbottom "Mensagem no chat só de quem matou"; message strcharinfo(0), "Mensagem no chat e em cima do personagem só de quem matou"; announce "O jogador "+strcharinfo(0)+" matou o "+rid2name(killedrid)+" e essa mensagem está aparecendo no global só pra ele !",bc_self; end; OnPCDieEvent: dispbottom "Mensagem no chat só de quem morreu"; message strcharinfo(0), "Mensagem no chat e em cima do personagem só de quem morreu"; announce "O jogador "+strcharinfo(0)+" morreu para o "+rid2name(killerrid)+" e essa mensagem está aparecendo no global só pra ele !",bc_self; end; }
Obs: Essa informação é super básica, você deveria pesquisar um pouco mais. rsrsrsrs <3
Obs²: No announce basta passar a flag "bc_self" que vai anunciar somente pro jogador, no exemplo acima citei 3 formas que eu sei que aparece só pro jogador !
-
21 hours ago, CLps said:To precisando de um script pra Guerra do Emperium que mostre o nome de quem você matou e pra quem você morreu
Você matou [[strcharinfo]](0) da guild [[strcharinfo]](2)
Você morreu para [[strcharinfo]](0) da guild [[strcharinfo]](2)
@Tsuuu , foi mal te marcar , mas você já me ajudou várias vezes xD quem sabe você não saiba me ajudar nisso
- script woeanun -1,{ OnPCKillEvent: if(agitcheck() || agitcheck2()) { getmapxy @map$,@x,@y,0; if(@map$ == "prtg_cas01" || @map$ == "arug_cas03") //Edite aqui os mapas dos castelos ativos na woe { matounawoe += 1; woematancacons += 1; dispbottom "[WoE] Você Matou: "+matounawoe+"."; dispbottom "[WoE] Você Morreu: "+morreunawoe+"."; dispbottom "[WoE] Matança Consecutiva: "+woematancacons+"."; if(woematancacons == 10) { mapannounce(strcharinfo(3), "[WoE] O jogador "+strcharinfo(0)+" matou 10 e está em matança consecutiva.", bc_map, 0xFFCE00); } } } end; OnPCDieEvent: if(agitcheck() || agitcheck2()) { getmapxy @map$,@x,@y,0; if(@map$ == "prtg_cas01" || @map$ == "arug_cas03") //Edite aqui os mapas dos castelos ativos na woe { if(rid2name(killerrid) == strcharinfo(0)) { end; } announce rid2name(killerrid) + " matou "+strcharinfo(0)+" do clã "+strcharinfo(2)+" !",bc_all; morreunawoe += 1; if(woematancacons > 9) { mapannounce(strcharinfo(3), "[WoE] O jogador "+strcharinfo(0)+" foi morto e sua matança consecutiva foi resetada.", bc_map, 0xFFCE00); } woematancacons = 0; dispbottom "[WoE] Quantidade de mortes na woe: "+morreunawoe+"."; end; } } end; }
Personalize como quiser, se tiver dúvida posta aqui.
-
Se não me engano é na data/luafiles514/lua files/chatwndinfo.lub
-
I believe these two files can help:
npc/mapflag/skillmodifier.txt
src/map/battle.c
good job !
-
3 hours ago, Shenna said:Bom eu subi a torre e os MVP`s de la nao contam ponto , e isso e' algo que eu realmente queria , porem eu tinha a intencao de fazer com que o Naght Sieger contasse 15 pontos ( Por ser um MVP dificil de se chegar ate , mesma coisa com o Niddhogg ) Porem como nenhum MVP da torre ta contando , eu imagino que o Naght tambem nao va contar !
Quanto ao Nidd , eu imagino que ele nao va contar tambem , por ser invocado em uma quest assim como a Torre .
Acredito que você pode fazer essa mudança manualmente, exemplo...
Vá até o script da quest de nyddhog, no caso o meu fica em npc/instances/NydhoggsNest.txt e procure pela parte que invoca o monstro, sempre vai chamar um evento ao derrotar ele, no caso do nyd seria aqui:2@nyd,2,2,0 script nyd_2f_boss_enter_call FAKE_NPC,{ OnEnable: monster .@map$,199,327,"Nidhoggur's Shadow",2022,1,instance_npcname("nyd_2f_boss_enter_call")+"::OnMyMobDead"; //AQUI INVOCA O MPV end; OnMyMobDead: // AQUI RODA QUANDO MORRE, COLOQUE AQUI SEU COMANDO. // pontomvp += 15; ---> 15 pontos pra matar o nyddhog .@map$ = instance_mapname("2@nyd"); end; }
Seguindo essa lógica é só fazer o mesmo no script da torre sem fim.
3 hours ago, Shenna said:Outra coisa que encontrei testando esse sistema , e' que os monstros invocados pelo comando @monster , durante eventos , tambem estao contando pontos e isso era algo que eu nao queria que acontecesse !
Nesse caso você teria que colocar uma verificação pra cada mvp, segue o exemplo:
- script Pontos MvP -1,{ OnNPCKillEvent: getmapxy @map$,@x,@y,0; setarray .@mapname$[0], "mapa1", "mapa2", "mapa3"; //Coloque aqui todos seus mapas que deseja desabilitar a contagem if(killedrid== 1251){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } if(@map$ == "xmas_dun02") { PontoMvp += 1; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 1 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; } else { dispbottom "[Servidor] - Os pontos do rank mvp não são obtidos ao matar monstros chefe fora de seu mapa original", 0xb77823; } end; } end; }
Obs: Não testei isso, se der erro posta aí.
-
2 hours ago, Shenna said:[Error]: script error in file 'visuais.txt' line 103 column 4 parse_line: expect command, missing function name or calling undeclared function 100: mes "^FF0000Voc� n�o poss�i os Leques que pedi, n�o foi poss�vel completar o ritual^000000."; 101: close; 102: } * 103: costume .@Part; // Convertendo o chap�u ~~~~~~~~~~~~~~~~~~~~~~~~^ 104: delitem 6009,3; 105: mes "[Arlequim]"; 106: mes "Pronto! Aproveite seu chap�u."; [Debug]: mapindex_name2id: Map "invek" not found in index list! [Error]: npc_parsesrcfile: Unknown map 'invek' in file 'visuais.txt', line '163'. Skipping line...
Ta dando esse erro ai , pelo muito pouco que sei sobre script >.< , nao consegui achar uma solucao , talvez seja algo obvio mas nao tenho experiencia nisso .
Se voce conseguir visualizar o erro , agradeco !Boa noite, procurei aqui e vi realmente que o script usa o comando "costume" de script que precisa ser adicionado manualmente, acredito que você consegue facilmente aplicar essas mudanças nesse link :
Como eu estou fazendo um servidor novamente, aproveitei pra testar a configuração e funcionou perfeitamente, utilizo a ultima versão do Hercules, lembrando que o outro erro gerado abaixo é devido o nome da cidade, só você trocar a localização do npc:
[Error]: npc_parsesrcfile: Unknown map 'invek' in file 'visuais.txt', line '163'. Skipping line...
Obs: Se tiver alguma dificuldade pra aplicar as configurações descritas no link acima, poste neste tópico que tentarei ajudar, eu fiz e funcionou.
-
OnNPCKillEvent: This special label triggers when a player kills a monster. The variable 'killedrid' is set to the Class of the monster killed.
Seguindo a lógica do script deveria funcionar mesmo sendo 'invocados a partir de quest'.
Se você não listou os mapas 6@tower e 2@nyd nessa linha:
setarray .@mapname$[0], "mapa1", "mapa2", "mapa3"; //Coloque aqui todos seus mapas que deseja desabilitar a contagem
deveria contar os pontos sem problema, já que existe essa verificação:
if(killedrid== 2022 || killedrid== 1956){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+15; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 15 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; }
O que você pode fazer é verificar se o monstro invocado pela quest tem esse mesmo ID.
Obs: Quando você mata esses dois monstros dá algum erro? Retorna alguma mensagem?
-
-
-
On 13/11/2017 at 11:42 PM, Shenna said:Estou usando o seguinte script . créditos :Felipesaj
https://www.4shared.com/s/fnoTpxt7wei
- script Pontos MvP -1,{ OnNPCKillEvent: if(killedrid== 1785 || killedrid== 1039 || killedrid== 1086 || killedrid== 1251 || killedrid== 1389 || killedrid== 1112 || killedrid== 1115 || killedrid== 1157 || killedrid== 1150 || killedrid== 1159 || killedrid== 1312 || killedrid== 1630 || killedrid== 1147 || killedrid== 1087 || killedrid== 1038 || killedrid== 1492 || killedrid== 1272 || killedrid== 1373 || killedrid== 1418 || killedrid== 1511 ||killedrid== 1190){ set PontoMvp,PontoMvp+1; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 1 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1059 || killedrid== 1871 || killedrid== 2068 || killedrid== 1719 || killedrid== 1046 || killedrid== 1658 || killedrid== 1885 || killedrid== 1252 || killedrid== 1734 || killedrid== 1623 || killedrid== 1685){ set PontoMvp,PontoMvp+3; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 3 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1647 || killedrid== 1648 || killedrid== 1649 || killedrid== 1650 || killedrid== 1651 || killedrid== 1646){ set PontoMvp,PontoMvp+5; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 5 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1874 || killedrid== 1832 || killedrid== 1779 || killedrid== 1668 || killedrid== 1990 || killedrid== 1708 || killedrid== 1917 || killedrid== 1768 || killedrid== 1583 || killedrid== 1751){ set PontoMvp,PontoMvp+10; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 10 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 2022 || killedrid== 1956){ set PontoMvp,PontoMvp+15; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 15 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; } end; } - shop MVSHOP1 -1,512:-1 - shop MVSHOP2 -1,512:-1 prontera,173,199,4 script Loja Pontos Mvp 4_ORCWARRIOR,{ mes "[^FF0000Loja MvP^000000]"; mes "•MVP é a abreviação para Most Valuable Player, que significa Jogador de Maior Valor."; mes "•É uma definição que não se limita apenas à Ragnarök Online."; next; mes "[^FF0000Loja MvP^000000]"; mes "•A dificuldade de um MVP está pelo seu HP, dano e Experiência altíssimos."; mes "•Eles são do tipo Chefe, ou seja, possuem certas prioridades que um monstro comum não possui."; next; mes "[^FF0000Loja MvP^000000]"; mes "•Os MVPs são livres para todos os jogadores: qualquer um poderá atacar um MVP sem estar infringindo a regra de Kill Steal."; mes "•Entretanto, se houver abuso e habilidade, os infratores deverão ser denunciados."; next; mes "[^FF0000Loja MvP^000000]"; mes "Deseja trocar seus pontos MvP por itens?"; switch(select("[^339966+^000000] Sim.:[^FF0000+^000000] Não.")) { case 1: next; mes "[^FF0000Loja MvP^000000]"; mes "^FF0000Escolha a categoria de itens que lhe interessa:^000000"; set @s, select("Utilidades:Hats"); message strcharinfo(0),"Esta loja só aceita Pontos MvP."; dispbottom "Você tem "+PontoMvp+" Pontos MvP."; callshop "MVSHOP"+@s,1; npcshopattach "MVSHOP"+@s; end; case 2: close; } OnBuyItem: mes "[^FF0000Loja MvP^000000]"; if (PontoMvp==0){mes "Você não possui Pontos Mvp"; close;} if (PontoMvp>=1){ set .@i,0; while (.@i < getarraysize(@bought_nameid)) { set .@j, 0; while (.@j < getarraysize(getd(".Shop"+@s))) { if(getd(".Shop"+@s+"["+.@j+"]") == @bought_nameid[.@i]) { set @itemcost, (getd(".Shop"+@s+"["+(.@j+1)+"]") * @bought_quantity[.@i]); set @totalcost, @totalcost + @itemcost; break; } set .@j, .@j+2; } set .@i, .@i+1; } if (@totalcost > PontoMvp) dispbottom "Você não tem o suficiente de Pontos MvP."; else { set .@i,0; while (.@i < getarraysize(@bought_nameid)) { getitem @bought_nameid[.@i], @bought_quantity[.@i]; dispbottom "Você comprou "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; set .@i, .@i+1; } set PontoMvp,PontoMvp-@totalcost; mes "Seu total de Pontos MvP agora é "+PontoMvp+" .";} set @totalcost, 0; deletearray @bought_nameid[0], 128; deletearray @bought_quantity[0], 128; close; end; } OnInit: setarray .Currency[1],507; setarray .Shop1[0],12210,10,12103,15; // IDdo iten / Qntd MVPPoint setarray .Shop2[0],5518,300,5374,300,2202,100;// set .@i,1; while (.@i <= getarraysize(.Currency)) { set .@j,0; while (.@j < getarraysize(getd(".Shop"+.@i))) { npcshopdelitem "MVSHOP"+.@i,512; npcshopadditem "MVSHOP"+.@i, getd(".Shop"+.@i+"["+.@j+"]"), getd(".Shop"+.@i+"["+(.@j+1)+"]"); set .@j, .@j+2; } set .@i, .@i+1; } end; }
Alterei os ID's dos mvp's e a pontuação de acordo, gostaria de saber o que preciso para fazer com que as salas de MVP não contem os pontos para os MVP's de cada sala .
No caso os MVP's que não contariam pontos nas MVP's Room são :
1059 ; 1039 ; 1112 ; 1115 ; 1157 ; 1150 ; 1159 ; 1312 ; 1147 ; 1087 ; 1038 ; 1272 ; 1373 ; 1190 ; 1492 ; 1046
Sendo 1059 ; 1115 ; 1147 ; 1150 não contadores de pontos nos mapas @warp pvp_n_8-2 / @warp pvp_n_7-2 / @warp pvp_n_6-2 / @warp pvp_n_5-2 / @warp pvp_n_4-2 / @warp pvp_n_3-2 / @warp pvp_n_2-2 / @warp pvp_n_1-2 ;
Sendo 1159 ; 1312 ; 1087 ; 1190 não contadores de pontos nos mapas @warp pvp_n_8-3 / @warp pvp_n_7-3 / @warp pvp_n_6-3 / @warp pvp_n_5-3 / @warp pvp_n_4-3 / @warp pvp_n_3-3 / @warp pvp_n_2-3 / @warp pvp_n_1-3 ;
Sendo 1373 ; 1038 ; 1046 ; 1112 não contadores de pontos nos mapas @warp pvp_n_8-4 / @warp pvp_n_7-4 / @warp pvp_n_6-4 / @warp pvp_n_5-4 / @warp pvp_n_4-4 / @warp pvp_n_3-4 / @warp pvp_n_2-4 / @warp pvp_n_1-4 ;
Sendo 1039 ; 1157 ; 1272 ; 1492 não contadores de pontos nos mapas @warp pvp_n_8-5 / @warp pvp_n_7-5 / @warp pvp_n_6-5 / @warp pvp_n_5-5 / @warp pvp_n_4-5 / @warp pvp_n_3-5 / @warp pvp_n_2-5 / @warp pvp_n_1-5 ;
Se alguém puder me ajudar , eu agradeço !
- script Pontos MvP -1,{ OnNPCKillEvent: getmapxy @map$,@x,@y,0; setarray .@mapname$[0], "mapa1", "mapa2", "mapa3"; //Coloque aqui todos seus mapas que deseja desabilitar a contagem if(killedrid== 1785 || killedrid== 1039 || killedrid== 1086 || killedrid== 1251 || killedrid== 1389 || killedrid== 1112 || killedrid== 1115 || killedrid== 1157 || killedrid== 1150 || killedrid== 1159 || killedrid== 1312 || killedrid== 1630 || killedrid== 1147 || killedrid== 1087 || killedrid== 1038 || killedrid== 1492 || killedrid== 1272 || killedrid== 1373 || killedrid== 1418 || killedrid== 1511 ||killedrid== 1190){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+1; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 1 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1059 || killedrid== 1871 || killedrid== 2068 || killedrid== 1719 || killedrid== 1046 || killedrid== 1658 || killedrid== 1885 || killedrid== 1252 || killedrid== 1734 || killedrid== 1623 || killedrid== 1685){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+3; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 3 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1647 || killedrid== 1648 || killedrid== 1649 || killedrid== 1650 || killedrid== 1651 || killedrid== 1646){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+5; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 5 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 1874 || killedrid== 1832 || killedrid== 1779 || killedrid== 1668 || killedrid== 1990 || killedrid== 1708 || killedrid== 1917 || killedrid== 1768 || killedrid== 1583 || killedrid== 1751){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+10; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 10 Pontos MvP! Agora você possui "+PontoMvp+" pontos."; } if(killedrid== 2022 || killedrid== 1956){ for($i = 0; $i < getarraysize(.@mapname$); $i++) { if(@map$ == .@mapname$[$i]) { message strcharinfo(0),"[Servidor] - Mvp Point Off."; end; } } set PontoMvp,PontoMvp+15; dispbottom "Parabéns "+strcharinfo(0)+", Sua recompensa por derrotar esse montros é 15 Ponto MvP! Agora você possui "+PontoMvp+" pontos."; } end; }
Não testei então não sei se está funcionando, o método é alternativo e considerado fora de boas práticas, procure uma forma de otimizar, foi o que veio na cabeça do noob aqui, bom proveito ! (y)
-
Os créditos do npc está no cabeçalho, peguei aqui no Hercules mesmo à bastante tempo, te garanto que está 100% funcional e facilmente configurável.
Bom proveito !
-
Hello, there is an ad with special characters that I do not know where it is coming from, it does not appear in the chat even with all the options selected, if someone knows how I do it, I'll be happy.
SS below:
Ps: sorry my bad english
-
-
Thank so much, solved, can closed this topic...
I'm a web programmer but I do not understand the rag language yet, I've read the documentation once a while ago, but I've forgotten almost everything, thanks for the light, already solved my problem.
-
Good night, I would like to make a monster of a guild and that monster attacks non-guild people, my idea is to put the monster on the guild point map and change its status to kill the intruders with ease, the problem Is that I do not even know if this is possible, could someone give me a light? Any help is welcome and I can begin with gratefulness.
-
If not ask too much could you give me a simple example please?
Thank you in advance.
Thanks for answering me.
-
First of all I'm sorry if you have the solution out there and did not see it, I really searched and did not find ....
I would like to ask how do I restrict a card from being equipped in a certain equipment.
For example .... I do not want the gibbet card to be equipped in the red glasses, how do I?
If anyone can give me at least an idea how to do this I already thank
Thank you in advancePS: Sorry for writing mistakes, I use a translator and I think this part of the forum is a lot more productive than my native language.
-
First of all thank you for trying to help me ...
Unfortunately it did not work, I tried both methods and none worked, I made sure I was using it in the correct location, I ran several tests and none worked.
case MO_BODYRELOCATION: if(sc && sc->data[SC_ANKLESNARE]) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); break; } if( sc && sc->data[SC_EXPLOSIONSPIRITS] ) req.spiritball = 0; break;
case MO_BODYRELOCATION: if(sc && sc->data[SC_ANKLESNARE]) { clif->skill_fail(sd,MO_BODYRELOCATION,USESKILL_FAIL_LEVEL,0); break; } if( sc && sc->data[SC_EXPLOSIONSPIRITS] ) req.spiritball = 0; break;
Thankfully there are people like you, thank you...
-
@edit
Can anyone help me at least in a workaround? You can get around with the skill snap even though being trapped in traps is being horrible for my server, please somebody help me evolve, give me at least the direction!
-
Good morning, can someone help me block the use of the skill BODYRELOCATION when in trap? I tried to make some settings in the functions below but I did not succeed.
skill.c
case MO_BODYRELOCATION: if (unit->movepos(src, x, y, 1, 1)) { #if PACKETVER >= 20111005 clif->snap(src, src->x, src->y); #else clif->skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick); #endif if (sd) skill->blockpc_start (sd, MO_EXTREMITYFIST, 1000); } break;
case UNT_SPIDERWEB: if( sc && sc->data[SC_SPIDERWEB] && sc->data[SC_SPIDERWEB]->val1 > 0 ) { // If you are fiberlocked and can't move, it will only increase your fireweakness level. [Inkfish] sc->data[SC_SPIDERWEB]->val2++; break; } else if (sc && battle->check_target(&src->bl,bl,sg->target_flag) > 0) { int sec = skill->get_time2(sg->skill_id,sg->skill_lv); if( status->change_start(ss, bl,type,10000,sg->skill_lv,1,sg->group_id,0,sec,SCFLAG_FIXEDRATE) ) { const struct TimerData* td = sce?timer->get(sce->timer):NULL; if( td ) sec = DIFF_TICK32(td->tick, tick); map->moveblock(bl, src->bl.x, src->bl.y, tick); clif->fixpos(bl); sg->val2 = bl->id; } else { sec = 3000; //Couldn't trap it? } sg->limit = DIFF_TICK32(tick,sg->tick)+sec; } break;
Thank you in advance ! +1
Please, help me ! :unsure:
-
I would like to know how do I change the distance that the asura skill succeeds, the skill is leaving with 3 cells away, I would like to put 1 cell, does anyone know to inform me please?
I already looked in source and the only thing I found was the distance that the character walks after using the asura skill, what I want is to change the cells before using the skill !
Thanks !
@EDIT
WTF...
It was not in the source but in the file skill.db, I'm sorry for the useless topic, I'm very noob yet!
can close this topic
Unknown Message
in General Server Support
Posted
Sorry for the delay to respond, had not seen before, could you tell me what is this npc? I searched and did not find or did not understand!