Bringer Posted December 24, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 747 Reputation: 47 Joined: 03/12/14 Last Seen: 2 hours ago Share Posted December 24, 2017 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? Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted December 24, 2017 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 346 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted December 24, 2017 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). Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted December 24, 2017 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 747 Reputation: 47 Joined: 03/12/14 Last Seen: 2 hours ago Author Share Posted December 24, 2017 (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 December 24, 2017 by Bringer Quote Link to comment Share on other sites More sharing options...
0 Bringer Posted September 15, 2023 Group: Members Topic Count: 162 Topics Per Day: 0.04 Content Count: 747 Reputation: 47 Joined: 03/12/14 Last Seen: 2 hours ago Author Share Posted September 15, 2023 It's okay, guys. I already fixed this a long time ago. Quote Link to comment Share on other sites More sharing options...
Question
Bringer
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
3 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.