Jump to content
  • 0

Adding a custom effect when equip


Question

Posted

Hello guys i was trying to add a custom card, with a effect similar to eddga card, but with another skill, i was trying to make a creator card that make you have a permanent FCP when the armor with this card is equiped and removed when armor is unequiped but i dont get it, can somebody please help me with this? this is my code.

 

8145,creator_flamel_card,Creator Card,6,20,,10,,,,,,,,16,,,,,{ bonus bNoKnockback,0; },{ sc_start4 CR_FULLPROTECTION,60000,5,0,0,1; },{ sc_end CR_FULLPROTECTION; }

 

7 answers to this question

Recommended Posts

Posted

yea sorry lol. I didn't notice it right away.... I was seeing CR_FullProtect and it clicked as correct, but Emistry is right, it should be those listed SC effects...

8145,creator_flamel_card,Creator Card,6,20,,10,,,,,,,,16,,,,,{ bonus bNoKnockback,0; },{ sc_start4 SC_CP_WEAPON,60000,5,0,0,1; sc_start4 SC_CP_SHIELD,60000,5,0,0,1; sc_start4 SC_CP_ARMOR,60000,5,0,0,1; sc_start4 SC_CP_HELM,60000,5,0,0,1; },{ sc_end SC_CP_WEAPON; sc_end SC_CP_SHIELD; sc_end SC_CP_ARMOR; sc_end SC_CP_HELM; }

So yea, the above should do what you wanted...

  • Upvote 1
Posted

yea sorry lol. I didn't notice it right away.... I was seeing CR_FullProtect and it clicked as correct, but Emistry is right, it should be those listed SC effects...

8145,creator_flamel_card,Creator Card,6,20,,10,,,,,,,,16,,,,,{ bonus bNoKnockback,0; },{ sc_start4 SC_CP_WEAPON,60000,5,0,0,1; sc_start4 SC_CP_SHIELD,60000,5,0,0,1; sc_start4 SC_CP_ARMOR,60000,5,0,0,1; sc_start4 SC_CP_HELM,60000,5,0,0,1; },{ sc_end SC_CP_WEAPON; sc_end SC_CP_SHIELD; sc_end SC_CP_ARMOR; sc_end SC_CP_HELM; }

So yea, the above should do what you wanted...

OK, with this now i get the effect when equipped and effect got removed if unequipped but it only keep for 1 minute after that effect gone and i have to remove my armor and equip again, there is any way to make this like eddga card? the only way skill will be removed is if you unequip the card.

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