Jump to content
  • 0

remove @effect in character


Question

Posted

Good night. A [gm] from my server was testing various visual items and some of them put this @effect in the character and I did not find it in the official documentation, nor here in the forum as it does to remove an already applied effect on a character.

I thank the attention.

 

effect.png

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
1 hour ago, Tassadar said:

Good night. A [gm] from my server was testing various visual items and some of them put this @effect in the character and I did not find it in the official documentation, nor here in the forum as it does to remove an already applied effect on a character.

I thank the attention.

 

effect.png

For test (Remove all hat_effects and add selected effect to char)
ID 0 = no effect

prontera,170,180,1	script	Test hat effect#test_effects	122,{
	for(.@i = 0; .@i < 100; ++.@i){
		hateffect .@i,false;
	}
  	input .@ID;
  	hateffect .@ID,true;
	end;
}

Script info: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt

*hateffect(<Hat Effect ID>,<State>);

This will set a Hat Effect onto the player. The state field allows you to
enable (true) or disable (false) the effect on the player.
The Hat Effect constants can be found in 'src/map/script_constants.h' starting
with HAT_EF_*.

Requires client 2015-05-13aRagEXE or newer.

You can change effects in your data.grf (hateffectinfo.lub)
hatEffectID = effect ID
image.thumb.png.c236b54124c1b70579899a99c34c7774.png

Edited by Balfear
  • Upvote 1
  • Love 1
  • Like 1

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