Jump to content
  • 0

Set 1 Kiel card effect


Werdio

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

How I can set that only one kiel card works by every class? I mean what I have to write in the db so that Kiel card isn't multiplicable?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

might be something like this?

onequip

if(@iskielequipped == 0) { set @iskielequipped, 1; /* kiel card effect */ }

unequip

set @iskielequipped, 0;

not quite sure tho. /slur

Edited by Jhedzkie
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

That could work but this one the one specific for it

*isequippedcnt(<card id>{,<card id>{,<card id>{,<card id>}}})

This function is similar to 'isequipped', but instead of 1 or 0, it will return
the number of cards in the list given that were found on the invoking character.

if (isequippedcnt(4001,4005,4033,4196)=4) mes "Finally got all four poring cards?";

if ( isequippedcnt(4403) <= 1 ) { Kiel card effect here }

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

You mean this?


4403,Kiel_Card,Kiel-D-01 Card,6,20,,10,,,,,,,,769,,,,,{ ( isequippedcnt (4403) <= 1) },{ bonus bDelayRate,-30; },{}

Is this right? :D

Edited by Duck
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

another way....

bonus bDelayRate,( -30 / isequippedcnt (4403) );

no matter how many Kiel Card the users equipped....it will remained as 30% reducted delay..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Thank you <3

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