Jump to content
  • 0
Sign in to follow this  
karazu

Autobuff

Question

5 answers to this question

Recommended Posts

  • 0

Is it possible that in a certain map all the players will get buffs like Agi and Bless every 1 min?

Yes

-	script	autobuffs	-1,{OnPCLoginEvent:	addtimer 60000,"autobuffs::OnBuffs";	end;OnBuffs:	sc_start SC_INC_AGI,240000,10;	sc_start SC_BLESSING,240000,10;	specialeffect2 EF_INCAGILITY;	specialeffect2 EF_BLESSING;	addtimer 60000,"autobuffs::OnBuffs";	end;}

Share this post


Link to post
Share on other sites
  • 0

 

Is it possible that in a certain map all the players will get buffs like Agi and Bless every 1 min?

Yes

-	script	autobuffs	-1,{OnPCLoginEvent:	addtimer 60000,"autobuffs::OnBuffs";	end;OnBuffs:	sc_start SC_INC_AGI,240000,10;	sc_start SC_BLESSING,240000,10;	specialeffect2 EF_INCAGILITY;	specialeffect2 EF_BLESSING;	addtimer 60000,"autobuffs::OnBuffs";	end;}

where to put the map? like for example   prontera,izlude

 

 

Ohh ok so its in all map? wow ok I wll test it..

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

 

 

Is it possible that in a certain map all the players will get buffs like Agi and Bless every 1 min?

Yes

-	script	autobuffs	-1,{OnPCLoginEvent:	addtimer 60000,"autobuffs::OnBuffs";	end;OnBuffs:	sc_start SC_INC_AGI,240000,10;	sc_start SC_BLESSING,240000,10;	specialeffect2 EF_INCAGILITY;	specialeffect2 EF_BLESSING;	addtimer 60000,"autobuffs::OnBuffs";	end;}

where to put the map? like for example   prontera,izlude

Ok here:

-	script	autobuffs	-1,{OnInit:	setarray .@map_name$, "prontera","izlude";	.@size_map = getarraysize( .@map_name$ );	for ( .@i = 0; .@i < .@size_map; .@i++ )		setmapflag .@map_name$[.@i], mf_loadevent;	.map$ = implode( .@map_name$, "|" );	end;OnPCLoadMapEvent:	if (!compare(.map$,strcharinfo(3))) end;	addtimer 60000,"autobuffs::OnBuffs";	end;OnBuffs:	sc_start SC_INC_AGI,240000,10;	sc_start SC_BLESSING,240000,10;	specialeffect2 EF_INCAGILITY;	specialeffect2 EF_BLESSING;	addtimer 60000,"autobuffs::OnBuffs";	end;}

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.