Jump to content
×
×
  • Create New...
  • 0

Quest Exp item


dexolus

Question

Hello, i writed quest. When i click on item(vnum) i want to get some exp around 1000..

Quest is like this 

Spoiler

    quest magic ring by Hany begin
    state start begin
        when 30527.use begin
            pc.give_exp2(10000)
            pc.remove_item(ItemValue, 1)
        end    
    end
end 

But it does not work. It remove item but i dont get exp. 
Can you help me please? What is wrong?

Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

I made it working, it gives me exp but i cant level up. It left with 1 bzk needed and i can click how many times i want it takes the item but not level up..

 

Spoiler

quest exp begin
    state start begin
        when 100300.use begin
            pc.give_exp(pc.get_name(), 100000)
            pc.remove_item(100300, 1)
        end
            
        when 100400.use begin
            pc.give_exp(pc.get_name(), 100000)
            pc.remove_item(100400, 1)
        end
    end
end

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.