Jump to content
  • 0

Adding spawn to this npc


eboni001

Question


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Hello guys im editing my mvp room, i want to add to mvp support npc people have to pay for summon mvp and have to pay 1m zeny for heal, can somebody add this please to this func.?

 

function	script	Ramvp_M	{

	mes "How do you need help?.";
	menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

	L_Spawn:
		return; (Here add the mvp id and price for summon and please add any comment if they don't have enough zeny)

	L_Heal:
		percentheal 100,100; (Here add npc tell to people have to pay for heal and the ammount they have to pay and please add any comment if they don't have enough zeny)
		close;

	L_Leave:
		warp "prontera",156,179;
		close;

}

thanks in advance, hope somebody help me ^_^

Edited by eboni001
Link to comment
Share on other sites

17 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

function    script    Ramvp_M    {
  setarray .mvpList$[0],
         "Orc Lord:1190:2000000",
         "Orc Hero:1087:3000000",
         "Phreeoni:1159:4000000",
         "Turtle General:1312:5000000";

    mes "How do you need help?";
    menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

    L_Spawn:
        for(set .@i,0; .@i < getarraysize(.mvpList$);set .@i, .@i + 1){
            explode(.mvpData$,.mvpList$[.@i],":");
            if(.@i == 0) set .@menu$, .mvpData$[0];
            else set .@menu$, .@menu$ + (":"+.mvpData$[0]);
        }
            set .@choice,select(.@menu$);
            explode(.mvpSpawn$,.mvpList$[.@choice - 1],":");
            
            mes "You want to spawn: "+.mvpSpawn$[0],
                "It cost: "+.mvpSpawn$[2];
            next;
                switch(select("Yes","No")){
                    case 1:
                        if(ZENY >= atoi(.mvpSpawn$[2])){
                            set ZENY, ZENY - atoi(.mvpSpawn$[2]);
                            monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;
                        }
                        else {
                            mes "You don't have enough zeny.";
                            close;
                        }
                    end;
                    
                    case 2:
                        mes "Ok, Come back when you get ready!";
                        close;
                }
    end;

    L_Heal:
        mes "Ok, the heal cost 1M Zeny, do you still want i heal you?";
        next;
            switch(select("Ok","No")){
                case 1:
                    if(ZENY >= 1000000){
                        set ZENY, ZENY - 1000000;
                        percentheal 100,100;
                    }
                    else {
                        mes "I'm sorry you don't have enough zeny.";
                        close;
                    }
            }
    end;

    L_Leave:
        warp "prontera",156,179;
        close;

}

I just test it and it works fine, hope you won't get an error xD

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

It should work:

 

function    script    Ramvp_M    {
    setarray .mvpList$[0],
        "<Mvp Name>:<MvpId>:<MvpCost>",
        "<Mvp Name>:<MvpId>:<MvpCost>";
        
    mes "How do you need help?.";
    menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

    L_Spawn:
        for(set .@i,0; .@i < getarraysize(.mvpList$);set .@i, .@i + 1){
            explode(.mvpData$,.mvpList$[.@i],":");
            if(!.@i) set .menu$, .mvpData$[0];
            else set .@menu$ += ","+.mvpData$[0];
        }
            set .@choice,select(.@menu$);
            explode(.mvpSpawn$,.mvpList$[.@choice + 1],":");
            
            mes "You want to spawn: "+.mvpSpawn$[0],
                "It cost: "+.mvpSpawn$[2];
            next;
                switch(select("Yes","No")){
                    case 1:
                        if(ZENY >= atoi(.mvpSpawn$[2])){
                            set ZENY, ZENY - atoi(.mvpSpawn$[2]);
                            monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]);
                        }
                        else {
                            mes "You don't have enough zeny.";
                            close;
                        }
                    end;
                    
                    case 2:
                        mes "Ok";
                        close;
                }
    end;

    L_Heal:
        mes "Heal cost 1M Zeny";
        next;
            switch(select("Ok","No")){
                case 1:
                    if(ZENY >= 1000000){
                        set ZENY, ZENY - 1000000;
                        percentheal 100,100;
                    }
                    else {
                        mes "You don't have enough zeny.";
                        close;
                    }
            }
    end;

    L_Leave:
        warp "prontera",156,179;
        close;

}

 

Edit: Keep in mind that you can only store 128 value in your array, so you can't have more than 128 MvP in the .mvpList$ var.

Edited by Khazou
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

i have it like this:

function	script	Ramvp_M	{
    setarray .mvpList$[0],
        "<Orc Lord>:<1190>:<3000000>",
        "<Orc Hero>:<1087>:<5000000>",
        "<Phreeoni>:<1159>:<7000000>",
        "<Turtle General>:<1312>:<10000000>";
        
    mes "How do you need help?.";
    menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

    L_Spawn:
        for(set .@i,0; .@i < getarraysize(.mvpList$);set .@i, .@i + 1){
            explode(.mvpData$,.mvpList$[.@i],":");
            if(!.@i) set .menu$, .mvpData$[0];
            else set .@menu$ += ","+.mvpData$[0];
        }
            set .@choice,select(.@menu$);
            explode(.mvpSpawn$,.mvpList$[.@choice + 1],":");
            
            mes "You want to spawn: "+.mvpSpawn$[0],
                "It cost: "+.mvpSpawn$[2];
            next;
                switch(select("Yes","No")){
                    case 1:
                        if(ZENY >= atoi(.mvpSpawn$[2])){
                            set ZENY, ZENY - atoi(.mvpSpawn$[2]);
                            monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]);
                        }
                        else {
                            mes "You don't have enough zeny.";
                            close;
                        }
                    end;
                    
                    case 2:
                        mes "Ok";
                        close;
                }
    end;

    L_Heal:
        mes "Ok, the heal cost 1M Zeny, do you still want i heal you?";
        next;
            switch(select("Ok","No")){
                case 1:
                    if(ZENY >= 1000000){
                        set ZENY, ZENY - 1000000;
                        percentheal 100,100;
                    }
                    else {
                        mes "I'm sorry you don't have enough zeny.";
                        close;
                    }
            }
    end;

    L_Leave:
        warp "prontera",156,179;
        close;

}

by it give me this error:

error.jpg

 

 

Edit: there's any way to do it like this?

 

setarray .zeny[1],3000000,5000000,7000000,10000000;  ======> mvp cost

 

setarray .mobid[0],1511,1647,1785,1630;  ===> mvp id

Edited by eboni001
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

First of all must change this:

"<Orc Lord>:<1190>:<3000000>",
"<Orc Hero>:<1087>:<5000000>",
"<Phreeoni>:<1159>:<7000000>",
"<Turtle General>:<1312>:<10000000>";

to this:

"Orc Lord:1190:3000000",
"Orc Hero:1087:5000000",
"Phreeoni:1159:7000000",
"Turtle General:1312:10000000";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

First of all must change this:

"<Orc Lord>:<1190>:<3000000>",

"<Orc Hero>:<1087>:<5000000>",

"<Phreeoni>:<1159>:<7000000>",

"<Turtle General>:<1312>:<10000000>";

to this:

"Orc Lord:1190:3000000",

"Orc Hero:1087:5000000",

"Phreeoni:1159:7000000",

"Turtle General:1312:10000000";

keep same error

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

Replace

else set .@menu$ += ","+.mvpData$[0];

By:

else set .@menu$, .@menu$ + (","+.mvpData$[0]);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

now i have this error:

 

error_2.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   4
  • Joined:  10/31/12
  • Last Seen:  

monster     "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>",<size>,<ai>};

 

monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

monster     "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>",<size>,<ai>};

 

monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;

 

OK, i'm almost done but now how to fix this? npc put all names of the mvp's together and i only can summon 1 of them.

 

error_3.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

else set .@menu$, .@menu$ + (","+.mvpData$[0]);

By:

else set .@menu$, .@menu$ + (":"+.mvpData$[0]);

 

Sorry for all those mistakes i can't test it :/

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Sir now i have another problem xD, im sorry for this, now npc show the name of the mvp's separate but, i have set 4 mvp ,orc lord, orc hero, phreeoni and turtle general, npc only show orc hero, phreeoni and turtle general, when i click summon orc hero it ask if i want to summon turtle general xD, when i click phreeoni it only say it cost (Ammount of zeny) but still spawn turtle general, same when i click turtle general xD, and mvp's dont have name when get spawned, only say (HP:100%).

 

Edit: i have it like this:

 

function	script	Ramvp_M	{
    setarray .mvpList$[0],
         "Orc Lord:1190:2000000",
         "Orc Hero:1087:3000000",
         "Phreeoni:1159:4000000",
         "Turtle General:1312:5000000";

    mes "How do you need help?";
    menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

    L_Spawn:
        for(set .@i,0; .@i < getarraysize(.mvpList$);set .@i, .@i + 1){
            explode(.mvpData$,.mvpList$[.@i],":");
            if(!.@i) set .menu$, .mvpData$[0];
            else set .@menu$, .@menu$ + (":"+.mvpData$[0]);
        }
            set .@choice,select(.@menu$);
            explode(.mvpSpawn$,.mvpList$[.@choice + 1],":");
            
            mes "You want to spawn: "+.mvpSpawn$[0],
                "It cost: "+.mvpSpawn$[2];
            next;
                switch(select("Yes","No")){
                    case 1:
                        if(ZENY >= atoi(.mvpSpawn$[2])){
                            set ZENY, ZENY - atoi(.mvpSpawn$[2]);
                            monster strcharinfo(3),0,0,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;
                        }
                        else {
                            mes "You don't have enough zeny.";
                            close;
                        }
                    end;
                    
                    case 2:
                        mes "Ok, Come back when you get ready!";
                        close;
                }
    end;

    L_Heal:
        mes "Ok, the heal cost 1M Zeny, do you still want i heal you?";
        next;
            switch(select("Ok","No")){
                case 1:
                    if(ZENY >= 1000000){
                        set ZENY, ZENY - 1000000;
                        percentheal 100,100;
                    }
                    else {
                        mes "I'm sorry you don't have enough zeny.";
                        close;
                    }
            }
    end;

    L_Leave:
        warp "prontera",156,179;
        close;

}
Edited by eboni001
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Thank you very much, now is working great!! ^_^ im very happy with my new mvp room.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Hello guys can somebody please add a broadcast to this mvp summoner only in the map it will summon the mvp?

 

i want when somebody spawn and mvp it announce(only in the map where mvp is summoned):

 

(charname) has spawned (mvp name).

 

this is the func:

function	script	Ramvp_M	{
  setarray .mvpList$[0],
         "Moonlight Flower:1150:400000",
         "Eddga:1115:600000",
         "Mistress:1059:500000",
         "Maya:1147:400000";

    mes "How do you need help?";
    menu "Summon Mvp",L_Spawn,"Heal Please",L_Heal,"Leave",L_Leave;

    L_Spawn:
        for(set .@i,0; .@i < getarraysize(.mvpList$);set .@i, .@i + 1){
            explode(.mvpData$,.mvpList$[.@i],":");
            if(.@i == 0) set .@menu$, .mvpData$[0];
            else set .@menu$, .@menu$ + (":"+.mvpData$[0]);
        }
            set .@choice,select(.@menu$);
            explode(.mvpSpawn$,.mvpList$[.@choice - 1],":");
            
            mes "You want to spawn: "+.mvpSpawn$[0],
                "It cost: "+.mvpSpawn$[2];
            next;
                switch(select("Yes","No")){
                    case 1:
                        if(ZENY >= atoi(.mvpSpawn$[2])){
                            set ZENY, ZENY - atoi(.mvpSpawn$[2]);
                            monster strcharinfo(3),99,135,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;
                        }
                        else {
                            mes "You don't have enough zeny.";
                            close;
                        }
                    end;
                    
                    case 2:
                        mes "Ok, Come back when you get ready!";
                        close;
                }
    end;

    L_Heal:
        mes "Ok, the heal cost 1M Zeny, do you still want i heal you?";
        next;
            switch(select("Ok","No")){
                case 1:
                    if(ZENY >= 1000000){
                        set ZENY, ZENY - 1000000;
                        percentheal 100,100;
                    }
                    else {
                        mes "I'm sorry you don't have enough zeny.";
                        close;
                    }
            }
    end;

    L_Leave:
        warp "quiz_00",57,24;
        close;

}
Edited by Emistry
topic merged.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

only MVP or Mini boss too ? :o

 

	-	script	GlobalMvP::GlobalMvP	-1,{
OnNPCKillEvent:
	switch (killedrid) {
		// Amon Ra
		case 1511:
			announce ""+ strcharinfo(0) +" Has been killed : Amon Ra",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LAmonRa, LAmonRa + 1;
			end;
		// Angeling
		case 1096:
			announce ""+ strcharinfo(0) +" Has been killed : Angeling",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LAngeling, LAngeling + 1;
			end;
		// Assassin Cross Eremes
		case 1641:
			announce ""+ strcharinfo(0) +" Has been killed : Assassin Cross Eremes",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LAssassinCrossEremes, LAssassinCrossEremes + 1;
			end;
		// B_EREMES
		case 1647:
			announce ""+ strcharinfo(0) +" Has been killed : Eremes",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LB_EREMES, LB_EREMES + 1;
			end;
		// Atroce
		case 1785:
			announce ""+ strcharinfo(0) +" Has been killed : Atroce",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LAtroce, LAtroce + 1;
			end;
		// BACSOJIN_
		case 1630:
			announce ""+ strcharinfo(0) +" Has been killed : Bascojin",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LBascojin, LBascojin + 1;
			end;
		// EVENT_BAPHO
		case 1399:
			announce ""+ strcharinfo(0) +" Has been killed : Baphomet Evento",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LEventBapho, LEventBapho + 1;
			end;
		// Baphomet
		case 1039:
			announce ""+ strcharinfo(0) +" Has been killed : Baphomet",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LBaphomet, LBaphomet + 1;
			end;
		// BEELZEBUB_
		case 1874:
			announce ""+ strcharinfo(0) +" Has been killed : Beelzebub",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LBeelzebub, LBeelzebub + 1;
			end;
		// Cat o' Nine Tails
		case 1307:
			announce ""+ strcharinfo(0) +" Has been killed : Cat o' Nine Tails",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LCatONine, LCatONine + 1;
			end;
		// Dark Illusion
		case 1302:
			announce ""+ strcharinfo(0) +" Has been killed : Dark Illusion",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDarkIllusion, LDarkIllusion + 1;
			end;
		// Dark Lord
		case 1272:
			announce ""+ strcharinfo(0) +" Has been killed : Dark Lord",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDarkLord, LDarkLord + 1;
			end;
		// Detale
		case 1719:
			announce ""+ strcharinfo(0) +" Has been killed : Detale",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDetale, LDetale + 1;
			end;
		// Deviling
		case 1582:
			announce ""+ strcharinfo(0) +" Has been killed : Deviling",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDeviling, LDeviling + 1;
			end;
		// Doppelganger
		case 1046:
			announce ""+ strcharinfo(0) +" Has been killed : Doppelganger",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDoppelganger, LDoppelganger + 1;
			end;
		// Dracula
		case 1389:
			announce ""+ strcharinfo(0) +" Has been killed : Dracula",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDracula, LDracula + 1;
			end;
		// Dragon Fly
		case 1091:
			announce ""+ strcharinfo(0) +" Has been killed : Dragon Fly",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDragonFly, LDragonFly + 1;
			end;
		// Drake
		case 1112:
			announce ""+ strcharinfo(0) +" Has been killed : Drake",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LDrake, LDrake + 1;
			end;
		// Eclipse
		case 1093:
			announce ""+ strcharinfo(0) +" Has been killed : Eclipse",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LEclipse, LEclipse + 1;
			end;
		// Eddga
		case 1115:
			announce ""+ strcharinfo(0) +" Has been killed : Eddga",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LEdgga, LEdgga + 1;
			end;
		// Entweihen
		case 1957:
			announce ""+ strcharinfo(0) +" Has been killed : Entweihen",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LEntweihen, LEntweihen + 1;
			end;
		// Evil Snake Lord
		case 1418:
			announce ""+ strcharinfo(0) +" Has been killed : Evil Snake Lord",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LSnakeLord, LSnakeLord + 1;
			end;
		// FALLINGBISHOP
		case 1871:
			announce ""+ strcharinfo(0) +" Has been killed : Fallingbishop",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LBishop, LBishop + 1;
			end;
		// Garm
		case 1252:
			announce ""+ strcharinfo(0) +" Has been killed : Garm",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGarm, LGarm + 1;
			end;
		// Gemini-S58
		case 1681:
			announce ""+ strcharinfo(0) +" Has been killed : Gemini-S58",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGemini, LGemini + 1;
			end;
		// Ghostring
		case 1120:
			announce ""+ strcharinfo(0) +" Has been killed : Ghostring",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGhostring, LGhostring + 1;
			end;
		// GLOOMUNDERNIGHT
		case 1768:
			announce ""+ strcharinfo(0) +" Has been killed : Gloom Under Night",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGloom, LGloom + 1;
			end;
		// Golden Bug
		case 1086:
			announce ""+ strcharinfo(0) +" Has been killed : Golden Thiefbug",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGoldenBug, LGoldenBug + 1;
			end;
		// G_MAGALETA
		case 1802:
			announce ""+ strcharinfo(0) +" Has been killed :a Magaleta",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMagaleta, LMagaleta + 1;
			end;
		// Hellion Revenant
		case 1626:
			announce ""+ strcharinfo(0) +" Has been killed : Hellion Revenant",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LHellion, LHellion + 1;
			end;
		// High Priest Magaleta
		case 1649:
			announce ""+ strcharinfo(0) +" Has been killed :a High Priest Magaleta",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LHPMagaleta, LHPMagaleta + 1;
			end;
		// High Wizard Katrinn
		case 1645:
			announce ""+ strcharinfo(0) +" Has been killed :a High Wizard Katrinn",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LHWKatrinn, LHWKatrinn + 1;
			end;
		// High Wizard Katryne
		case 1651:
			announce ""+ strcharinfo(0) +" Has been killed :a High Wizard Katryne",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LHWKatryne, LHWKatryne + 1;
			end;
		// Hydrolancer
		case 1720:
			announce ""+ strcharinfo(0) +" Has been killed : Hydrolancer",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LHydrolancer, LHydrolancer + 1;
			end;
		// Ifrit
		case 1832:
			announce ""+ strcharinfo(0) +" Has been killed : Ifrit",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LIfrit, LIfrit + 1;
			end;
		// Incantation Samurai
		case 1492:
			announce ""+ strcharinfo(0) +" Has been killed : Incantation Samurai",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LIncantationSamurai, LIncantationSamurai + 1;
			end;
		// Kiel_
		case 1734:
			announce ""+ strcharinfo(0) +" Has been killed : Kiel",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LKiel, LKiel + 1;
			end;
		// Stormy Knight
		case 1251:
			announce ""+ strcharinfo(0) +" Has been killed : Stormy Knight",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LStormyKnight, LStormyKnight + 1;
			end;
		// Ktullanux
		case 1779:
			announce ""+ strcharinfo(0) +" Has been killed : Ktullanux",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LKtullanux, LKtullanux + 1;
			end;
		// Lady Tanee
		case 1688:
			announce ""+ strcharinfo(0) +" Has been killed : Lady Tanee",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LLadyTanee, LLadyTanee + 1;
			end;
		// G_SEYREN
		case 1640:
			announce ""+ strcharinfo(0) +" Has been killed : G_Seyren",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LGSeyren, LGSeyren + 1;
			end;
		// Lord Knight Seyren
		case 1646:
			announce ""+ strcharinfo(0) +" Has been killed : Lord Knight Seyren",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LKSeyren, LKSeyren + 1;
			end;
		// Lord of Death
		case 1373:
			announce ""+ strcharinfo(0) +" Has been killed : Lord of Death",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LLordDeath, LLordDeath + 1;
			end;
		// Mastering
		case 1090:
			announce ""+ strcharinfo(0) +" Has been killed : Mastering",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMastering, LMastering + 1;
			end;
		// Maya
		case 1147:
			announce ""+ strcharinfo(0) +" Has been killed : Maya",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMaya, LMaya + 1;
			end;
		// Maya Purple
		case 1289:
			announce ""+ strcharinfo(0) +" Has been killed : Maya Purple",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMayaPurple, LMayaPurple + 1;
			end;
		// Mistress
		case 1059:
			announce ""+ strcharinfo(0) +" Has been killed : Mistress",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMistress, LMistress + 1;
			end;
		// Moonlight flower
		case 1150:
			announce ""+ strcharinfo(0) +" Has been killed : Moonlight Flower",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMoonFlower, LMoonFlower + 1;
			end;
		// Mutant Dragon
		case 1262:
			announce ""+ strcharinfo(0) +" Has been killed : Mutant Dragon",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LMutantDragon, LMutantDragon + 1;
			end;
		// Naght Seiger
		case 1956:
			announce ""+ strcharinfo(0) +" Has been killed : Nagh Seiger",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LNagh, LNagh + 1;
			end;
		// Orc Hero
		case 1087:
			announce ""+ strcharinfo(0) +" Has been killed : Orc Hero",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LOrcHero, LOrcHero + 1;
			end;
		// Orc Lord
		case 1190:
			announce ""+ strcharinfo(0) +" Has been killed : Orc Lord",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LOrcLord, LOrcLord + 1;
			end;
		// Osiris
		case 1038:
			announce ""+ strcharinfo(0) +" Has been killed : Osiris",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LOsiris, LOsiris + 1;
			end;
		// Pharaoh
		case 1157:
			announce ""+ strcharinfo(0) +" Has been killed : Pharaoh",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LPharaoh, LPharaoh + 1;
			end;
		// Phreeoni
		case 1159:
			announce ""+ strcharinfo(0) +" Has been killed : Phreeoni",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LPhreeoni, LPhreeoni + 1;
			end;
		// Poripori
		case 1502:
			announce ""+ strcharinfo(0) +" Has been killed : Pori pori",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LPoriPori, LPoriPori + 1;
			end;
		// RSX
		case 1623:
			announce ""+ strcharinfo(0) +" Has been killed : RSX",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LRSX, LRSX + 1;
			end;
		// Sniper Shecil
		case 1644:
			announce ""+ strcharinfo(0) +" Has been killed : Sniper Shecil",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LSniper1, LSniper1 + 1;
			end;
		// Sniper Cecil
		case 1650:
			announce ""+ strcharinfo(0) +" Has been killed : Sniper Cecil",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LSniper2, LSniper2 + 1;
			end;
		// Tao Gunka
		case 1583:
			announce ""+ strcharinfo(0) +" Has been killed : Tao Gunka",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LTaoGunka, LTaoGunka + 1;
			end;
		// Thanatos
		case 1708:
			announce ""+ strcharinfo(0) +" Has been killed : Thanatos",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LThanatos, LThanatos + 1;
			end;
		// Thanatos Despero
		case 1705:
			announce ""+ strcharinfo(0) +" Has been killed : Thanatos Despero",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LThanatos2, LThanatos2 + 1;
			end;
		// Thanatos Dolor
		case 1707:
			announce ""+ strcharinfo(0) +" Has been killed : Thanatos Dolor",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LThanatos3, LThanatos3 + 1;
			end;
		// Thanatos Maero
		case 1706:
			announce ""+ strcharinfo(0) +" Has been killed : Thanatos Maero",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LThanatos4, LThanatos4 + 1;
			end;
		// Thanatos Odium
		case 1704:
			announce ""+ strcharinfo(0) +" Has been killed : Thanatos Odium",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LThanatos5, LThanatos5 + 1;
			end;
		// Tirfing
		case 1204:
			announce ""+ strcharinfo(0) +" Has been killed : Tirfing",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LTirfing, LTirfing + 1;
			end;
		// Toad
		case 1089:
			announce ""+ strcharinfo(0) +" Has been killed : Toad",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LToad, LToad + 1;
			end;
		// Turtle General
		case 1312:
			announce ""+ strcharinfo(0) +" Has been killed : Turtle General",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LTurtleGeneral, LTurtleGeneral + 1;
			end;
		// Vagabond Wolf
		case 1092:
			announce ""+ strcharinfo(0) +" Has been killed : Vagabond Wolf",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LVagabondWolf, LVagabondWolf + 1;
			end;
		// Valkyrie
		case 1765:
			announce ""+ strcharinfo(0) +" Has been killed : Valkyrie",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LValkyrie, LValkyrie + 1;
			end;
		// Valkyrie rangdris
		case 1751:
			announce ""+ strcharinfo(0) +" Has been killed : Valkyrie Rangdris",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LValkyrieRan, LValkyrieRan + 1;
			end;
		// Vesper
		case 1685:
			announce ""+ strcharinfo(0) +" Has been killed : Vesper",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LVesper, LVesper + 1;
			end;
		// Vocal
		case 1088:
			announce ""+ strcharinfo(0) +" Has been killed : Vocal",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LVocal, LVocal + 1;
			end;
		// Whitesmith Harword
		case 1642:
			announce ""+ strcharinfo(0) +" Has been killed : Whitesmith Harword",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LWhites1, LWhites1 + 1;
			end;
		// Whitesmith Howard
		case 1648:
			announce ""+ strcharinfo(0) +" Has been killed : Whitesmith Howard",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LWhites2, LWhites2 + 1;
			end;
		// Satan Morroc
		case 1917:
			announce ""+ strcharinfo(0) +" Has been killed : Satan Morroc",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LSMorroc, LSMorroc + 1;
			end;
		// Egnigem Cenia
		case 1658:
			announce ""+ strcharinfo(0) +" Has been killed : Egnigem Cenia",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LEgnigem, LEgnigem + 1;
			end;
		// Zmey Gorynych
		case 1885:
			announce ""+ strcharinfo(0) +" Has been killed : Zmey Gorynych",bc_blue;
			set MVPTotal, MVPTotal + 1;
			set LZmey, LZmey + 1;
			end;
		default:
			end;
	} // End switch
end;
} // End script
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  44
  • Reputation:   5
  • Joined:  12/06/11
  • Last Seen:  

You just need to replace this:

if(ZENY >= atoi(.mvpSpawn$[2])){
    set ZENY, ZENY - atoi(.mvpSpawn$[2]);
    monster strcharinfo(3),99,135,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;
}

By:

if(ZENY >= atoi(.mvpSpawn$[2])){
        set ZENY, ZENY - atoi(.mvpSpawn$[2]);
	mapannounce strcharinfo(3),strcharinfo(0)+" just spawned "+.mvpSpawn$[0],0;
        monster strcharinfo(3),99,135,.mvpSpawn$[0],atoi(.mvpSpawn$[1]),1;
}
Edited by Khazou
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Thank you, im done with this ^_^

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