Yuka Posted March 6, 2014 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
Kido Posted March 7, 2014 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
sandbox Posted March 7, 2014 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
Yuka Posted March 7, 2014 Author 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
Kido Posted March 7, 2014 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
Yuka Posted March 8, 2014 Author 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
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 Greyford5 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.