Jump to content
  • 0

guns & bullets


ohyono

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   15
  • Joined:  01/10/12
  • Last Seen:  

Hello rathena friends

 

I wonder if it is possible that a weapon can equip a specific type of bullet. 
 
I made this script and it works halfway, but I would like to completely work. 
 
 function	script	22mm	{
  OnInit:
  if((getequipisequiped(EQI_HAND_R)==13116) || (getequipisequiped(EQI_HAND_R)==13154)) { unequip EQI_HAND_R; } 
  
 }

this is the item_db

13200,22mm_Bullet,22mm Bullet,10,1,,2,10,,,,0x41000000,63,2,32768,,1,,3,{ },{ callfunc "22mm",1; },{}

I Hope you can help me.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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