Jump to content
  • 0

pvp_nightmaredrop


Yuka

Question


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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 Greyford
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   164
  • Joined:  08/17/13
  • Last Seen:  

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 (?)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

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;

}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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 :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   164
  • Joined:  08/17/13
  • Last Seen:  

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:!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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. :D

 

Edited by Greyford
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...