Jump to content
  • 0

Run sc_status on all players of map x.


Jhedzkie

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

I'm trying to create a script for an mob event. 
Ex.
When a player kills a special monster, it will trigger a buff that will affect all players in the map. Is it doable?
Just a hint would suffice. I can most probably deal with the rest.
Thanks in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

I tried running it and it buffs all the players in the same map.

prontera,155,161,4	script	addrid_test	456,{

	monster "prontera",155,161,"Poring",1002,1, strnpcinfo(0) + "::OnAddridKill";
	end;
	
OnAddridKill:
	addrid(1,0,"prontera");
	specialeffect2 EF_INCAGILITY;
	sc_start SC_INCREASEAGI,240000,10;
	specialeffect2 EF_BLESSING;
	sc_start SC_BLESSING,240000,10;
	end;
}

 

  • Love 1
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

1 hour ago, Radian said:

I tried running it and it buffs all the players in the same map.


prontera,155,161,4	script	addrid_test	456,{

	monster "prontera",155,161,"Poring",1002,1, strnpcinfo(0) + "::OnAddridKill";
	end;
	
OnAddridKill:
	addrid(1,0,"prontera");
	specialeffect2 EF_INCAGILITY;
	sc_start SC_INCREASEAGI,240000,10;
	specialeffect2 EF_BLESSING;
	sc_start SC_BLESSING,240000,10;
	end;
}

 

Exactly what I need. Thanks for the help.

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