Jump to content
  • 0

Starterset Effect disappear with Level and Days


Keskes

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   1
  • Joined:  01/06/12
  • Last Seen:  

Hello,

i worked on a Starterset for new Players on a Server, but now i must stop.

I cant find how i can make this:

When reached Level xx the Effect of the Equipment disappear. (Sample: bonus bSpeedRate,25; on Shoes)

and

The Equipment disappear in 7 Days.

So, i hope the Community can help me..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

1) You would have to edit the item database to something similar to the following: (ie. check the level of the player, and if it satisfies the condition, apply the item bonus.)

{ if(BaseLevel <= xx) { bonus bSpeedRate,25; } },{}, {}

2) You can give the starter set though an NPC using the rentitem script command so that the equipment will disappear after a given time.

*rentitem <item id>,<time>;

*rentitem "<item name>",<time>;

Creates a rental item in the attached character's inventory. The item will expire

in <time> seconds and be automatically deleted. When receiving a rental item,

the character will receive a message in their chat window. The character will

also receive warning messages in their chat window before the item disappears.

This command can not be used to rent stackable items. Rental items cannot be

dropped, traded, sold to NPCs, or placed in guild storage. (i.e. trade mask 75)

Note: 'delitem' in an NPC script can still remove rental items.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   1
  • Joined:  01/06/12
  • Last Seen:  

Thank you very much for your fast help. <3

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