Jump to content
  • 0

clif_specialeffect


Bringer

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  743
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

i have little question about this

clif_specialeffect(&sd->bl, 11, AREA_WOS);

This would show the Endure skill visual effect on given player for everyone in his or her range, except the player him- or herself.

how about the effect given on the Target?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

7 hours ago, Bringer said:

i have little question about this

clif_specialeffect(&sd->bl, 11, AREA_WOS);

This would show the Endure skill visual effect on given player for everyone in his or her range, except the player him- or herself.

how about the effect given on the Target?

4

clif.hpp:

enum send_target : uint8_t {
	ALL_CLIENT = 0,
	ALL_SAMEMAP,
	AREA,				// area
	AREA_WOS,			// area, without self
	AREA_WOC,			// area, without chatrooms
	AREA_WOSC,			// area, without own chatroom
	AREA_CHAT_WOC,		// hearable area, without chatrooms
	CHAT,				// current chatroom
	CHAT_WOS,			// current chatroom, without self
	PARTY,
	PARTY_WOS,
	PARTY_SAMEMAP,
	PARTY_SAMEMAP_WOS,
	PARTY_AREA,
	PARTY_AREA_WOS,
	GUILD,
	GUILD_WOS,
	GUILD_SAMEMAP,
	GUILD_SAMEMAP_WOS,
	GUILD_AREA,
	GUILD_AREA_WOS,
	GUILD_NOBG,
	DUEL,
	DUEL_WOS,
	SELF,

A target like what? You need to replace &sd->bl address to target_bl one (this depends on your code).

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  743
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

12 hours ago, Anacondaqq said:

clif.hpp:


enum send_target : uint8_t {
	ALL_CLIENT = 0,
	ALL_SAMEMAP,
	AREA,				// area
	AREA_WOS,			// area, without self
	AREA_WOC,			// area, without chatrooms
	AREA_WOSC,			// area, without own chatroom
	AREA_CHAT_WOC,		// hearable area, without chatrooms
	CHAT,				// current chatroom
	CHAT_WOS,			// current chatroom, without self
	PARTY,
	PARTY_WOS,
	PARTY_SAMEMAP,
	PARTY_SAMEMAP_WOS,
	PARTY_AREA,
	PARTY_AREA_WOS,
	GUILD,
	GUILD_WOS,
	GUILD_SAMEMAP,
	GUILD_SAMEMAP_WOS,
	GUILD_AREA,
	GUILD_AREA_WOS,
	GUILD_NOBG,
	DUEL,
	DUEL_WOS,
	SELF,

A target like what? You need to replace &sd->bl address to target_bl one (this depends on your code).

 

on the enemy i want to display the special effect on enemy target
this is my code right now 

		case PA_newskill:
			clif_specialeffect(&sd->bl, 494, AREA);
			skillratio += 100 + 30 * skill_lv;
			break;

 

Edited by Bringer
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/14/23
  • Last Seen:  

On 9/8/2023 at 4:41 PM, paxtonleiny said:
On 12/24/2017 at 9:12 AM, Bringer said:

i have little question about this 

geometry dash

clif_specialeffect(&sd->bl, 11, AREA_WOS);

This would show the Endure skill visual effect on given player for everyone in his or her range, except the player him- or herself.

how about the effect given on the Target?

A... of what kind? It may be necessary to change the value of &sd->bl to target_bl in your code.

I also think so.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  743
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

It's okay, guys. I already fixed this a long time ago.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  03/14/24
  • Last Seen:  

On 9/15/2023 at 8:27 AM, Bringer said:

It's okay, guys. I already fixed this a long time ago.  bob the robber

This is a good news. Thanks

Link to comment
Share on other sites

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.

×
×
  • Create New...