Hi,
i am searching for a way to modify the exp curves (in my case the curves are defined using the default formular) dynamically ingame, so e.g. i want to be able to move the curve vertically by using a game_variable.
i also read the following to find out that the inbuilt method which contains the exp curve calculation is encapsulated in Game_Actors class which can be found in the Script Editor: https://forums.rpgmakerweb.com/index.php?threads/himes-custom-exp-curves.80340/post-748097
but for some reason if i modify
How can i actually modify the inbuilt methods ?
i only wanna alter the curve by adding an integer from an game_variable to it.
EDIT:
i found out why it crashes, see answers below.
i am searching for a way to modify the exp curves (in my case the curves are defined using the default formular) dynamically ingame, so e.g. i want to be able to move the curve vertically by using a game_variable.
i also read the following to find out that the inbuilt method which contains the exp curve calculation is encapsulated in Game_Actors class which can be found in the Script Editor: https://forums.rpgmakerweb.com/index.php?threads/himes-custom-exp-curves.80340/post-748097
but for some reason if i modify
Game_Actor.exp_for_level(level) the game crashes on some random point later, so what i did was adding a game_variable (containing a number) to the result of self.class.exp_for_level(level).How can i actually modify the inbuilt methods ?
i only wanna alter the curve by adding an integer from an game_variable to it.
EDIT:
i found out why it crashes, see answers below.
