icegrave01 Posted August 5, 2016 Share Posted August 5, 2016 Can i request this 1. map area must be pk room(any pvp room available) 2. monsters summon (3mins if killed) only few is available - item droped random *50 pcs gold 100% drop rate *20pcs bloody branch 30% drop rate *1pc special item 10% drop rate 3. special item exchanger npc ( for example 20pcs special item for 1pc ESG) 4. kill room npc with entrance fee 10m 5. if killed inside the room player must respawn outside(main town) 6. no warp no memo no tele.+ 7. only through npc can enter this room. Quote Link to comment Share on other sites More sharing options...
0 Aureon Posted August 6, 2016 Share Posted August 6, 2016 How about this? // // NOTE: Remove gvg mapflag on guild_vs2 (default on this script) if you want to use this map as pk room // - script PK#config -1,{ OnInit: /* minimum zeny needed to enter */ set [email protected]_zeny, 10000000; //------------------------------- /* special item you mentioned */ set [email protected]_item, 7227; // item id set [email protected]_amount, 20; // item amount to be exchanged on npc //------------------------------- /* item to be exchanged */ set [email protected]_item, 501; // item id set [email protected]_amount, 1; //item amount //------------------------------- end; } - script PK#Room -1,{ OnNPCKillEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ if( killedrid == 1002) { set [email protected], rand (10+30+100); if ([email protected] < 10){ getitem [email protected]_item,1; // 10% of having 7227=tcg card as special item } else if ([email protected] < 30){ getitem 12103,20; // 30% rate of having bloody branch } else if ([email protected] < 100){ getitem 969,50; // 100% rate of having gold } else { getitem 969,50; // 100% rate of having gold } end; } } else{ end; } OnPCDieEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ sleep2 1000; warp "prontera",150,150; end; } end; } prontera,155,184,4 script rAthena 100,{ set @npc$,"[rAthena]"; mes @npc$; mes "What do you want to do?"; switch(select("Enter PVP Room","Exchange Items")){ case 1: if (Zeny >= [email protected]_zeny){ set Zeny,[email protected]_zeny; warp "guild_vs2",0,0; end; } else{ dispbottom "Insufficient zeny"; close; } break; case 2: if (countitem([email protected]_item) >= [email protected]_amount){ dispbottom "Deal is succesful!"; getitem [email protected]_item,[email protected]_amount; delitem [email protected]_item,[email protected]_amount; close; } else { dispbottom "Insufficient items"; close; } } close; } /* mapflags and monster spawn */ guild_vs2,0,0,0, monster Poring 1002,1,180000,0,0 guild_vs2 mapflag nomemo guild_vs2 mapflag pvp guild_vs2 mapflag noteleport Quote Link to comment Share on other sites More sharing options...
0 dubstep Posted August 11, 2016 Share Posted August 11, 2016 Hi i want to enable use of fly wing in my gold room? would you help with the script? Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted August 12, 2016 Share Posted August 12, 2016 remove guild_vs2 mapflag noteleport from the end of the script Quote Link to comment Share on other sites More sharing options...
0 icegrave01 Posted August 19, 2016 Author Share Posted August 19, 2016 How about this? // // NOTE: Remove gvg mapflag on guild_vs2 (default on this script) if you want to use this map as pk room // - script PK#config -1,{ OnInit: /* minimum zeny needed to enter */ set [email protected]_zeny, 10000000; //------------------------------- /* special item you mentioned */ set [email protected]_item, 7227; // item id set [email protected]_amount, 20; // item amount to be exchanged on npc //------------------------------- /* item to be exchanged */ set [email protected]_item, 501; // item id set [email protected]_amount, 1; //item amount //------------------------------- end; } - script PK#Room -1,{ OnNPCKillEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ if( killedrid == 1002) { set [email protected], rand (10+30+100); if ([email protected] < 10){ getitem [email protected]_item,1; // 10% of having 7227=tcg card as special item } else if ([email protected] < 30){ getitem 12103,20; // 30% rate of having bloody branch } else if ([email protected] < 100){ getitem 969,50; // 100% rate of having gold } else { getitem 969,50; // 100% rate of having gold } end; } } else{ end; } OnPCDieEvent: getmapxy(@mapn$,@mapx,@mapy,0); if (@mapn$ == "guild_vs2"){ sleep2 1000; warp "prontera",150,150; end; } end; } prontera,155,184,4 script rAthena 100,{ set @npc$,"[rAthena]"; mes @npc$; mes "What do you want to do?"; switch(select("Enter PVP Room","Exchange Items")){ case 1: if (Zeny >= [email protected]_zeny){ set Zeny,[email protected]_zeny; warp "guild_vs2",0,0; end; } else{ dispbottom "Insufficient zeny"; close; } break; case 2: if (countitem([email protected]_item) >= [email protected]_amount){ dispbottom "Deal is succesful!"; getitem [email protected]_item,[email protected]_amount; delitem [email protected]_item,[email protected]_amount; close; } else { dispbottom "Insufficient items"; close; } } close; } /* mapflags and monster spawn */ guild_vs2,0,0,0, monster Poring 1002,1,180000,0,0 guild_vs2 mapflag nomemo guild_vs2 mapflag pvp guild_vs2 mapflag noteleport Sorry for late reply, i'm kinda busy at work. Thank you for making this script,. remove guild_vs2 mapflag noteleport from the end of the script Why remove? Quote Link to comment Share on other sites More sharing options...
0 Radian Posted August 20, 2016 Share Posted August 20, 2016 He wants to allow players to teleport in the map so by removing the mapflag players can now teleport. Quote Link to comment Share on other sites More sharing options...
0 nitrous Posted August 20, 2016 Share Posted August 20, 2016 remove guild_vs2 mapflag noteleport from the end of the script Why remove? Sorry, that was in response to this. Hi i want to enable use of fly wing in my gold room? would you help with the script? Quote Link to comment Share on other sites More sharing options...
Can i request this
Link to comment
Share on other sites