Onitsuka Posted May 25, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 02/23/12 Last Seen: June 22, 2012 Share Posted May 25, 2012 Anyone can give me script like that? when player kill miniboss or boss will drop tcg card Quote Link to comment Share on other sites More sharing options...
SlashGeeGee Posted May 25, 2012 Group: Members Topic Count: 111 Topics Per Day: 0.02 Content Count: 573 Reputation: 20 Joined: 11/19/11 Last Seen: October 24, 2014 Share Posted May 25, 2012 (edited) well i searched on eA and found this : - script Items -1,{ OnNPCKillEvent: setarray .mobid[0],1511,1647,1785,1630,1399,1039,1874,2068,1272,1719,1046,1389,1112,1115,1957, 1418,1871,1252,1768,1086,1688,1646, 1373,1147,1059,1150,1956,2022,1087,1190,1038,1157,1159,1502,1623,1650,1583, 1708,1312,1751,1685,1648,1917,1658; // MvP Ids for (set .@c, 0; .@c < getarraysize(.mobid); set .@c, .@c + 1){ if (killedrid == .mobid[.@c]){ getitem 7227,1; //==== TCG Card <itemid>,<amount> you can change it. } } end; } Credits to Emistry Edited May 25, 2012 by SlashGeeGee Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 25, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted May 25, 2012 find any of the Boss Killed Announcer.. and change the announce part into getitem ..... Quote Link to comment Share on other sites More sharing options...
Hades03 Posted May 25, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Share Posted May 25, 2012 can you make itif i spaw a monster will be announce GM Jam bla bla bla 25 monster blabla bla Quote Link to comment Share on other sites More sharing options...
Onitsuka Posted May 25, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 02/23/12 Last Seen: June 22, 2012 Author Share Posted May 25, 2012 - script GlobalMvP::GlobalMvP -1,{OnNPCKillEvent: switch (killedrid) { // Amon Ra case 1511: announce "The user: "+ strcharinfo(0) +" has killed: Amon Ra",bc_blue; set MVPTotal, MVPTotal + 1; set LAmonRa, LAmonRa + 1; set @nom$, strcharinfo(0); callfunc ("rankmvp",MVPTotal,@nom$); end; if i use mvp anouncer like where where to add getitem? Quote Link to comment Share on other sites More sharing options...
Hades03 Posted May 25, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 242 Reputation: 3 Joined: 01/01/12 Last Seen: August 14, 2015 Share Posted May 25, 2012 no killed no i mean gm jam has summoned soccer ball you know fullro right? or no? Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted May 25, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted May 25, 2012 (edited) use Emistry code - script Sample -1,{ function CustomRateCard; OnNPCKillEvent: // CustomRateCard( <MobID>,<CardID>,<Rate> ); // Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100% CustomRateCard( 1634,673,1500 ); CustomRateCard( 1635,671,1000 ); CustomRateCard( 1636,673,1500 ); CustomRateCard( 1637,671,1000 ); CustomRateCard( 1638,673,1500 ); CustomRateCard( 1582,4174,800 ); CustomRateCard( 1120,4047,800 ); CustomRateCard( 1096,4054,800 ); CustomRateCard( 1086,4128,1 ); CustomRateCard( 1002,673,300 ); end; function CustomRateCard { if( killedrid == getarg(0) && rand( 10000 ) <= getarg(2) ){ getitem getarg(1),1; } return; } } - just change all the post i made its my custom in my server.. Edited May 25, 2012 by GM Takumirai Quote Link to comment Share on other sites More sharing options...
Onitsuka Posted May 25, 2012 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 33 Reputation: 0 Joined: 02/23/12 Last Seen: June 22, 2012 Author Share Posted May 25, 2012 ok done thanx all Quote Link to comment Share on other sites More sharing options...
Question
Onitsuka
Anyone can give me script like that?
when player kill miniboss or boss will drop tcg card
Link to comment
Share on other sites
7 answers 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.