Jump to content
  • 0

modify npc points by specific item


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

 

Hello community, I would like to make a small change to this script. I would like to remove the points gain when killing a player in PvP and that the price of the shop is per skull (ID 7420) and not for the points obtained from the PvP system.

https://pastebin.com/NTx9Ltb5

?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

5 hours ago, IsabelaFernandez said:

 

Hello community, I would like to make a small change to this script. I would like to remove the points gain when killing a player in PvP and that the price of the shop is per skull (ID 7420) and not for the points obtained from the PvP system.

https://pastebin.com/NTx9Ltb5

?

Comment:

// if(.Options&16) #PvpPoints++;


Change:

-	itemshop	PvP_Cash_Shop	-1,40086,501:1,502:2

 

I think it is enough.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

55 minutes ago, Gladius said:

Comment:


// if(.Options&16) #PvpPoints++;


Change:


-	itemshop	PvP_Cash_Shop	-1,40086,501:1,502:2

 

I think it is enough.

 

thanks, it worked. in this part: -1,40086,501: 1,502: 2 it was necessary to use 7420

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  235
  • Reputation:   63
  • Joined:  04/29/19
  • Last Seen:  

1 minute ago, IsabelaFernandez said:

thanks, it worked. in this part: -1,40086,501: 1,502: 2 it was necessary to use 7420

It is true!
I forgot to change the item ID lol ?

Edited by Gladius
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...