Jump to content

[HELP] Source "Novaline"


Recommended Posts

Open the game/src/char_item.cpp file, search for

UNIQUE_ITEM_CAPE_OF_COURAGE

. You should find something like this:

case UNIQUE_ITEM_CAPE_OF_COURAGE:
case 70057:
case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE:
    AggregateMonster();
    item->SetCount(item->GetCount() - 1);
    break;

Remove the

item->SetCount(item->GetCount() - 1);

line and recompile the game file.

  • Love 4
Link to comment
Share on other sites

Open game/src/char_skill.cpp. Find the function

void CHARACTER::SkillLevelUp(DWORD dwVnum, BYTE bMethod);

Scroll down until you find a block of code that looks like this:

if (GetSkillLevel(pkSk->dwVnum) >= 17) {
    // etc...
}

Change it to this:

if (GetSkillLevel(pkSk->dwVnum) >= 17) {
    SetSkillLevel(pkSk->dwVnum, 20);
}

These snippets are not tested, use at your own risk.

  • Love 1
Link to comment
Share on other sites

Open game/src/char_skill.cpp. Find the function

void CHARACTER::SkillLevelUp(DWORD dwVnum, BYTE bMethod);

Scroll down until you find a block of code that looks like this:

if (GetSkillLevel(pkSk->dwVnum) >= 17) {
    // etc...
}

Change it to this:

if (GetSkillLevel(pkSk->dwVnum) >= 17) {
    SetSkillLevel(pkSk->dwVnum, 20);
}

These snippets are not tested, use at your own risk.

Not work :(

Link to comment
Share on other sites

It seems you did not make the modification properly. Make it look like this:

			// 번섭은 스킬 업그레이드 17~20 사이 랜덤 마스터 수련
			if (GetSkillLevel(pkSk->dwVnum) >= 17)
			{
				SetSkillLevel(pkSk->dwVnum, 20);
			}
			break;

		case SKILL_MASTER:
			if (GetSkillLevel(pkSk->dwVnum) >= 30)
			{
				if (number(1, 31 - MIN(30, GetSkillLevel(pkSk->dwVnum))) == 1)
					SetSkillLevel(pkSk->dwVnum, 30);
			}
			break;

		case SKILL_GRAND_MASTER:
			if (GetSkillLevel(pkSk->dwVnum) >= 40)
			{
				SetSkillLevel(pkSk->dwVnum, 40);
			}
			break;
	}
}
  • Love 1
Link to comment
Share on other sites

 

It seems you did not make the modification properly. Make it look like this:

			// 번섭은 스킬 업그레이드 17~20 사이 랜덤 마스터 수련
			if (GetSkillLevel(pkSk->dwVnum) >= 17)
			{
				SetSkillLevel(pkSk->dwVnum, 20);
			}
			break;

		case SKILL_MASTER:
			if (GetSkillLevel(pkSk->dwVnum) >= 30)
			{
				if (number(1, 31 - MIN(30, GetSkillLevel(pkSk->dwVnum))) == 1)
					SetSkillLevel(pkSk->dwVnum, 30);
			}
			break;

		case SKILL_GRAND_MASTER:
			if (GetSkillLevel(pkSk->dwVnum) >= 40)
			{
				SetSkillLevel(pkSk->dwVnum, 40);
			}
			break;
	}
}

 

Thanks my friend! Very good :))

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



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