Jump to content
  • 0

[Close] Drop certain item on certain map


Jayz

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

Im requesting script like i said on the title

Ok i want to make pvproom on izlude when you died/leave on map/logout/char select on pvp room automatic drop your 5013 or Lord Kaho Horn if you have.

Example:

On Killing

Player 1: No Lord Kaho

Player 2: Have Lord Kaho

Player 3: No Lord Kaho

Player 1: Kill Player 2 have announcing Player 2 Drop the Lord Kaho because he/she Killed by Player 1

when Player 1: kill the Player 3 no announcing because there's no Lord Kaho

About Leave on Map Izlude and Char Select/Logout

if you have Lord Kaho Horn when you leave on the map/Char Select/Logout the lord kaho has been drop and have announce "PlayerName has surender the lord kaho"

sorry for my bad english..

Cydh is working on it

Edited by Zack-
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

if I understand correctly ... you are trying to make juggernaut event, am I wrong ?

kill a player carrying a godlike item, autoequip it to gain super bonus

if a player kill a godlike item carrier, the killer gets super bonus, and the dead ones become normal player

this kind of level1 event script I can write on fly

though I suggest its better to use OnPCStatCalcEvent to write this, not with an item like this

because our current script engine will auto-delete items on floor,

yeah I know your topic like this ...

wait ...

if that solution doesn't post to public I don't know how to write this script using your method

otherwise you have to PM goddameit to write this for you also ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

yahh but idont know if like this is jagernout event

btw about the script thats ok to post in the public

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

pc.c

    {
       int v = pc_checkmedigun(sd);
       sd->status.inventory[v].refine=0;
       clif_equiplist(sd);
   }
   npc_script_event(sd,NPCE_DIE);

   {

   //Add something in here

   }

   /* e.g. not killed thru pc_damage */
   if( pc_issit(sd) ) {
       clif_status_load(&sd->bl,SI_SIT,0);
   }

what those something will be?

first is search what that item element in inventory list

when you get element

you can get that item date.

send date to map_addflooritem function to finish dropping.

I can give you some value of below

,first_charid, second_charid, third_charid, guild_id, flags

,0,0,0,0,1

after give full set on map_addflooritem in pc.c

don't forget add pc_delitem to delete this item

-

also add new define in ''short item_id'' in ''bool immortal_item_main''

Edited by goddameit
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...