Jump to content
  • 0

Skull drop in inventory


Kater

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.40
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/03/24
  • Last Seen:  

Hello friends,

I enabled players' skulls to drop when they die in pvp as shown below.
I would like this skull to go straight to the inventory, do you know what can be done?

 

// Players' will drop a 'Skull' when killed?
// Note: The 'Skull' item (ID 7420) is trade restricted by default. You need
// to remove the "NoTrade" flag on the item for this feature to work.
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 1

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  322
  • Reputation:   58
  • Joined:  10/30/12
  • Last Seen:  

I found solution for you to try without edit or change any src code. Maybe this will help you:

 

  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  02/04/24
  • Last Seen:  

6 hours ago, Kater said:

Olá amigos,

Eu permiti que os crânios dos jogadores caíssem quando eles morressem no pvp, como mostrado abaixo.
Gostaria que essa caveira fosse direto para o inventário, sabe o que pode ser feito?

 

 

//01_emulator\rathena\conf\battle\player.conf / bone_drop: 0

 

-   script  PVP_Skull_Inventory -1,{
OnPCKillEvent:
if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid)); 
end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  322
  • Reputation:   58
  • Joined:  10/30/12
  • Last Seen:  

Posted (edited)

You can use script to make it happen. Then disable the drop skull on conf.

Check on this post:

Also you can check this for add multiple map and reward:

 

Edited by mrfizi
add more info
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.40
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/03/24
  • Last Seen:  

6 hours ago, mrfizi said:

You can use script to make it happen. Then disable the drop skull on conf.

Check on this post:

Also you can check this for add multiple map and reward:

 

 

6 hours ago, J0hn said:

//01_emulator\rathena\conf\battle\player.conf / bone_drop: 0

 

-   script  PVP_Skull_Inventory -1,{
OnPCKillEvent:
if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid)); 
end;
}

 

 

 

None of the functions worked.
I want the skull with the player's name to go into the inventory.
The options presented are for a skull without a name, creating any skull.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  322
  • Reputation:   58
  • Joined:  10/30/12
  • Last Seen:  

Then you need the src change for it. 🙂

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.40
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/03/24
  • Last Seen:  

1 hour ago, mrfizi said:

Then you need the src change for it. 🙂

 

 

Yes, I remember that the change is in src.
But I don't know where and how to do it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.40
  • Content Count:  61
  • Reputation:   0
  • Joined:  04/03/24
  • Last Seen:  

1 hour ago, mrfizi said:

Encontrei uma solução para você tentar sem editar ou alterar nenhum código src. Talvez isso ajude você:

 

 

 

thank thank.....

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