Yuka Posted March 6, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Share Posted March 6, 2014 (edited) Hi, Can I add more than one specific item to nightmaredrop? And how can I make it 100%? nightmare mapflag pvp_nightmaredrop random,all,10000 doesn't give me 100%. :/ Oh and is there another way to make a player respawn when he dies other than making the map gvg? Edited March 6, 2014 by Greyford Quote Link to comment Share on other sites More sharing options...
Kido Posted March 7, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted March 7, 2014 here o: http://svn.rathena.org/svn/rathena/trunk/doc/mapflags.txt this --------------------------------------- *pvp_nightmaredrop <id>,<type>,<rate> Causes players to drop items upon death. This is not grouped with the other PvP mapflags because it does not necessarily require PvP mode to be set. <id> determines what will drop. It can be either a specific item ID or "random". <type> specifies where items are dropped from. It can be "inventory", "equip", or "all". <rate> is the chance that an item will drop (10000 = 100%). --------------------------------------- i'm pretty sure that you may misconfig something o: remember to hit tabs (?) Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 7, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 7, 2014 nightmare%tab%mapflag%tab%pvp_nightmaredrop%tab%random,all,10000 then type @loadnpc npc/mapflag/nightmare.txt - script Respawn -1,{ OnPCDieEvent: recovery 0; warp "Save",0,0; end; } Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 7, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share Posted March 7, 2014 nightmare%tab%mapflag%tab%pvp_nightmaredrop%tab%random,all,10000 then type @loadnpc npc/mapflag/nightmare.txt - script Respawn -1,{ OnPCDieEvent: recovery 0; warp "Save",0,0; end; } The script works. But still its not 100% drop :/ Quote Link to comment Share on other sites More sharing options...
Kido Posted March 7, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted March 7, 2014 ah i found this http://www.eathena.ws/board/index.php?showtopic=218345 read this o: "Well, i made a diff, if you configure a nightmare mapflag like this: Example: CODE pvp_n_1-1 mapflag pvp_nightmaredrop all,all,10000 Everytime a char dies, it will drop everything. The first parameter indicates what drop, everything, random or an specified item, the second equiped items, inventory items or all, the third is the percent of drop, 10000 is 100.00%. If you change the percent, is the percent per item, not to drop all.So here is the diff:[Check it in my next post]I'm not an expert, and i did it fast... So the code could be wrong, but it works, if someone wants to fix it, better. " So, that may be why o:! Quote Link to comment Share on other sites More sharing options...
Yuka Posted March 8, 2014 Group: Members Topic Count: 100 Topics Per Day: 0.02 Content Count: 333 Reputation: 7 Joined: 03/01/14 Last Seen: May 6, 2020 Author Share Posted March 8, 2014 (edited) nightmare%tab%mapflag%tab%pvp_nightmaredrop%tab%random,all,10000 then type @loadnpc npc/mapflag/nightmare.txt - script Respawn -1,{ OnPCDieEvent: recovery 0; warp "Save",0,0; end; } Sorry, I just noticed that your script makes people autorespawn on EVERY map. :/ How to fix? Just added a check for map, sorry. Edited March 8, 2014 by Greyford Quote Link to comment Share on other sites More sharing options...
Question
Yuka
Hi,
Can I add more than one specific item to nightmaredrop?
And how can I make it 100%?
nightmare mapflag pvp_nightmaredrop random,all,10000
doesn't give me 100%. :/
Oh and is there another way to make a player respawn when he dies other than making the map gvg?
Edited by GreyfordLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.