Jump to content
  • 0

clif_specialeffect


Question

Posted

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?

3 answers to this question

Recommended Posts

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

 

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

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