Jump to content

Question

Posted

 

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!!

2 answers to this question

Recommended Posts

  • 0
Posted (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.

Fontehttps://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.

Fonthttps://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 by Tanlor
  • 0
Posted
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.

Fontehttps://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.

Fonthttps://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!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...