Jump to content

Question

Posted

Hi, Rathena, I need your help. I'm trying to limit a card that is only 2 can be equipped, and when more than 2 are equipped, the card bonus is nullified if you equip more than 2.

    Script: |
     if(isequippedcnt(4457) == 2)
      bonus2 bAddRace,RC_DemiHuman,30;
      bonus2 bAddRace,RC_Player_Human,30;
     if(isequippedcnt(4457) > 2) message strcharinfo(0),"Solo puedes equipar 2x "+getitemname(4457)+"! Tarjeta (s) adicional (es) ha sido deshabilitada.";

1 answer to this question

Recommended Posts

  • 0
Posted
if(isequippedcnt(4457) < 3){
	bonus2 bAddRace,RC_DemiHuman,30;
	bonus2 bAddRace,RC_Player_Human,30;
} else
	message strcharinfo(0),"Solo puedes equipar 2x "+getitemname(4457)+"! Tarjeta (s) adicional (es) ha sido deshabilitada.";

try

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