line 8.
i tried commenting out those lines, but...
im having an error after that next line...
can you give me another script..its not working at all hmm...
bump
// Reward ID / Amount Initiating ( Check db/Item_db.txt || db/Item_db2.txt )
//setarray .Reward[0],
// 607,10, // Reward 1 + Amount
// 608,5, // Reward 2 + Amount
// 501,3, // etc......
// 512,1; // Last Reward 1 ( Max. ~64 Items )
//set .@npcname$,"^0000FF[ Brice ]^000000";
1@ma_b,78,80,5 script Dead Bryce 849,{
if(gettimetick(2) - helped1 < (60 * 60 * 72)) {
mes "^0000FF[ Bryce ]^000000";
mes "........";
mes "There's a Note in his arm!";
next;
mes "[Note:]";
mes "You must wait";
mes "Until its 3 Days Rest is over!";
close;
}
mes "Legendary Bryce is lying on the floor.";
mes ".....";
next;
mes "there was a Note in his chest.";
mes "Here is the list to Revive this Legendary Man.";
next;
mes "^cc000050x Poison Bottle";
mes "150x Bravery Bagde ";
mes "150x Valor Badge";
mes "3000x Special Exhange Ticket";
mes "and 1x Leak Card.^000000";
next;
switch(select("-Cancel:-Yes, Lets Give it")) {
case 1:
close;
break;
case 2:
if (countitem(678) < 50 || countitem(7828) < 150 || countitem(7829) < 150 || countitem(6153) < 3000 || countitem(4520) < 1){
mes "You don't have all the Items.";
mes "Here is the list from the Note again.";
next;
mes "^cc000050x Poison Bottle";
mes "250x Bravery Bagde ";
mes "250x Valor Badge";
mes "3000x Special Exhange Ticket";
mes "and 1x Leak Card.^000000";
close;
} else {
mes "^0000FF[ Bryce ]^000000";
mes "Ok thanks for the items.";
delitem 678, 50; // Poison Bottle
delitem 7828, 250; // Bravery Badge
delitem 7829, 250; // Valor Badge
delitem 6153, 3000 // Special Exhange Ticket
delitem 4520, 1; // Leak Card
next;
mes "^0000FF[ Bryce ]^000000";
mes ".....";
mes "Something is happening";
next;
mes ".....";
next;
mes "^0000FF[ Bryce ]^000000";
mes "Who dares to disturb my Rest and awaken me!!.";
setnpcdisplay("Dead Bryce",980);
sleep2 5000;
next;
mes "^0000FF[ Bryce ]^000000";
mes "Arrrgggghhh..";
next;
mes "My body is transforming into monster again..";
setnpcdisplay("Dead Bryce",999);
mes "^0000FF[ Bryce ]^000000";
mes "You will die for this..";
close;
killmonsterall "1@ma_b";
donpcevent "Room of Life::OnEnable";
end;
}
}
}
// Room of Life
// ======================================
1@ma_b,1,1,0 script Room of Life 66,{
OnEnable:
enablenpc "Room of Life";
set .MyMobs,1;
monster "1@ma_b",64,88,"Pugde the Butcher",3000,1,"Room of Life::OnMyMobDead";
end;
OnDisable:
killmonsterall "1@ma_b";
disablenpc "Room of Life";
end;
OnMyMobDead:
set .MyMobs,.MyMobs-1;
if (.MyMobs < 1) {
announce " "strcharinfo(0)+" has successfully in Exterminate the Horrible Butcher, Pudge.",bc_all;
sleep2 3000;
announce " "strcharinfo(0)+" Legendary Dead Bryce is Asleep for 3 Days.",bc_all;
donpcevent "Room of Life::OnDisable";
set BaseExp,+160000;
set JobExp,+100000;
set helped1,gettimetick(2);
setnpcdisplay("Dead Rodz",849);
warp "dicastes01",193,173;
for( set .@a,0; .@a < getarraysize( .Reward ); set .@a,.@a + 2 ){
getitem .Reward[.@a],.Reward[.@a+1], $@partymemberaid[.@i];
}
dispbottom "Pudge Extermination Quest will be available again in 3 days after you kill Pudge";
warp "dicastes01",193,173;
}
end;
}
its working now, i just removed the rewards and set npc name, and added "break" on the cases...
thanks