Jump to content
  • 0

I just did a script card limit


zaruramen

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  08/27/15
  • Last Seen:  

hi I'm looking for script that limit a card for many days but I never found answer or free script so I try to modify my item_db and finally I did it and wanna share for someone who's got the same problem like me

 

4064,Zerom_Card,Zerom Card,6,20,,10,,,,,,,,136,,,,,{ if (isequippedcnt(4064)<=1) bonus bDex,3; },{},{}

 

my server have clip 4 slot but I don't want to stack a status if you put more than 1 zerom card status will not increase

 

if you have a script that do for all card please tell me.

 

sorry for my english. :)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  374
  • Reputation:   47
  • Joined:  03/27/13
  • Last Seen:  

Try this:

 

4064,Zerom_Card,Zerom Card,6,20,,10,,,,,,,,136,,,,,{ if(isequippedcnt(4064)>=2) {} else { bonus bDex,3; } },{},{}
 
Only thing about it is when you equip 2 zerom cards together, the +3 dex from the first zerom will be reduced. In other words it's just like you equipped a clip with 2 - 4 zerom cards without any zerom in it since it'll be +0 DEX when 2 or more zerom cards are equipped.
 
EDIT: My explanation is crap so you could just test it in-game lol.
Edited by Mary Magdalene
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  41
  • Reputation:   0
  • Joined:  08/27/15
  • Last Seen:  

thank! I will try it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  86
  • Topics Per Day:  0.02
  • Content Count:  591
  • Reputation:   146
  • Joined:  06/19/12
  • Last Seen:  

pls move this topic to ,Scripting Support or Database Support

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