Jump to content
UPDATE 2 - External pictures are being replaced... ×
×
×
  • Create New...

How To Remove Red Potion on Level Up


Recommended Posts

Hello,

Today i will show you how to remove the annoying (in my opinion) red pot on every Level up.

Open char.cpp and find this:

if (GetLevel() <= 10)
    AutoGiveItem(27001, 2);
else if (GetLevel() <= 30)
    AutoGiveItem(27002, 2);
else {
    AutoGiveItem(27002, 2);
    AutoGiveItem(27003, 2);
}

Or alternative search for:

27001

it should lead you to the same spot.

and just comment, change or delete the whole block according to your needs.

27001 is the vnum for Red Pot (Small)

27002 is the vnum for Red Pot (Medium)

27003 is the vnum for Red Pot (Large)

So good luck and Like if i helped you!

  • Love 4
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
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.