Jump to content

Pointstatus after lv 91 ?


Recommended Posts


i try with classic tutorial from google:

 

if(iLv <= 90)
PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
else
PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT));

ComputePoints();

But i belive i don`t have function "if(iLv" 

 

Sorry for my english.

 
Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic


i try with classic tutorial from google:

 

if(iLv <= 90)
PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
else
PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT));

ComputePoints();

But i belive i don`t have function "if(iLv" 

 

Sorry for my english.

 

open char.cpp

Search:


 

if (GetLevel() < 91) PointChange(POINT_STAT, 1);

change:

 

if (GetLevel() < 99) PointChange(POINT_STAT, 1);

Search:

 

	if(iLv <= 91)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 91) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 91*3 - GetPoint(POINT_STAT));

change:

 

	if(iLv <= 99)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 99*3 - GetPoint(POINT_STAT));

 

Link to comment
Share on other sites


i try with classic tutorial from google:

 

if(iLv <= 90)
PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
else
PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT));

ComputePoints();

But i belive i don`t have function "if(iLv" 

 

Sorry for my english.

 

open char.cpp

Search:


 

if (GetLevel() < 91) PointChange(POINT_STAT, 1);

change:

 

if (GetLevel() < 99) PointChange(POINT_STAT, 1);

Search:

 

	if(iLv <= 91)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 91) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 91*3 - GetPoint(POINT_STAT));

change:

 

	if(iLv <= 99)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 99*3 - GetPoint(POINT_STAT));

 

825Db.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites


i try with classic tutorial from google:

 

if(iLv <= 90)
PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
else
PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT));

ComputePoints();

But i belive i don`t have function "if(iLv" 

 

Sorry for my english.

 

open char.cpp

Search:


 

if (GetLevel() < 91) PointChange(POINT_STAT, 1);

change:

 

if (GetLevel() < 99) PointChange(POINT_STAT, 1);

Search:

 

	if(iLv <= 91)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 91) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 91*3 - GetPoint(POINT_STAT));

change:

 

	if(iLv <= 99)
		PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT));
	else
		PointChange(POINT_STAT, 99*3 - GetPoint(POINT_STAT));

 

825Db.png

:D

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

On 10/21/2015 at 12:21 PM, DeYaN. said:

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

I dont have in char.o the function "iLv" Who i add ?  or simple,change the "iLv" with "GetLevel()" ?

CHAR. CPPPPPPPP

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

On 10/21/2015 at 12:30 PM, alin2894 said:
On 10/21/2015 at 12:21 PM, DeYaN. said:

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

I dont have in char.o the function "iLv" Who i add ?  or simple,change the "iLv" with "GetLevel()" ?

CHAR. CPPPPPPPP

 

 

please,VIEW the image.

Edited by Metin2 Dev
Core X - External 2 Internal
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.