Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //===== rAthena Script =======================================
- //= Custom Revival Quest
- //===== By: ==================================================
- //= GM Takumira - please don't remove.
- //============================================================
- // 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[ Takumirai ]^000000";
- guild_vs5,39,51,5 script Dead Takumirai 849,{
- if(gettimetick(2) - helped1 < (60 * 60 * 20)) {
- mes .@npcname$;
- mes "........";
- mes "There's a Note in his arm!";
- next;
- mes "[Note:]";
- mes "You must wait";
- mes "Until 20 Hours are over!";
- close;
- }
- mes "Legendary Takumirai 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 "^cc000015x Poison Bottle";
- mes "150x Poison Spores";
- mes "50x Green Herbs";
- mes "and 20x Karvodailnirol.^000000";
- next;
- switch(select("-Cancel:-Yes, Lets Give it")) {
- case 1:
- close;
- }
- case 2:
- if (countitem(678) < 15 || countitem(7033) < 150 || countitem(511) < 50 || countitem(972) < 20){
- mes "You haven't all the Items.";
- mes "Here is the list from the Note again.";
- next;
- mes "^cc000015x Poison Bottle";
- mes "150x Poison Spores";
- mes "50x Green Herbs";
- mes "and 20x Karvodailnirol.^000000";
- close;
- } else {
- mes .@npcname$;
- mes "Ok thanks for the items.";
- delitem 678, 15; // Poison Bottle
- delitem 7033, 150; // Poison Spore
- delitem 511, 50; // Green Herb
- delitem 972, 20; // Karvodailnirol
- next;
- mes .@npcname$;
- mes ".....";
- mes "Something is happening";
- next;
- mes ".....";
- next;
- mes .@npcname$;
- mes "Who dares awake me..";
- setnpcdisplay("Dead Takumirai",980);
- sleep2 5000;
- next;
- mes .@npcname$;
- mes "Arrrgggg..";
- next;
- mes "My body is transforming to monster again..";
- setnpcdisplay("Dead Takumirai",999);
- mes .@npcname$;
- mes "You will die for this..";
- killmonsterall "guild_vs5";
- donpcevent "Room of Life::OnEnable";
- end;
- // Room of Life
- // ======================================
- guild_vs5,1,1,0 script Room of Life 66,{
- OnEnable:
- enablenpc "Room of Life";
- set .MyMobs,10;
- monster "guild_vs5",47,75,"Ancient Mimic",1699,5,"Room of Life::OnMyMobDead";
- monster "guild_vs5",47,44,"Anubis",1098,5,"Room of Life::OnMyMobDead";
- end;
- OnDisable:
- killmonsterall "guild_vs5";
- disablenpc "Room of Life";
- end;
- OnMyMobDead:
- set .MyMobs,.MyMobs-1;
- if (.MyMobs < 1) {
- mapannounce "guild_vs5",strcharinfo(0)+" has succeeded in eliminating the monsters.",bc_map;
- sleep2 3000;
- mapannounce "guild_vs5",strcharinfo(0)+" Legendary Dead Takumirai Again Sleeping.",bc_map;
- set BaseExp,+160000;
- set JobExp,+100000;
- set helped1,gettimetick(2);
- setnpcdisplay("Dead Takumirai",849);
- warp "prontera",120,110;
- for( set .@a,0; .@a < getarraysize( .Reward ); set .@a,.@a + 2 ){
- getitem .Reward[.@a],.Reward[.@a+1], $@partymemberaid[.@i];
- }
- dispbottom "Gained those items as Reward for Finishing Stage Game";
- warp "prontera",120,110;
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement