Tweak PlayerFun values and add multiplier for boredom
This commit is contained in:
parent
b3af672199
commit
64846a45ed
@ -529,7 +529,7 @@ MonoBehaviour:
|
||||
MaxFun: 100
|
||||
FunDegradeSpeed: 4
|
||||
StandingStillMultiplier: 1.5
|
||||
WeaponFun: 20
|
||||
WeaponFun: 12
|
||||
EnemyExplosionFun: 6
|
||||
FurnitureExplosionFun: 4
|
||||
ShootingFunAmount: 0.2
|
||||
|
@ -63,7 +63,8 @@ namespace Saltosion.OneWeapon.Player {
|
||||
}
|
||||
|
||||
private void AddFun(float fun) {
|
||||
float NewFun = CurrentFun + fun;
|
||||
float FunAdded = fun * (2 - (CurrentFun / MaxFun));
|
||||
float NewFun = CurrentFun + FunAdded;
|
||||
CurrentFun = Mathf.Min(MaxFun, NewFun);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user