Use worker for research
This commit is contained in:
@@ -19,6 +19,10 @@ extends Resource
|
||||
## Associated Buff (single buff per research track)
|
||||
@export var associated_buff_id: StringName = &""
|
||||
|
||||
## Worker Scaling Configuration
|
||||
@export var worker_scaling_factor: float = 0.01
|
||||
@export var min_workers_for_xp: int = 1
|
||||
|
||||
func get_xp_required_for_level(level: int) -> float:
|
||||
return base_xp_required * pow(xp_growth_multiplier, float(maxi(level - 1, 0)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user