Jump to content
  • 0

Boss mvp room script


saovarott159

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  10/06/16
  • Last Seen:  

Hello help me please...

          This script BossMVP random every at OnMinute10

if want not spawn Boss again if old boss not dead..

 

Thank you so much

Edited by saovarott159
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   16
  • Joined:  09/26/16
  • Last Seen:  

check how lhz_dun03 and lhz_dun04 bosses are spawned.

well, base on your script, looks like you kill the mvp every 10mins?
i have two solutions for you, coz im not sure if you want to retain that every 10 mins of spawn.
first solution would be, make an npc variable that will be set to "true" when is spawned and set to "false" when mvp died.
 

OnInit:
set .isMonAlive, 0; // not alive
...
OnMinute00:
OnMinute10:
OnMinute20:
OnMinute30:
OnMinute40:
OnMinute50:
if(.isMonAlive) end; // checks if monster still alive, do not run the script.
... //after calling monster
.isMonAlive = 1; // set to 1 because monster spawned

...
OnBossMvPKilled:
.isMonAlive = 0; // after mvp died, set 0, means its dead.


then, 2nd solution would be, spawn a random monster every 10 mins, this works like lhz_dun03/04
 

OnInit: // spawn monster on init
OnTimer60000: //not sure if 10mins or 1hr, check docu
//call random monster with ::OnBossMvpDead
...
end;

OnBossMvpDead:
initnpctimer;
end;

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  10/06/16
  • Last Seen:  

 

thank you..

Edited by saovarott159
Link to comment
Share on other sites

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.

×
×
  • Create New...