Critica Posted June 15, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Share Posted June 15, 2012 OnInit: //monster "2@cata",0,0,"Gold",1840,300,strnpcinfo(0)+"::OnMobKill"; monster "ra_temsky",49,137,"Gold",1002,2,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: monster "ra_temsky",49,137,"Gold",1002,1,strnpcinfo(0)+"::OnMobKill"; set $Earn,$Earn + ( 100000 * $Tax / 100 ); set #GoldPoint,#GoldPoint + 1; dispbottom "Total Gold Point = "+#GoldPoint+" Points."; end; } is there a way i can put a mob time respawn here? just like on normal spawning..? kinda like this Kiel D-01 1734,1,7200000,3600000,0 Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 15, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted June 15, 2012 At the end of your "OnMobKill", write: sleep <time, in ms>; goto OnInit; Quote Link to comment Share on other sites More sharing options...
Critica Posted June 15, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share Posted June 15, 2012 thanks Euphy,, ok one last quesntion.. if i used and MVP boss as an monster here, does it count as an MVP too? i mean, does the MvP Tomb will work if the MVP dies? Quote Link to comment Share on other sites More sharing options...
F0xxy Posted June 15, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 224 Reputation: 22 Joined: 03/23/12 Last Seen: April 21, 2020 Share Posted June 15, 2012 Nope, the mvp tomb will only work for spawned mobs with the boss_monster flag on it. Quote Link to comment Share on other sites More sharing options...
Critica Posted June 15, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share Posted June 15, 2012 ic.. is there a way i can put points everytime a player kills an mvp..? Quote Link to comment Share on other sites More sharing options...
LCDTheOG Posted June 15, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted June 15, 2012 OnMobKill: set .@mvppoints, .@mvppoints+1; Quote Link to comment Share on other sites More sharing options...
F0xxy Posted June 15, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 224 Reputation: 22 Joined: 03/23/12 Last Seen: April 21, 2020 Share Posted June 15, 2012 OnInit: 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; end; OnNPCKillEvent: if(getgmlevel() >= 20) { end; } for (set .@c, 0; .@c < getarraysize(.mobid); set .@c, .@c + 1) if (killedrid == .mobid[.@c]) set .@s, 1; if (!.@s) end; set #mvppoints, #mvppoints+1; // remove the # if you want it to be char based instead of account based Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 15, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted June 15, 2012 a shorter way for mvp announce. - script Sample -1,{ OnNPCKillEvent: if( getmonsterinfo( killedrid,22 ) ){ announce "Killed "+getmonsterinfo( killedrid,0 )+" at "+strcharinfo(3),bc_Self; set #MVP_Point,#MVP_Point + 1; } end; } Quote Link to comment Share on other sites More sharing options...
Question
Critica
is there a way i can put a mob time respawn here? just like on normal spawning..?
kinda like this
Kiel D-01 1734,1,7200000,3600000,0
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.