Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Disabled some item effects in certain map ITEM_DB


Onairda

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   9
  • Joined:  12/30/16
  • Last Seen:  

Hello ?

As the tittle said.  How can I disabled some effects on the item when its on certain map?.  example

Item:  Brynhild / Effects:  +10 Str ,  +50 Vit

How can I disable the +50 Vit effects on the item when the players are inside the pvp_y_1-1 ?. Note(+10 Str should still working. Only the vit will be disabled)

Thank you!!

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  778
  • Reputation:   73
  • Joined:  02/10/12
  • Last Seen:  

22 hours ago, G-RO said:

Hello ?

As the tittle said.  How can I disabled some effects on the item when its on certain map?.  example

Item:  Brynhild / Effects:  +10 Str ,  +50 Vit

How can I disable the +50 Vit effects on the item when the players are inside the pvp_y_1-1 ?. Note(+10 Str should still working. Only the vit will be disabled)

Thank you!!

 

 

 

 if(strcharinfo(3) == "mappvp" ) { str 10} else { str 10; vit 50;}

 

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