2 ms·
Here, I fixed it for you: if (globalservices) { yourescrewed=0; upgradeprobability=0.25f; bumpprobability=0.0f; } else if (united1k) { you
by opticalflow 9y ago
Here, I fixed it for you:
if (globalservices) {
yourescrewed=0;
upgradeprobability=0.25f;
bumpprobability=0.0f;
} else if (united1k) {
yourescrewed=1;
upgradeprobability=0.10f;
bumpprobability=0.01f;
} else if (unitedplatinum) {
yourescrewed=1;
upgradeprobability=0.05f;
bumpprobability=0.05f*(1-premiumeconomy*0.5);
} else if (unitedgold) {
yourescrewed=1;
upgradeprobability=0.001f;
bumpprobability=0.10f*(1-premiumeconomy*0.5);
} else if (unitedsilver) {
yourescrewed=2;
upgradeprobability=0.000001f;
bumpprobability=0.10f;
} else if (any_other_schmuck) {
yourescrewed=NaN;
go_f_yourself=1*(united_basic_economy);
assault_probability=0.01f;
upgradeprobability=0.0f;
bumpprobability=0.20f;
baggage_fees=1;
}
- SeoxyS 9y agoThe probability of a bump for a 1K is more like 0.00001f (Source: I'm 1K). Basically they'd have to bump every other non-elite and lower-elite before even getting to you. The only time it can happen is if a gate agent screws up (unloads you as a no-show before the 15min mark, or clears you from standby into an already occupied seat (this has happened to me). Also I would say a GS upgrade probability is closer to 0.9f. 1K can be anywhere from 0.1f to 0.8f depending on the routes flown (a consultant flying hub-to-hub around beginning / end of week will be 0.1f; me flying leisure routes mid-week will be 0.8f).