Frozek Posted August 21, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 37 Reputation: 0 Joined: 10/30/18 Last Seen: May 4, 2024 Share Posted August 21, 2021 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; } Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted August 24, 2021 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 24, 2021 .@map$ = "prontera"; ex: always spawn on prontera. Quote Link to comment Share on other sites More sharing options...
Question
Frozek
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.
- 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;
}
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.