Jump to content
  • 0

Card item limitation


Poring King

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Good day 

How can i limit my card effect ? example : I editted my Thanatos into hydra card effect and make it 30% much higher than hydra . But suddenly i found out that 4thanatos card with the effect of Hydra are working . how can i make it only 2? 3 or 4 same card wont be effect . what should i put in thanatos script in item_db.txt . And also for the counter part of it . i want to make 5kiels will work . i need those 2 for future use and current use of purpose.

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 2

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  234
  • Reputation:   113
  • Joined:  02/24/15
  • Last Seen:  

This could help you?

4403,Kiel_Card,Kiel-D-01 Card,6,20,,10,,,,,,,,769,,,,,{ if(isequippedcnt(4403) == 1){bonus bDelayRate,-30;} },{ if(isequippedcnt(4403) > 1){ message strcharinfo(0),"You can only equip 1x "+getitemname(4403)+"! Additional card(s) has been disabled."; } },{}

What this does:

  • Effect only activates if there is one card equipped.
  • If more than one card is equipped, a notice will pop up for the user notifying them that other cards will have no effect.

Complete information here:

 

Edited by maken06
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Thx i think this treand already solve . since i already know how to use that isequippedcnt . thx for giving example i try to search on my item_db to see the example and look here in forum but i also just see emistry give that isequippedcnt but dosent have example . so the example that you provided to me is big deal thx for it.

  • Like 1
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...