Jump to content
  • 0

Want a card consume NPC that gives the player permanent bonus!


mujia01

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  10/17/19
  • Last Seen:  

1、A NPC that player can give some cards to

2、After recieving a card, the NPC will give the player bonus like the player actually equiped the card, or gives player some bonus of the card.

3、The NPC can check wether the card was given by the player or not, and the same card cannot be given again.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

1.) Store string variable of all card bonus.

2.) Players bring card to NPC.

3.) Store int for index of card and Use bonus_script with 999999999 timer for each card bonus when player success trade / login.

 

It's not the best idea but I confirmed this can be use.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  10/17/19
  • Last Seen:  

4 hours ago, Start_ said:

1.) Store string variable of all card bonus.

2.) Players bring card to NPC.

3.) Store int for index of card and Use bonus_script with 999999999 timer for each card bonus when player success trade / login.

 

It's not the best idea but I confirmed this can be use.

Thanks, I will try, but I'm not learning the script enough, so it  may not work eventually, but thanks for the idea !

Edited by mujia01
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

query_sql for card effect

bonus_script .@query_variable$,<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}};

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