|
@@ -418,6 +418,74 @@ class KMProductModel: ObservableObject {
|
|
|
} else if userScenarioType == .pro_type3 {
|
|
|
state = .pro_Base
|
|
|
}
|
|
|
+ } else if userScenarioType == .dmg_type4 ||
|
|
|
+ userScenarioType == .dmg_type5 ||
|
|
|
+ userScenarioType == .dmg_type6 ||
|
|
|
+ userScenarioType == .dmg_type7 ||
|
|
|
+ userScenarioType == .dmg_type8 ||
|
|
|
+ userScenarioType == .dmg_type9 ||
|
|
|
+ userScenarioType == .dmg_type10 ||
|
|
|
+ userScenarioType == .dmg_type11 ||
|
|
|
+ userScenarioType == .dmg_type12 ||
|
|
|
+ userScenarioType == .dmg_type13 ||
|
|
|
+ userScenarioType == .dmg_type14 ||
|
|
|
+ userScenarioType == .dmg_type15 ||
|
|
|
+ userScenarioType == .dmg_type16 ||
|
|
|
+ userScenarioType == .dmg_type17 ||
|
|
|
+ userScenarioType == .dmg_type18 ||
|
|
|
+ userScenarioType == .dmg_type19 ||
|
|
|
+ userScenarioType == .dmg_type20 ||
|
|
|
+ userScenarioType == .dmg_type21 ||
|
|
|
+ userScenarioType == .dmg_type22 ||
|
|
|
+ userScenarioType == .dmg_type23 ||
|
|
|
+ userScenarioType == .dmg_type24 ||
|
|
|
+ userScenarioType == .dmg_type25 ||
|
|
|
+ userScenarioType == .dmg_type26 ||
|
|
|
+ userScenarioType == .dmg_type27 ||
|
|
|
+ userScenarioType == .dmg_type28 ||
|
|
|
+ userScenarioType == .dmg_type29 ||
|
|
|
+ userScenarioType == .dmg_type30 ||
|
|
|
+ userScenarioType == .dmg_type31 ||
|
|
|
+ userScenarioType == .dmg_type32 ||
|
|
|
+ userScenarioType == .dmg_type33 ||
|
|
|
+ userScenarioType == .dmg_type34 ||
|
|
|
+ userScenarioType == .dmg_type35 ||
|
|
|
+ userScenarioType == .dmg_type36 ||
|
|
|
+ userScenarioType == .dmg_type37 ||
|
|
|
+ userScenarioType == .dmg_type38 ||
|
|
|
+ userScenarioType == .dmg_type39 ||
|
|
|
+ userScenarioType == .dmg_type40 ||
|
|
|
+ userScenarioType == .dmg_type41 ||
|
|
|
+ userScenarioType == .dmg_type42 ||
|
|
|
+ userScenarioType == .dmg_type43 ||
|
|
|
+ userScenarioType == .dmg_type44 ||
|
|
|
+ userScenarioType == .dmg_type45 ||
|
|
|
+ userScenarioType == .dmg_type46 ||
|
|
|
+ userScenarioType == .dmg_type47 ||
|
|
|
+ userScenarioType == .dmg_type48 {
|
|
|
+ if userScenarioType == .dmg_type4 ||
|
|
|
+ userScenarioType == .dmg_type19 ||
|
|
|
+ userScenarioType == .dmg_type34 {
|
|
|
+ state = .trial
|
|
|
+ } else if userScenarioType == .dmg_type5 ||
|
|
|
+ userScenarioType == .dmg_type28 ||
|
|
|
+ userScenarioType == .dmg_type43 {
|
|
|
+ state = .dmg_Upgrades1
|
|
|
+ } else if userScenarioType == .dmg_type6 ||
|
|
|
+ userScenarioType == .dmg_type7 ||
|
|
|
+ userScenarioType == .dmg_type29 ||
|
|
|
+ userScenarioType == .dmg_type30 ||
|
|
|
+ userScenarioType == .dmg_type44 ||
|
|
|
+ userScenarioType == .dmg_type45 {
|
|
|
+ state = .dmg_Upgrades2
|
|
|
+ } else if userScenarioType == .dmg_type11 ||
|
|
|
+ userScenarioType == .dmg_type18 ||
|
|
|
+ userScenarioType == .dmg_type22 ||
|
|
|
+ userScenarioType == .dmg_type33 ||
|
|
|
+ userScenarioType == .dmg_type37 ||
|
|
|
+ userScenarioType == .dmg_type48 {
|
|
|
+ state = .dmg_Base
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|