weckel51 Posted August 13, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 01/08/12 Last Seen: August 31, 2015 Share Posted August 13, 2013 //http://rathena.org/board/topic/57784-request-dota-runes/page__fromsearch__1 guild_vs3,50,61,4 script Runes 678,2,2,{ dispbottom "Walkthrough to get Runes."; end; OnTouch: switch( .Runes ){ Case 1: sc_start SC_INCATKRATE,( .Duration * 1000 ),100; sc_start SC_INCMATKRATE,( .Duration * 1000 ),100; break; Case 2: skill "AS_CLOAKING",10,1; sc_start SC_CLOAKING,( .Duration * 1000 ),10; break; Case 3: sc_start4 SC_REGENERATION,( .Duration * 1000 ),-10,1,0,0; break; Case 4: getmapxy( .@Map$,.@X,.@Y,0,strcharinfo(0) ); clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration; clone .@Map$,.@X,.@Y,"",getcharid(0),getcharid(0),"",1,.Duration; break; Case 5: sc_start SC_SpeedUp1,( .Duration * 1000 ),0; break; default: end; } announce "[ "+strcharinfo(0)+" ] has gained "+.Names$[.Runes]+".",bc_self,0x00FF00; hideonnpc strnpcinfo(0); delwaitingroom; set .Runes,0; set .RuneDelay,gettimetick(2) + .Duration; while( .RuneDelay > gettimetick(2) ) sleep2 1000; OnInit: // Runes Duration in Seconds set .Duration,60; // Name of Each Runes. setarray .Names$[1], "Double Damage", // 2 x ATK Rate "Invisibility", // Cloaking "Regeneration", // HP / SP Regeneration " Clone", // Create 2 Clones " Haste"; // Improve Movement Speed // Random Coordinate where NPC will Shown Again setarray .CoordinateX[0],50,19; setarray .CoordinateY[0],81,50; sc_end SC_CLOAKING; sc_end SC_REGENERATION; set .Random,rand( getarraysize( .CoordinateX ) ); movenpc strnpcinfo(0),.CoordinateX[ .Random ],.CoordinateY[ .Random ]; hideoffnpc strnpcinfo(0); if( !.Runes ) set .Runes,rand( 1,( getarraysize( .Names$ ) - 1 ) ); if( .Runes ) waitingroom " "+.Names$[.Runes],0; end; } Anyone Can Help Me how To make This Announce To map not Self Announce. thank you Quote Link to comment Share on other sites More sharing options...
Jasc Posted August 13, 2013 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 270 Reputation: 20 Joined: 12/10/11 Last Seen: June 28, 2022 Share Posted August 13, 2013 change bc_self to bc_map Quote Link to comment Share on other sites More sharing options...
Question
weckel51
Anyone Can Help Me how To make This Announce To map not Self Announce. thank you![:)](https://rathena.org/board/uploads/emoticons/default_smile.png)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.