John Black
Refugee
from gamestages.xml
gameStage = ( playerLevel + daysSurvived ) * difficultyBonus
A simple change to allow for more flexibility in difficulty scaling would be to add and expose another two attributes namely - levelModifier and daysModifier
gameStage = ( playerLevel + daysSurvived ) * difficultyBonus
A simple change to allow for more flexibility in difficulty scaling would be to add and expose another two attributes namely - levelModifier and daysModifier
Code:
gameStage = ( (playerLevel * levelModifier) + (daysSurvived * daysModifier) ) * difficultyBonus