karazu 33 Posted November 5, 2013 Is it possible that in a certain map all the players will get buffs like Agi and Bless every 1 min? Quote Share this post Link to post Share on other sites
0 kyeme 71 Posted November 5, 2013 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;} 3 karazu, jaBote and Mumbles reacted to this Quote Share this post Link to post Share on other sites
0 karazu 33 Posted November 5, 2013 (edited) 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 November 5, 2013 by karazu Quote Share this post Link to post Share on other sites
0 kyeme 71 Posted November 5, 2013 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;} Quote Share this post Link to post Share on other sites
0 kyeme 71 Posted November 5, 2013 Ohh ok so its in all map? wow ok I wll test it.. Yes in my 1st post. Quote Share this post Link to post Share on other sites
0 karazu 33 Posted November 5, 2013 Ohh ok so its in all map? wow ok I wll test it.. Yes in my 1st post. I will use the 1st POST, Thank you very much. Quote Share this post Link to post Share on other sites
Is it possible that in a certain map all the players will get buffs like Agi and Bless every 1 min?
Share this post
Link to post
Share on other sites