Jump to content
  • 0

Question

Posted

Hello i found this NPC on my PC, he resurrects the MVP's, but he is random, how do i get the MVP's to be born on the fixed map.

 

Spoiler

-    script    MVPRespown    -1,{
OnClock0000:
OnClock0200:
OnClock0400:
OnClock0600:
OnClock0800:
OnClock1000:
OnClock1200:
OnClock1400:
OnClock1600:
OnClock2035:
OnClock2200:
    set .@map$, callfunc("F_Rand", "moc_fild22", "abbey03", "gef_fild14", "anthell02", "gef_fild10", "prt_sewb4", "pay_fild11", "moc_pryd04", "moc_pryd06", "moc_fild17", "gef_dun01", "gef_dun02", "mjolnir_04", "pay_dun04", "ayo_dun02", "prt_maze03", "in_sphinx5", "treasure02", "xmas_dun02", "bra_dun02", "niflheim", "gl_chyard", "mosk_dun03", "lou_dun03", "xmas_fild01", "ice_dun03", "thana_boss", "ein_dun02", "ama_dun03", "gon_dun03", "beach_dun", "tur_dun04", "ra_fild03", "ra_fild04", "ve_fild01", "ve_fild02", "kh_dun02", "jupe_core", "abyss_03", "abbey02", "ra_san05", "odin_tem03", "thor_v03"); // Popule com os Mapas
    set .@mvp, callfunc("F_Rand", 1917, 1874, 1087, 1147, 1190, 1086, 1115, 1038, 1511, 1159, 1389, 1046, 1059, 1150, 1688, 1039, 1157, 1112, 1251, 2068, 1373, 1272, 1885, 1630, 1252, 1779, 1708, 1623, 1492, 1418, 1583, 1312, 1785, 1785, 1785, 1785, 1734, 1685, 1719, 1871, 1768, 1751, 1832); //Popule com os IDs dos MvPs
    monster .@map$,0,0,getmonsterinfo(.@mvp,0),.@mvp,1;
    announce "Evento MVP : O MvP " + getmonsterinfo(.@mvp,0) + " nasceu em "+ .@map$ +"!",0;
    end;
OnMobKilled:
    announce "O jogador [" + strcharinfo(0) + "] acabou de matar " + getmonsterinfo(.@mvp,0) + " em "+ .@map$ +"!",0;
    end;
}

 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...