christofereduardo Posted February 4, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 36 Reputation: 2 Joined: 06/06/13 Last Seen: May 4, 2024 Share Posted February 4, 2019 The script is petrifying the char. I'm not finding the problem. Someone can audition me. prontera,150,188,3 script Encantadorinha 4_F_04,{ mes "[ Encantadora ]"; mes "Olá, bem vindo (a), eu posso Encantar a sua Arma com qualquer elemento por 5 minutos!"; mes "Deseja conferir o serviço?"; next; if(select("Sim.:Não.")==2){ mes "[ Encantadora ]"; mes "Volte quando precisar."; close; } mes "[ Encantadora ]"; mes "Qual elemento você quer?"; next; switch(select("Geada.:Chama.:Terremoto.:Ventania.:Sagrado.:Maldito.:Sair.")){ case 1: skilleffect 281,0; sc_start SC_FROST_WEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Geada, Duração: 5 Minutos, Level 5 close; case 2: skilleffect 280,0; sc_start SC_FIREWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Chama, Duração: 5 Minutos, Level 5 close; case 3: skilleffect 283,0; sc_start SC_SEISMICWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Terremoto, Duração: 5 Minutos, Level 5 close; case 4: skilleffect 282,0; sc_start SC_LIGHTNINGLOADER,2000000,5; // 400000 = 1 Minuto: Encantar com Ventania, Duração: 5 Minutos, Level 5 close; case 5: skilleffect 68,0; sc_start SC_ASPERSIO,60000,5; // 60000 = 1 Minuto: Encantar com Sagrado, Duração: 5 Minutos, Level 5 close; case 6: skilleffect 281,0; sc_start SC_SHADOWWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Maldito, Duração: 5 Minutos, Level 5 close; case 7: close; } } Thank you!! Quote Link to comment Share on other sites More sharing options...
0 Tanlor Posted February 4, 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 4, 2019 (edited) Spoiler Você fala Português, Edu? O char petrifica porque você usou um Status Change que não existe no rAthena, provavelmente esse Script foi feito pra algum outro emulador. A lista dos correspondentes Status que você quer, são: SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1: Então só substituir os SC_ que provavelmente vai funcionar. Fonte: https://github.com/rathena/rathena/blob/master/doc/status_change.txt A animação de encantar tá saindo também? Se não tiver, recomendo que use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283; *specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command. Não vou te dar o Script pronto porque é melhor pro seu aprendizado que substitua pelo menos os valores. Caso mesmo assim você não consiga, posta o Script com suas edições aqui que eu te ajudo. Abraços! English: Do you speak Portuguese? The char Petrifies because you're using a SC_ value that don't exists on rAthena. The following ones will work with the same effect you wish on your Script: SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1: So, just change the SC_ effects and probably it'll work. Font: https://github.com/rathena/rathena/blob/master/doc/status_change.txt The enchant animation is working too? If isn't, i suggest you to use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283; *specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command. If it keeps not working, please post the edited Script here and I can help you some more. Good luck! Edited February 4, 2019 by Tanlor Quote Link to comment Share on other sites More sharing options...
0 christofereduardo Posted February 5, 2019 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 36 Reputation: 2 Joined: 06/06/13 Last Seen: May 4, 2024 Author Share Posted February 5, 2019 23 hours ago, Tanlor said: Hide contents Você fala Português, Edu? O char petrifica porque você usou um Status Change que não existe no rAthena, provavelmente esse Script foi feito pra algum outro emulador. A lista dos correspondentes Status que você quer, são: SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1: Então só substituir os SC_ que provavelmente vai funcionar. Fonte: https://github.com/rathena/rathena/blob/master/doc/status_change.txt A animação de encantar tá saindo também? Se não tiver, recomendo que use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283; *specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command. Não vou te dar o Script pronto porque é melhor pro seu aprendizado que substitua pelo menos os valores. Caso mesmo assim você não consiga, posta o Script com suas edições aqui que eu te ajudo. Abraços! English: Do you speak Portuguese? The char Petrifies because you're using a SC_ value that don't exists on rAthena. The following ones will work with the same effect you wish on your Script: SC_FIREWEAPON (EFST_PROPERTYFIRE) desc: Change weapon element to Fire element val1: SC_WATERWEAPON (EFST_PROPERTYWATER) desc: Change weapon element to Water element val1: SC_WINDWEAPON (EFST_PROPERTYWIND) desc: Change weapon element to Wind element val1: SC_EARTHWEAPON (EFST_PROPERTYGROUND) desc: Change weapon element to Earth element val1: So, just change the SC_ effects and probably it'll work. Font: https://github.com/rathena/rathena/blob/master/doc/status_change.txt The enchant animation is working too? If isn't, i suggest you to use specialeffect2 280; specialeffect2 281; specialeffect2 282; specialeffect2 283; *specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}}; This command behaves identically to 'specialeffect', but the effect will be centered on the invoking character's sprite. <Player name> parameter will display <effect number> on another Player than the one currently attached to the script. Like with specialeffect, when specifying a player, <send_target> must be supplied, specifying AREA will retain the default behavior of the command. If it keeps not working, please post the edited Script here and I can help you some more. Good luck! ok Thank you!! Quote Link to comment Share on other sites More sharing options...
Question
christofereduardo
The script is petrifying the char. I'm not finding the problem. Someone can audition me.
prontera,150,188,3 script Encantadorinha 4_F_04,{ mes "[ Encantadora ]"; mes "Olá, bem vindo (a), eu posso Encantar a sua Arma com qualquer elemento por 5 minutos!"; mes "Deseja conferir o serviço?"; next; if(select("Sim.:Não.")==2){ mes "[ Encantadora ]"; mes "Volte quando precisar."; close; } mes "[ Encantadora ]"; mes "Qual elemento você quer?"; next; switch(select("Geada.:Chama.:Terremoto.:Ventania.:Sagrado.:Maldito.:Sair.")){ case 1: skilleffect 281,0; sc_start SC_FROST_WEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Geada, Duração: 5 Minutos, Level 5 close; case 2: skilleffect 280,0; sc_start SC_FIREWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Chama, Duração: 5 Minutos, Level 5 close; case 3: skilleffect 283,0; sc_start SC_SEISMICWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Terremoto, Duração: 5 Minutos, Level 5 close; case 4: skilleffect 282,0; sc_start SC_LIGHTNINGLOADER,2000000,5; // 400000 = 1 Minuto: Encantar com Ventania, Duração: 5 Minutos, Level 5 close; case 5: skilleffect 68,0; sc_start SC_ASPERSIO,60000,5; // 60000 = 1 Minuto: Encantar com Sagrado, Duração: 5 Minutos, Level 5 close; case 6: skilleffect 281,0; sc_start SC_SHADOWWEAPON,2000000,5; // 400000 = 1 Minuto: Encantar com Maldito, Duração: 5 Minutos, Level 5 close; case 7: close; } }
Thank you!!
Link to comment
Share on other sites
2 answers to this question
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.