Jump to content

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

Announcements



×
×
  • 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.