Jump to content

DeathBlow - More Damage for 3 Classes Without Warrior


Recommended Posts

char_battle.cpp search: 

pAttacker->IsDeathBlower() 

underneath is:

if (number(1, 4) == GetJob())

change 

number(1, 4) 

to:

number(JOB_WARRIOR, JOB_MAX_NUM - 1)

 

(GetJob() can return value from 0-3 (JOB_WARRIOR - JOB_SHAMAN) so Ymir  thanks for that ;) ) 

 

And done.

All characters will be have this same chances for DeathBlow.

 

 

  • Love 1
Link to comment
Share on other sites

  • Premium

Basically what @hachiwari said. Also, if you got Lycan this is still wrong.

 

char_battle.cpp:

		if (pAttacker->IsMonster() && pAttacker->IsDeathBlower() && pAttacker->IsDeathBlow())
		{
			if (number(JOB_WARRIOR, JOB_MAX_NUM - 1) == GetJob())
			{
				IsDeathBlow = true;
				dam *= 4;
			}
		}

 

length.h:

enum EJobs
{
	JOB_WARRIOR,
	JOB_ASSASSIN,
	JOB_SURA,
	JOB_SHAMAN,
#ifdef ENABLE_WOLFMAN_CHARACTER
	JOB_WOLFMAN,
#endif
	JOB_MAX_NUM
};

There you go.

  • Love 3

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

5 godzin temu, Syreldar napisał:

Basically what @hachiwari said. Also, if you got Lycan this is still wrong.

 

char_battle.cpp:


		if (pAttacker->IsMonster() && pAttacker->IsDeathBlower() && pAttacker->IsDeathBlow())
		{
			if (number(JOB_WARRIOR, JOB_MAX_NUM - 1) == GetJob())
			{
				IsDeathBlow = true;
				dam *= 4;
			}
		}

 

length.h:


enum EJobs
{
	JOB_WARRIOR,
	JOB_ASSASSIN,
	JOB_SURA,
	JOB_SHAMAN,
#ifdef ENABLE_WOLFMAN_CHARACTER
	JOB_WOLFMAN,
#endif
	JOB_MAX_NUM
};

There you go.

Yes that's better ;) i dont accept lycan .

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.