Jump to content

Polymorph G10 are give more values then polymorph P


Go to solution Solved by VegaS™,

Recommended Posts

  • Forum Moderator
  • Solution

game/src/constants.cpp

I didn't check the code, but the aiPolymorphPowerByLevel array it's missing a value by default, that one should be 0 when you've level 0 on the skill itself, then for level 1 (10), level 2 (11) [...].

It should be like this:

This is the hidden content, please

Edited by VegaS™
  • Metin2 Dev 17
  • Good 8
  • Love 3
Link to comment
Share on other sites

On 4/21/2022 at 10:29 PM, VegaS™ said:

game/src/constants.cpp

I didn't check the code, but the aiPolymorphPowerByLevel array it's missing a value by default, that one should be 0 when you've level 0 on the skill itself, then for level 1 (10), level 2 (11) [...].

It should be like this:

Hidden Content

 

const int aiPolymorphPowerByLevel[SKILL_MAX_LEVEL + 1] =
{
	0,					// reserved
  	10, 11, 11, 12, 13, 13, 14, 15, 16,	// 1 - 9
	17, 18, 19, 20, 22, 23, 24, 26, 27, 29	// 10 - 19
	31, 33, 35, 37, 39, 41, 44, 46, 49, 52,	// 20 - 29
	55, 59, 62, 66, 70, 74, 79, 84, 89, 94,	// 30 - 39
	100,					// 40
};

 

 

Thank you a lot.

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.