Im having a hard time getting this script to have a selection of its spawn time. Right now, it always spawn 3hours after server start and after kill. I want it to spawn randomly between 2.5 hours to 3hours.
Tried adding switch(rand(2)){
and put 2 cases but the script only summons the boss on the lowest OnTimer.
Also, if it is possible, make the Plant not killable during the event was on. This plant serves as indicator that the mvp had been summoned.
Some times players logged in after the announcement of the mvps arrival
Question
Ruhn
OnTimer10800000: stopnpctimer; monster "prontera",98,186,"Gluttonous Plant",1750,1,"AntHellInvasion::OnInvasionAntHellPlant"; end;
Im having a hard time getting this script to have a selection of its spawn time. Right now, it always spawn 3hours after server start and after kill. I want it to spawn randomly between 2.5 hours to 3hours.
Tried adding switch(rand(2)){
Edited by Ruhnand put 2 cases but the script only summons the boss on the lowest OnTimer.
Also, if it is possible, make the Plant not killable during the event was on. This plant serves as indicator that the mvp had been summoned.
Some times players logged in after the announcement of the mvps arrival
Link to comment
Share on other sites
2 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.