Jump to content
  • 0

Run sc_status on all players of map x.


Question

Posted

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.

2 answers to this question

Recommended Posts

  • 0
Posted

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

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