Jump to content

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

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.