Add prestige graph
This commit is contained in:
@@ -87,8 +87,8 @@ Level is auto-calculated from accumulated BigNumber XP. Both constants are expor
|
||||
# For every active buff of kind AUTO_PRODUCTION_MULTIPLIER targeting this generator:
|
||||
mult = 1.0
|
||||
for buff in buffs:
|
||||
if buff.active and buff.kind == AUTO_PRODUCTION_MULTIPLIER:
|
||||
mult *= buff.get_effect_multiplier(level)
|
||||
if buff.active and buff.kind == AUTO_PRODUCTION_MULTIPLIER:
|
||||
mult *= buff.get_effect_multiplier(level)
|
||||
```
|
||||
|
||||
`GeneratorBuffData.get_effect_multiplier(level)` (`generator_buff_data.gd:97`):
|
||||
@@ -121,15 +121,15 @@ production_per_second = production_per_cycle / maxf(initial_time, 0.0001)
|
||||
```
|
||||
produced = initial_productivity × owned
|
||||
|
||||
# --- effective_run_multiplier ---
|
||||
× run_multiplier
|
||||
× (base_multiplier + multiplier_per_level × research_level)
|
||||
× ∏(base_effect_i + effect_increment_i × buff_level_i) [auto-production buffs]
|
||||
× prestige_multiplier [from PrestigeManager]
|
||||
# --- effective_run_multiplier ---
|
||||
× run_multiplier
|
||||
× (base_multiplier + multiplier_per_level × research_level)
|
||||
× ∏(base_effect_i + effect_increment_i × buff_level_i) [auto-production buffs]
|
||||
× prestige_multiplier [from PrestigeManager]
|
||||
|
||||
# --- milestone & purchased ---
|
||||
× milestone_multiplier ^ floor(owned / milestone_step)
|
||||
× (1.0 + purchased_count × purchased_boost_percent / 100)
|
||||
# --- milestone & purchased ---
|
||||
× milestone_multiplier ^ floor(owned / milestone_step)
|
||||
× (1.0 + purchased_count × purchased_boost_percent / 100)
|
||||
```
|
||||
|
||||
### Manual Click Formula (separate path)
|
||||
@@ -159,16 +159,16 @@ via `ResearchBuffCalculator.apply_buffs()` (`core/generator/research_buff_calcul
|
||||
### Cascade Diagram
|
||||
|
||||
```
|
||||
┌─────────────────────────────────┐
|
||||
│ run_multiplier (node export) │
|
||||
│ research_multiplier (XP level) │─── effective_run_multiplier ──┐
|
||||
│ auto-production buffs (∏) │ │
|
||||
│ prestige_multiplier │ │
|
||||
└─────────────────────────────────┘ │
|
||||
▼
|
||||
┌─────────────────────────────────┐
|
||||
│ run_multiplier (node export) │
|
||||
│ research_multiplier (XP level) │─── effective_run_multiplier ──┐
|
||||
│ auto-production buffs (∏) │ │
|
||||
│ prestige_multiplier │ │
|
||||
└─────────────────────────────────┘ │
|
||||
▼
|
||||
production_per_cycle = initial_productivity × owned × effective_run_multiplier × milestone × purchased
|
||||
│
|
||||
▼
|
||||
│
|
||||
▼
|
||||
production_per_second = production_per_cycle / initial_time
|
||||
```
|
||||
|
||||
@@ -180,37 +180,37 @@ production_per_second = production_per_cycle / initial_time
|
||||
{
|
||||
"save_format_version": 5,
|
||||
"currencies": {
|
||||
"<currency_id>": {
|
||||
"current": {"m": float, "e": int},
|
||||
"total": {"m": float, "e": int},
|
||||
"all_time": {"m": float, "e": int}
|
||||
}
|
||||
"<currency_id>": {
|
||||
"current": {"m": float, "e": int},
|
||||
"total": {"m": float, "e": int},
|
||||
"all_time": {"m": float, "e": int}
|
||||
}
|
||||
},
|
||||
"generator_states": {
|
||||
"<generator_id>": {
|
||||
"owned": int,
|
||||
"purchased_count": int,
|
||||
"unlocked": bool,
|
||||
"available": bool
|
||||
}
|
||||
"<generator_id>": {
|
||||
"owned": int,
|
||||
"purchased_count": int,
|
||||
"unlocked": bool,
|
||||
"available": bool
|
||||
}
|
||||
},
|
||||
"buff_levels": {
|
||||
"<buff_id>": int
|
||||
"<buff_id>": int
|
||||
},
|
||||
"buff_unlocked": {
|
||||
"<buff_id>": true
|
||||
"<buff_id>": true
|
||||
},
|
||||
"buff_active": {
|
||||
"<buff_id>": true
|
||||
"<buff_id>": true
|
||||
},
|
||||
"goals": {
|
||||
"completed": ["<goal_id>", ...]
|
||||
"completed": ["<goal_id>", ...]
|
||||
},
|
||||
"research_xp": {
|
||||
"<research_id>": {"m": float, "e": int}
|
||||
"<research_id>": {"m": float, "e": int}
|
||||
},
|
||||
"research_levels": {
|
||||
"<research_id>": int
|
||||
"<research_id>": int
|
||||
},
|
||||
"last_save_time": unix_timestamp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user