Jump to content
×
×
  • Create New...
  • 0

Pointstatus after lv 91 ?


DeYaN.

Question


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

  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

7 answers to this question

Recommended Posts

  • 0


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

  • 0


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

Link to comment
Share on other sites

  • 0


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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Auto hunt System

    2. 0

      Problem with userinterface

    3. 2

      Problem freebsd

    4. 0

      Making chain quest

    5. 4

      Ludus2: a metin2-like browser game

    6. 6
    7. 9

      Help in implementing a switch bot

    8. 0

      Special Inventory System Can't Sell To Npc's

  • Recently Browsing

    • No registered users viewing this page.

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.