Advertisement
Guest User

OnMVPDead

a guest
Apr 23rd, 2016
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.16 KB | None | 0 0
  1. // -----------------------------------------------------------------------//
  2. // Panda Script Collections //
  3. // OnMVPDead - Use together with Boss Spawn Script //
  4. // -----------------------------------------------------------------------//
  5. // By PandaLovesHamster //
  6. // -----------------------------------------------------------------------//
  7. // Changelog: //
  8. // v1.0 - Initial Release //
  9. // -----------------------------------------------------------------------//
  10. // For more additional stuff, let me know //
  11. // -----------------------------------------------------------------------//
  12. // Instructions: //
  13. //how to add: //
  14. //make sure you put the npc script on where the map //
  15. //the boss monster will spawn //
  16. //after which, just copy and paste the codes below, you don't have to //
  17. //change anything, it will automatically fill the variables on its own //
  18. //note; //
  19. //you can change the bonus items given if you kill a boss, refer to: //
  20. //.items[0] to change it //
  21. // -----------------------------------------------------------------------//
  22.  
  23.  
  24. ama_dun03,1,1,0 script Samurai Specter#boss 123,{
  25.  
  26. OnMVPDead:
  27. set .@GID,getcharid(2);
  28. set .@rand,rand(1,5);
  29. set .@map$,strcharinfo(3);
  30. removemapflag .@map$,mf_pvp;
  31. removemapflag .@map$,mf_loadevent;
  32. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  33. set #MVPPoints,#MVPPoints +.@rand;
  34. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  35. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  36. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  37. getitem .items[ .@i ], .items[ .@i + 1 ];
  38. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  39. }
  40. }
  41. initnpctimer;
  42. end;
  43. OnTimer3300000:
  44. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  45. end;
  46. OnTimer3600000:
  47. stopnpctimer;
  48. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  49. setmapflag .@map$,mf_pvp;
  50. setmapflag .@map$,mf_loadevent;
  51. end;
  52.  
  53. OnInit:
  54. set .@map$,strnpcinfo(4);
  55. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  56. // <item id>,<amount>,<chance>
  57. setarray .items[0],674,1,10
  58. ,30030,1,10;
  59. end;
  60.  
  61. }
  62.  
  63. anthell01,1,1,0 script Phreeoni#boss 111,{
  64.  
  65. OnMVPDead:
  66. set .@GID,getcharid(2);
  67. set .@rand,rand(1,5);
  68. set .@map$,strcharinfo(3);
  69. removemapflag .@map$,mf_pvp;
  70. removemapflag .@map$,mf_loadevent;
  71. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  72. set #MVPPoints,#MVPPoints +.@rand;
  73. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  74. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  75. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  76. getitem .items[ .@i ], .items[ .@i + 1 ];
  77. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  78. }
  79. }
  80. initnpctimer;
  81. end;
  82. OnTimer3300000:
  83. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  84. end;
  85. OnTimer3600000:
  86. stopnpctimer;
  87. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  88. setmapflag .@map$,mf_pvp;
  89. setmapflag .@map$,mf_loadevent;
  90. end;
  91.  
  92. OnInit:
  93. set .@map$,strnpcinfo(4);
  94. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  95. // <item id>,<amount>,<chance>
  96. setarray .items[0],674,1,10
  97. ,30030,1,10;
  98. end;
  99.  
  100. }
  101.  
  102. anthell02,1,1,0 script Maya#boss 111,{
  103.  
  104. OnMVPDead:
  105. set .@GID,getcharid(2);
  106. set .@rand,rand(1,5);
  107. set .@map$,strcharinfo(3);
  108. removemapflag .@map$,mf_pvp;
  109. removemapflag .@map$,mf_loadevent;
  110. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  111. set #MVPPoints,#MVPPoints +.@rand;
  112. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  113. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  114. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  115. getitem .items[ .@i ], .items[ .@i + 1 ];
  116. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  117. }
  118. }
  119. initnpctimer;
  120. end;
  121. OnTimer3300000:
  122. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  123. end;
  124. OnTimer3600000:
  125. stopnpctimer;
  126. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  127. setmapflag .@map$,mf_pvp;
  128. setmapflag .@map$,mf_loadevent;
  129. end;
  130.  
  131. OnInit:
  132. set .@map$,strnpcinfo(4);
  133. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  134. // <item id>,<amount>,<chance>
  135. setarray .items[0],674,1,10
  136. ,30030,1,10;
  137. end;
  138.  
  139.  
  140. }
  141.  
  142. gef_fild14,1,1,0 script Orc Hero#boss 111,{
  143.  
  144. OnMVPDead:
  145. set .@GID,getcharid(2);
  146. set .@rand,rand(1,5);
  147. set .@map$,strcharinfo(3);
  148. removemapflag .@map$,mf_pvp;
  149. removemapflag .@map$,mf_loadevent;
  150. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  151. set #MVPPoints,#MVPPoints +.@rand;
  152. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  153. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  154. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  155. getitem .items[ .@i ], .items[ .@i + 1 ];
  156. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  157. }
  158. }
  159. initnpctimer;
  160. end;
  161. OnTimer3300000:
  162. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  163. end;
  164. OnTimer3600000:
  165. stopnpctimer;
  166. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  167. setmapflag .@map$,mf_pvp;
  168. setmapflag .@map$,mf_loadevent;
  169. end;
  170.  
  171. OnInit:
  172. set .@map$,strnpcinfo(4);
  173. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  174. // <item id>,<amount>,<chance>
  175. setarray .items[0],674,1,10
  176. ,30030,1,10;
  177. end;
  178.  
  179.  
  180. }
  181.  
  182. gl_chyard,1,1,0 script Dark Lord#boss 111,{
  183.  
  184. OnMVPDead:
  185. set .@GID,getcharid(2);
  186. set .@rand,rand(1,5);
  187. set .@map$,strcharinfo(3);
  188. removemapflag .@map$,mf_pvp;
  189. removemapflag .@map$,mf_loadevent;
  190. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  191. set #MVPPoints,#MVPPoints +.@rand;
  192. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  193. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  194. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  195. getitem .items[ .@i ], .items[ .@i + 1 ];
  196. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  197. }
  198. }
  199. initnpctimer;
  200. end;
  201. OnTimer3300000:
  202. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  203. end;
  204. OnTimer3600000:
  205. stopnpctimer;
  206. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  207. setmapflag .@map$,mf_pvp;
  208. setmapflag .@map$,mf_loadevent;
  209. end;
  210.  
  211. OnInit:
  212. set .@map$,strnpcinfo(4);
  213. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  214. // <item id>,<amount>,<chance>
  215. setarray .items[0],674,1,10
  216. ,30030,1,10;
  217. end;
  218.  
  219.  
  220. }
  221.  
  222. prt_maze03,1,1,0 script Baphomet#boss2 -1,{
  223.  
  224. OnMVPDead:
  225. set .@GID,getcharid(2);
  226. set .@rand,rand(1,5);
  227. set .@map$,strcharinfo(3);
  228. removemapflag .@map$,mf_pvp;
  229. removemapflag .@map$,mf_loadevent;
  230. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  231. set #MVPPoints,#MVPPoints +.@rand;
  232. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  233. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  234. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  235. getitem .items[ .@i ], .items[ .@i + 1 ];
  236. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  237. }
  238. }
  239. initnpctimer;
  240. end;
  241. OnTimer3300000:
  242. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  243. end;
  244. OnTimer3600000:
  245. stopnpctimer;
  246. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  247. setmapflag .@map$,mf_pvp;
  248. setmapflag .@map$,mf_loadevent;
  249. end;
  250.  
  251. OnInit:
  252. set .@map$,strnpcinfo(4);
  253. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  254. // <item id>,<amount>,<chance>
  255. setarray .items[0],674,1,10
  256. ,30030,1,10;
  257. end;
  258.  
  259.  
  260. }
  261.  
  262. gl_cas02,1,1,0 script Baphomet#boss1 -1,{
  263.  
  264. OnMVPDead:
  265. set .@GID,getcharid(2);
  266. set .@rand,rand(1,5);
  267. set .@map$,strcharinfo(3);
  268. removemapflag .@map$,mf_pvp;
  269. removemapflag .@map$,mf_loadevent;
  270. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  271. set #MVPPoints,#MVPPoints +.@rand;
  272. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  273. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  274. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  275. getitem .items[ .@i ], .items[ .@i + 1 ];
  276. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  277. }
  278. }
  279. initnpctimer;
  280. end;
  281. OnTimer3300000:
  282. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  283. end;
  284. OnTimer3600000:
  285. stopnpctimer;
  286. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  287. setmapflag .@map$,mf_pvp;
  288. setmapflag .@map$,mf_loadevent;
  289. end;
  290.  
  291. OnInit:
  292. set .@map$,strnpcinfo(4);
  293. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  294. // <item id>,<amount>,<chance>
  295. setarray .items[0],674,1,10
  296. ,30030,1,10;
  297. end;
  298.  
  299.  
  300. }
  301.  
  302. gon_dun03,1,1,0 script Dark Snake Lord#boss 111,{
  303.  
  304. OnMVPDead:
  305. set .@GID,getcharid(2);
  306. set .@rand,rand(1,5);
  307. set .@map$,strcharinfo(3);
  308. removemapflag .@map$,mf_pvp;
  309. removemapflag .@map$,mf_loadevent;
  310. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  311. set #MVPPoints,#MVPPoints +.@rand;
  312. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  313. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  314. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  315. getitem .items[ .@i ], .items[ .@i + 1 ];
  316. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  317. }
  318. }
  319. initnpctimer;
  320. end;
  321. OnTimer3300000:
  322. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  323. end;
  324. OnTimer3600000:
  325. stopnpctimer;
  326. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  327. setmapflag .@map$,mf_pvp;
  328. setmapflag .@map$,mf_loadevent;
  329. end;
  330.  
  331. OnInit:
  332. set .@map$,strnpcinfo(4);
  333. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  334. // <item id>,<amount>,<chance>
  335. setarray .items[0],674,1,10
  336. ,30030,1,10;
  337. end;
  338.  
  339.  
  340. }
  341.  
  342. gef_dun03,1,1,0 script Dracula#boss 111,{
  343.  
  344. OnMVPDead:
  345. set .@GID,getcharid(2);
  346. set .@rand,rand(1,5);
  347. set .@map$,strcharinfo(3);
  348. removemapflag .@map$,mf_pvp;
  349. removemapflag .@map$,mf_loadevent;
  350. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  351. set #MVPPoints,#MVPPoints +.@rand;
  352. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  353. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  354. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  355. getitem .items[ .@i ], .items[ .@i + 1 ];
  356. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  357. }
  358. }
  359. initnpctimer;
  360. end;
  361. OnTimer3300000:
  362. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  363. end;
  364. OnTimer3600000:
  365. stopnpctimer;
  366. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  367. setmapflag .@map$,mf_pvp;
  368. setmapflag .@map$,mf_loadevent;
  369. end;
  370.  
  371. OnInit:
  372. set .@map$,strnpcinfo(4);
  373. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  374. // <item id>,<amount>,<chance>
  375. setarray .items[0],674,1,10
  376. ,30030,1,10;
  377. end;
  378.  
  379. }
  380.  
  381. in_sphinx5,1,1,0 script Pharaoh#boss 111,{
  382.  
  383. OnMVPDead:
  384. set .@GID,getcharid(2);
  385. set .@rand,rand(1,5);
  386. set .@map$,strcharinfo(3);
  387. removemapflag .@map$,mf_pvp;
  388. removemapflag .@map$,mf_loadevent;
  389. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  390. set #MVPPoints,#MVPPoints +.@rand;
  391. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  392. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  393. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  394. getitem .items[ .@i ], .items[ .@i + 1 ];
  395. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  396. }
  397. }
  398. initnpctimer;
  399. end;
  400. OnTimer3300000:
  401. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  402. end;
  403. OnTimer3600000:
  404. stopnpctimer;
  405. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  406. setmapflag .@map$,mf_pvp;
  407. setmapflag .@map$,mf_loadevent;
  408. end;
  409.  
  410. OnInit:
  411. set .@map$,strnpcinfo(4);
  412. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  413. // <item id>,<amount>,<chance>
  414. setarray .items[0],674,1,10
  415. ,30030,1,10;
  416. end;
  417.  
  418. }
  419.  
  420. mjolnir_05,1,1,0 script Mistress#boss 111,{
  421.  
  422. OnMVPDead:
  423. set .@GID,getcharid(2);
  424. set .@rand,rand(1,5);
  425. set .@map$,strcharinfo(3);
  426. removemapflag .@map$,mf_pvp;
  427. removemapflag .@map$,mf_loadevent;
  428. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  429. set #MVPPoints,#MVPPoints +.@rand;
  430. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  431. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  432. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  433. getitem .items[ .@i ], .items[ .@i + 1 ];
  434. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  435. }
  436. }
  437. initnpctimer;
  438. end;
  439. OnTimer3300000:
  440. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  441. end;
  442. OnTimer3600000:
  443. stopnpctimer;
  444. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  445. setmapflag .@map$,mf_pvp;
  446. setmapflag .@map$,mf_loadevent;
  447. end;
  448.  
  449. OnInit:
  450. set .@map$,strnpcinfo(4);
  451. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  452. // <item id>,<amount>,<chance>
  453. setarray .items[0],674,1,10
  454. ,30030,1,10;
  455. end;
  456.  
  457. }
  458.  
  459. moc_pryd04,1,1,0 script Osiris#boss 111,{
  460.  
  461. OnMVPDead:
  462. set .@GID,getcharid(2);
  463. set .@rand,rand(1,5);
  464. set .@map$,strcharinfo(3);
  465. removemapflag .@map$,mf_pvp;
  466. removemapflag .@map$,mf_loadevent;
  467. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  468. set #MVPPoints,#MVPPoints +.@rand;
  469. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  470. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  471. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  472. getitem .items[ .@i ], .items[ .@i + 1 ];
  473. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  474. }
  475. }
  476. initnpctimer;
  477. end;
  478. OnTimer3300000:
  479. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  480. end;
  481. OnTimer3600000:
  482. stopnpctimer;
  483. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  484. setmapflag .@map$,mf_pvp;
  485. setmapflag .@map$,mf_loadevent;
  486. end;
  487.  
  488. OnInit:
  489. set .@map$,strnpcinfo(4);
  490. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  491. // <item id>,<amount>,<chance>
  492. setarray .items[0],674,1,10
  493. ,30030,1,10;
  494. end;
  495.  
  496.  
  497. }
  498.  
  499. moc_pryd06,1,1,0 script Amon Ra#boss 111,{
  500.  
  501. OnMVPDead:
  502. set .@GID,getcharid(2);
  503. set .@rand,rand(1,5);
  504. set .@map$,strcharinfo(3);
  505. removemapflag .@map$,mf_pvp;
  506. removemapflag .@map$,mf_loadevent;
  507. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  508. set #MVPPoints,#MVPPoints +.@rand;
  509. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  510. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  511. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  512. getitem .items[ .@i ], .items[ .@i + 1 ];
  513. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  514. }
  515. }
  516. initnpctimer;
  517. end;
  518. OnTimer3300000:
  519. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  520. end;
  521. OnTimer3600000:
  522. stopnpctimer;
  523. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  524. setmapflag .@map$,mf_pvp;
  525. setmapflag .@map$,mf_loadevent;
  526. end;
  527.  
  528. OnInit:
  529. set .@map$,strnpcinfo(4);
  530. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  531. // <item id>,<amount>,<chance>
  532. setarray .items[0],674,1,10
  533. ,30030,1,10;
  534. end;
  535.  
  536. }
  537.  
  538. orcsdun02,1,1,0 script Orc Lord#boss 111,{
  539.  
  540. OnMVPDead:
  541. set .@GID,getcharid(2);
  542. set .@rand,rand(1,5);
  543. set .@map$,strcharinfo(3);
  544. removemapflag .@map$,mf_pvp;
  545. removemapflag .@map$,mf_loadevent;
  546. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  547. set #MVPPoints,#MVPPoints +.@rand;
  548. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  549. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  550. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  551. getitem .items[ .@i ], .items[ .@i + 1 ];
  552. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  553. }
  554. }
  555. initnpctimer;
  556. end;
  557. OnTimer3300000:
  558. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  559. end;
  560. OnTimer3600000:
  561. stopnpctimer;
  562. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  563. setmapflag .@map$,mf_pvp;
  564. setmapflag .@map$,mf_loadevent;
  565. end;
  566.  
  567. OnInit:
  568. set .@map$,strnpcinfo(4);
  569. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  570. // <item id>,<amount>,<chance>
  571. setarray .items[0],674,1,10
  572. ,30030,1,10;
  573. end;
  574.  
  575.  
  576. }
  577.  
  578. pay_fild10,1,1,0 script Eddga#boss 111,{
  579.  
  580. OnMVPDead:
  581. set .@GID,getcharid(2);
  582. set .@rand,rand(1,5);
  583. set .@map$,strcharinfo(3);
  584. removemapflag .@map$,mf_pvp;
  585. removemapflag .@map$,mf_loadevent;
  586. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  587. set #MVPPoints,#MVPPoints +.@rand;
  588. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  589. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  590. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  591. getitem .items[ .@i ], .items[ .@i + 1 ];
  592. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  593. }
  594. }
  595. initnpctimer;
  596. end;
  597. OnTimer3300000:
  598. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  599. end;
  600. OnTimer3600000:
  601. stopnpctimer;
  602. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  603. setmapflag .@map$,mf_pvp;
  604. setmapflag .@map$,mf_loadevent;
  605. end;
  606.  
  607. OnInit:
  608. set .@map$,strnpcinfo(4);
  609. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  610. // <item id>,<amount>,<chance>
  611. setarray .items[0],674,1,10
  612. ,30030,1,10;
  613. end;
  614.  
  615.  
  616. }
  617.  
  618. prt_sewb4,1,1,0 script Golden Thief Bug#boss 111,{
  619.  
  620. OnMVPDead:
  621. set .@GID,getcharid(2);
  622. set .@rand,rand(1,5);
  623. set .@map$,strcharinfo(3);
  624. removemapflag .@map$,mf_pvp;
  625. removemapflag .@map$,mf_loadevent;
  626. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  627. set #MVPPoints,#MVPPoints +.@rand;
  628. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  629. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  630. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  631. getitem .items[ .@i ], .items[ .@i + 1 ];
  632. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  633. }
  634. }
  635. initnpctimer;
  636. end;
  637. OnTimer3300000:
  638. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  639. end;
  640. OnTimer3600000:
  641. stopnpctimer;
  642. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  643. setmapflag .@map$,mf_pvp;
  644. setmapflag .@map$,mf_loadevent;
  645. end;
  646.  
  647. OnInit:
  648. set .@map$,strnpcinfo(4);
  649. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  650. // <item id>,<amount>,<chance>
  651. setarray .items[0],674,1,10
  652. ,30030,1,10;
  653. end;
  654. }
  655.  
  656. xmas_fild01,1,1,0 script Garm#boss 111,{
  657.  
  658. OnMVPDead:
  659. set .@GID,getcharid(2);
  660. set .@rand,rand(1,5);
  661. set .@map$,strcharinfo(3);
  662. removemapflag .@map$,mf_pvp;
  663. removemapflag .@map$,mf_loadevent;
  664. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  665. set #MVPPoints,#MVPPoints +.@rand;
  666. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  667. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  668. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  669. getitem .items[ .@i ], .items[ .@i + 1 ];
  670. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  671. }
  672. }
  673. initnpctimer;
  674. end;
  675. OnTimer3300000:
  676. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  677. end;
  678. OnTimer3600000:
  679. stopnpctimer;
  680. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  681. setmapflag .@map$,mf_pvp;
  682. setmapflag .@map$,mf_loadevent;
  683. end;
  684.  
  685. OnInit:
  686. set .@map$,strnpcinfo(4);
  687. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  688. // <item id>,<amount>,<chance>
  689. setarray .items[0],674,1,10
  690. ,30030,1,10;
  691. end;
  692. }
  693.  
  694. niflheim,1,1,0 script Lord of the Dead#boss 111,{
  695.  
  696. OnMVPDead:
  697. set .@GID,getcharid(2);
  698. set .@rand,rand(1,5);
  699. set .@map$,strcharinfo(3);
  700. removemapflag .@map$,mf_pvp;
  701. removemapflag .@map$,mf_loadevent;
  702. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  703. set #MVPPoints,#MVPPoints +.@rand;
  704. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  705. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  706. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  707. getitem .items[ .@i ], .items[ .@i + 1 ];
  708. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  709. }
  710. }
  711. initnpctimer;
  712. end;
  713. OnTimer3300000:
  714. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  715. end;
  716. OnTimer3600000:
  717. stopnpctimer;
  718. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  719. setmapflag .@map$,mf_pvp;
  720. setmapflag .@map$,mf_loadevent;
  721. end;
  722.  
  723. OnInit:
  724. set .@map$,strnpcinfo(4);
  725. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  726. // <item id>,<amount>,<chance>
  727. setarray .items[0],674,1,10
  728. ,30030,1,10;
  729. end;
  730.  
  731.  
  732. }
  733.  
  734. pay_dun04,1,1,0 script Moonlight Flower#boss 111,{
  735.  
  736. OnMVPDead:
  737. set .@GID,getcharid(2);
  738. set .@rand,rand(1,5);
  739. set .@map$,strcharinfo(3);
  740. removemapflag .@map$,mf_pvp;
  741. removemapflag .@map$,mf_loadevent;
  742. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  743. set #MVPPoints,#MVPPoints +.@rand;
  744. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  745. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  746. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  747. getitem .items[ .@i ], .items[ .@i + 1 ];
  748. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  749. }
  750. }
  751. initnpctimer;
  752. end;
  753. OnTimer3300000:
  754. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  755. end;
  756. OnTimer3600000:
  757. stopnpctimer;
  758. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  759. setmapflag .@map$,mf_pvp;
  760. setmapflag .@map$,mf_loadevent;
  761. end;
  762.  
  763. OnInit:
  764. set .@map$,strnpcinfo(4);
  765. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  766. // <item id>,<amount>,<chance>
  767. setarray .items[0],674,1,10
  768. ,30030,1,10;
  769. end;
  770.  
  771. }
  772.  
  773. treasure02,1,1,0 script Drake#boss 111,{
  774.  
  775. OnMVPDead:
  776. set .@GID,getcharid(2);
  777. set .@rand,rand(1,5);
  778. set .@map$,strcharinfo(3);
  779. removemapflag .@map$,mf_pvp;
  780. removemapflag .@map$,mf_loadevent;
  781. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  782. set #MVPPoints,#MVPPoints +.@rand;
  783. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  784. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  785. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  786. getitem .items[ .@i ], .items[ .@i + 1 ];
  787. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  788. }
  789. }
  790. initnpctimer;
  791. end;
  792. OnTimer3300000:
  793. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  794. end;
  795. OnTimer3600000:
  796. stopnpctimer;
  797. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  798. setmapflag .@map$,mf_pvp;
  799. setmapflag .@map$,mf_loadevent;
  800. end;
  801.  
  802. OnInit:
  803. set .@map$,strnpcinfo(4);
  804. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  805. // <item id>,<amount>,<chance>
  806. setarray .items[0],674,1,10
  807. ,30030,1,10;
  808. end;
  809.  
  810. }
  811.  
  812. xmas_dun02,1,1,0 script Stormy Knight#boss 111,{
  813.  
  814. OnMVPDead:
  815. set .@GID,getcharid(2);
  816. set .@rand,rand(1,5);
  817. set .@map$,strcharinfo(3);
  818. removemapflag .@map$,mf_pvp;
  819. removemapflag .@map$,mf_loadevent;
  820. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  821. set #MVPPoints,#MVPPoints +.@rand;
  822. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  823. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  824. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  825. getitem .items[ .@i ], .items[ .@i + 1 ];
  826. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  827. }
  828. }
  829. initnpctimer;
  830. end;
  831. OnTimer3300000:
  832. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  833. end;
  834. OnTimer3600000:
  835. stopnpctimer;
  836. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  837. setmapflag .@map$,mf_pvp;
  838. setmapflag .@map$,mf_loadevent;
  839. end;
  840.  
  841. OnInit:
  842. set .@map$,strnpcinfo(4);
  843. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  844. // <item id>,<amount>,<chance>
  845. setarray .items[0],674,1,10
  846. ,30030,1,10;
  847. end;
  848.  
  849.  
  850. }
  851.  
  852. tur_dun04,1,1,0 script Turtle General#boss 111,{
  853.  
  854. OnMVPDead:
  855. set .@GID,getcharid(2);
  856. set .@rand,rand(1,5);
  857. set .@map$,strcharinfo(3);
  858. removemapflag .@map$,mf_pvp;
  859. removemapflag .@map$,mf_loadevent;
  860. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  861. set #MVPPoints,#MVPPoints +.@rand;
  862. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  863. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  864. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  865. getitem .items[ .@i ], .items[ .@i + 1 ];
  866. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  867. }
  868. }
  869. initnpctimer;
  870. end;
  871. OnTimer3300000:
  872. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  873. end;
  874. OnTimer3600000:
  875. stopnpctimer;
  876. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  877. setmapflag .@map$,mf_pvp;
  878. setmapflag .@map$,mf_loadevent;
  879. end;
  880.  
  881. OnInit:
  882. set .@map$,strnpcinfo(4);
  883. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  884. // <item id>,<amount>,<chance>
  885. setarray .items[0],674,1,10
  886. ,30030,1,10;
  887. end;
  888.  
  889. }
  890.  
  891. yuno_fild02,1,1,0 script Archangeling#boss 111,{
  892.  
  893. OnMVPDead:
  894. set .@GID,getcharid(2);
  895. set .@rand,rand(1,5);
  896. set .@map$,strcharinfo(3);
  897. removemapflag .@map$,mf_pvp;
  898. removemapflag .@map$,mf_loadevent;
  899. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  900. set #MVPPoints,#MVPPoints +.@rand;
  901. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  902. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  903. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  904. getitem .items[ .@i ], .items[ .@i + 1 ];
  905. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  906. }
  907. }
  908. initnpctimer;
  909. end;
  910. OnTimer3300000:
  911. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  912. end;
  913. OnTimer3600000:
  914. stopnpctimer;
  915. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  916. setmapflag .@map$,mf_pvp;
  917. setmapflag .@map$,mf_loadevent;
  918. end;
  919.  
  920. OnInit:
  921. set .@map$,strnpcinfo(4);
  922. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  923. // <item id>,<amount>,<chance>
  924. setarray .items[0],674,1,10
  925. ,30030,1,10;
  926. end;
  927.  
  928. }
  929.  
  930. gef_dun02,1,1,0 script Doppelganger#boss 111,{
  931.  
  932. OnMVPDead:
  933. set .@GID,getcharid(2);
  934. set .@rand,rand(1,5);
  935. set .@map$,strcharinfo(3);
  936. removemapflag .@map$,mf_pvp;
  937. removemapflag .@map$,mf_loadevent;
  938. announce strcharinfo(0)+" from the [ "+ getguildName(.@GID) +" ] guild has killed "+strnpcinfo(1)+" in "+.@map$,0;
  939. set #MVPPoints,#MVPPoints +.@rand;
  940. message strcharinfo(0),"You gained "+.@rand+" MVP Points";
  941. for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) {
  942. if ( rand( 100 ) < .items[ .@i + 2 ] ) {
  943. getitem .items[ .@i ], .items[ .@i + 1 ];
  944. announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from "+strnpcinfo(1)+".",0;
  945. }
  946. }
  947. initnpctimer;
  948. end;
  949. OnTimer3300000:
  950. announce strnpcinfo(1)+" will spawn in "+.@map$+" in 5 minutes.",0;
  951. end;
  952. OnTimer3600000:
  953. stopnpctimer;
  954. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  955. setmapflag .@map$,mf_pvp;
  956. setmapflag .@map$,mf_loadevent;
  957. end;
  958.  
  959. OnInit:
  960. set .@map$,strnpcinfo(4);
  961. killmonster .@map$,strnpcinfo(0)+"::OnMVPDead";
  962. // <item id>,<amount>,<chance>
  963. setarray .items[0],674,1,10
  964. ,30030,1,10;
  965. end;
  966.  
  967. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement