• 0
mathlister

How to make Arrow Cant be consume?

Question

As title says.

i wanna Ask u guys how can i make This Arrow >>> Link << And This Bullet >>> Link <<< 

To be Unlimited... And just for this Arrow/Bullet Only.. but All the Other Arrow/Bullet still be like normal consume...

 

1750,Arrow,Arrow,10,1,,1,25,,,,0x000A1848,7,2,32768,,1,,1,{},{},{}

13200,Bullet,Bullet,10,1,,2,10,,,,0x41000000,7,2,32768,,1,,3,{},{},{}

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
// Are arrows/ammo consumed when used on a bow/gun?
  // 0 = No
  // 1 = Yes
  // 2 = Yes even for skills that do not specify arrow consumption when said
  // skill is weapon-based and used with ranged weapons (auto-guesses which
  // skills should consume ammo when it's acquired via a card or plagiarize)
  arrow_decrement: 1

 

 

 

 

yeah i know this type.. but i just wanna make those arrow and bullet Only... so other Arrow still need to be come like normal..

1705 = Unlimite 

for silver,fire,wind,cursed arrow will be cosume.. if the user/player not carry enoghf of it .. its will be dead end for them.. so need to head back to town to buy more..  im searching for that kinda stuff

Share this post


Link to post
Share on other sites
  • 0
 
You will not get what you are asking for.

This is a source configuration change and the configuration there is not DB query to see which item should be consumed or not.

Verification is dad by TYPE of consumer ammunition.

What you can try to do is something simple like.

If the ammo has ID x, y, z ... getitem <x, y, z>, amount used;
 
  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Yeah i know.. but i want to make if that Arrow has been use and its keep in iventory  so its will be unlimited.. is there any callfunc can do that?

If the ammo has ID x, y, z ... getitem <x, y, z>, amount used; <<<< like that u said earlier..

Share this post


Link to post
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.

Loading...