Skip to content

DynamicCollectGoal

Goal DynamicCollectGoal
Description An abstract Goal type which is used as the base of all dynamically calculated Currency collection related Goals.
Example N/A
Inheritance CollectGoal
Target Derived DynamicCollectGoal implementations should specify their target Generators by implementing the DynamicCollectGoal.IsEligible method.
Target Amount The target amount is calculated based on the sum of the payout-per-millisecond of each eligible automated Generator multiplied by the number of seconds accessed via IDynamicGoalData.Duration. For example, if the player had two automated generators each outputting a payout-per-millisecond of 5000 and 7,200 as the number of seconds (2 hours), then the Goal would require the player to collect 36,000,000‬ units of Currency. If no Generators are automated, the target is based on the average payout-per-millisecond of each purchased Generator.
Progression Each time the player collects units of the target Currencies, the Goal is progressed by the number of collected units.
Post Activation Only units of Currencies collected after the Goal becomes active count towards the progress of the Goal. The target amount of the Goal will not vary after it becomes active (i.e. Generators automated after the Goal activation will have no effect on the target).
Remarks Because it is likely that the player will automate more Generators or hit more Generator Unit Targets" while the Goal is active, it is likely the player will complete the Goal before the exact number of seconds specified via DynamicCollectCurrencyTypeGoalData.Amount has elapsed.