Jump to content
  • 0

removing buffs


rayleigh

Question


  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

How can I remove buffs when recalling a player on a certain map.

 

Buffs like soul link , blessing etc.

 

Thanks in advance

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Secret and emistry already answered, you just need to use sc end command before you the warp command, or try using the custom function callfunc("dispell"); right before warping them

Dispell can be found https://github.com/Stolao/Npc_Release/blob/master/Custom_Functions/Dispell.txt

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

OnPCLoadMapEvent + sc_end

 

make sure the map added loadevent mapflag.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

OnPCLoadMapEvent + sc_end

 

onpcloadmapevent link shows how to give item

 

sc_end link I cant understand how to remove the buffs on a player coz the link is showing how to add status not to dispell

 

thanks for the reply emistry

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

sc_end SC_BLESSING;
sc_end SC_INCAGI;

You can just do it like this.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

sc_end SC_BLESSING;
sc_end SC_INCAGI;

You can just do it like this.

 

what will i do with this sir?

is this an npc or mapflag . sorry no idea.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

 

sc_end SC_BLESSING;
sc_end SC_INCAGI;

You can just do it like this.

 

what will i do with this sir?

is this an npc or mapflag . sorry no idea.

 

It's a NPC script command.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

 

 

sc_end SC_BLESSING;
sc_end SC_INCAGI;

You can just do it like this.

 

what will i do with this sir?

is this an npc or mapflag . sorry no idea.

 

It's a NPC script command.

 

 

You mean ill put it also on my npc/custom ?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

  • 0

  • Group:  Members
  • Topic Count:  57
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   0
  • Joined:  09/05/13
  • Last Seen:  

For example if a player is recalled in guild_vs1, vs2, vs3, vs4, vs5

All of the buffs are dispelled but not the cart and falcon

as sc_end will end all the buff icluding the rented items.

up

help

help me on this anyone? removing buffs each time i recalled player on a map... Its for war events. to avoid having 3rd party buffs.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

Badly need this  /pat

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