Jump to content
  • 0

About adding Tomb on LHZ Bosses.


Question

7 answers to this question

Recommended Posts

Posted

if you spawn the MVP like this

 

 

abbey03,0,0,0,0    boss_monster    Beelzebub    1873,1,43200000,600000,1
 

you will see a tomb right after the MVP die
 

Posted

if you spawn the MVP like this

 

 

abbey03,0,0,0,0    boss_monster    Beelzebub    1873,1,43200000,600000,1

 

you will see a tomb right after the MVP die

 

 

I know the boss_monster. How can i make it to spawn with the boss_monster? As i said i cannot found the MVP bosses for npc/mobs/dungeon/lhz_dun

Posted

the MVP spawned by a script

npc/re/mobs/dungeons/lhz_dun.txt
 

 

lhz_dun03,0,0,0    script    mvp_lhz_dun03    -1,{
OnTimer6000000: // delay1 = 6000000 ms (100 min)
    stopnpctimer;
    sleep rand(0,30)*60000; // 0 to 30 minutes
OnInit:
    // Select Coordinates to summon a random MVP on
    switch(rand(1,6)) {
        case 1:  set .@x,140;  set .@y,232;  break;
        case 2:  set .@x,75;   set .@y,138;  break;
        case 3:  set .@x,140;  set .@y,87;   break;
        case 4:  set .@x,205;  set .@y,140;  break;
        case 5:  set .@x,123;  set .@y,137;  break;
        case 6:  set .@x,175;  set .@y,137;  break;
    }
    set .@mob,rand(1646,1651);
    monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";

    // Select Coordinates to summon a random 99 on
    switch(rand(1,6)) {
        case 1:  set .@x2,183;  set .@y2,97;   break;
        case 2:  set .@x2,97;   set .@y2,96;   break;
        case 3:  set .@x2,47;   set .@y2,139;  break;
        case 4:  set .@x2,231;  set .@y2,140;  break;
        case 5:  set .@x2,139;  set .@y2,211;  break;
        case 6:  set .@x2,139;  set .@y2,259;  break;
    }
    set .@mob2,rand(1640,1645);
    monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";
    end;

OnMyMVPDead:
    killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead";
    initnpctimer;
OnMy99Dead:
    end;
}

Posted

 

the MVP spawned by a script

npc/re/mobs/dungeons/lhz_dun.txt

 

 

lhz_dun03,0,0,0    script    mvp_lhz_dun03    -1,{

OnTimer6000000: // delay1 = 6000000 ms (100 min)

    stopnpctimer;

    sleep rand(0,30)*60000; // 0 to 30 minutes

OnInit:

    // Select Coordinates to summon a random MVP on

    switch(rand(1,6)) {

        case 1:  set .@x,140;  set .@y,232;  break;

        case 2:  set .@x,75;   set .@y,138;  break;

        case 3:  set .@x,140;  set .@y,87;   break;

        case 4:  set .@x,205;  set .@y,140;  break;

        case 5:  set .@x,123;  set .@y,137;  break;

        case 6:  set .@x,175;  set .@y,137;  break;

    }

    set .@mob,rand(1646,1651);

    boss_monster"lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,strnpcinfo(3)+"::OnMyMVPDead";

    // Select Coordinates to summon a random 99 on

    switch(rand(1,6)) {

        case 1:  set .@x2,183;  set .@y2,97;   break;

        case 2:  set .@x2,97;   set .@y2,96;   break;

        case 3:  set .@x2,47;   set .@y2,139;  break;

        case 4:  set .@x2,231;  set .@y2,140;  break;

        case 5:  set .@x2,139;  set .@y2,211;  break;

        case 6:  set .@x2,139;  set .@y2,259;  break;

    }

    set .@mob2,rand(1640,1645);

    boss_monster"lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,strnpcinfo(3)+"::OnMy99Dead";

    end;

OnMyMVPDead:

    killmonster "lhz_dun03",strnpcinfo(3)+"::OnMy99Dead";

    initnpctimer;

OnMy99Dead:

    end;

}

 

 So im going to make it like this? Correct me if im wrong.

Posted

no you don't
that script is original way to spawn random MVP at LHZ 3

spawn the MVP like this
 

 

lhz_dun03,138,138,36,34    monster    --en--    1640,1,3300000,3000000,1

 

this will break original way to spawn, but the only quick way to enable tomb after the MVP died

Posted

paste this
 

 

//custom mvp spawn
lhz_dun03,138,138,36,34    monster    custom1    1646,1,6000000,3000000,1
lhz_dun03,138,138,36,34    monster    custom2    1647,1,6000000,3000000,1
lhz_dun03,138,138,36,34    monster    custom3    1648,1,6000000,3000000,1
lhz_dun03,138,138,36,34    monster    custom4    1649,1,6000000,3000000,1
lhz_dun03,138,138,36,34    monster    custom5    1650,1,6000000,3000000,1
lhz_dun03,138,138,36,34    monster    custom6    1651,1,6000000,3000000,1

to your
npc/re/mobs/dungeon/lhz_dun.txt



 

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...