Jump to content
  • 0

Skull drop in inventory


Question

Posted

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

 

7 answers to this question

Recommended Posts

  • 0
Posted
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;
}

 

  • 0
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
  • 0
Posted
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.

  • 0
Posted
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.

  • 0
Posted
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.....

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...