Jump to content
Sign in to follow this  
Brothers

Free Level 9 gems out of npc ✔️

Recommended Posts

Hi guys,

To make my server easy, i want a npc who gives lv 9 refs. It doenst have to be in buypage, so i made an exchanger.

Sadly, when i put this, it still gives me lv 1 refining gem...

 

    Talk( 2, "Sorry, you do not have the required Items. I cannot exchange it for you." )
  
  Talk( 3, "Do you want to exchange 1 Ref Voucher for a Lv 9 Ref Gem ?" )
  InitTrigger()
  TriggerCondition( 1, HasItem, 3877, 1 )  -- This one is using Ref Voucher but im sure you can trade to money if you want. "3877" is the item ID "256" is the qntd
  TriggerCondition( 1, HasLeaveBagGrid, 1 ) -- This checks if you have empty slots
  TriggerCondition( 1, KitbagLock, 0 )    -- This check if you dont have inv locked
  TriggerAction( 1, TakeItem, 3877, 1 )    -- This take the qntd of items
  TriggerAction( 1, GiveItem, 885,1,109 ) -- This gives your new gem. "885" Gem ID, "1" qntd, "109" Gem Level
  TriggerFailure( 1, JumpPage, 2) --If you don't have the requeriments items
  Text(3,"Exchange" ,MultiTrigger,GetMultiTrigger(),1) 

Hope someone see a problem, or is familiar with it.

I also tried:
TriggerAction( 1, GiveItem, 885,1,109 )

Without condition. It worked, only at giving lv 1 & 2 gems..

Share this post


Link to post
Share on other sites

@Brothers make sure you have the function to make refs/gems until lv 9 inside attrcalculate, search for the “, 101 or , 102” so you continue adding them until “, 109”

 

(I’m sending this reply through phone, otherwise i would send the code)

  • Thanks 1

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...