Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script "FDDemonModeAltDamage" (void) {
- int Randomizer = Random (0, 2);
- int Result = 50;
- int x = Random (1, 10) * Random (1, 8);
- Switch (Randomizer) {
- Case 1:
- Result = (x * Random (2, 4)) + ((x / Random (2, 5)) * Random (1, 2));
- Case 2:
- Result = (x + Random (2, 4)) * (x / Random (2, 5));
- Default:
- Result = x * Random (2, 3);
- }
- SetResultValue (Result);
- }
- script "FDDemonModeAltExpDamage" (void) {
- SetResultValue (256 / Random (1, 4));
- }
- script "FDDemonModeAltExpRadius" (void) {
- SetResultValue (128 / Random (1, 4));
- }
- #define FDDemonModeAltExpRTMass_Count 13
- int FDDemonModeAltExpRTMass [FDDemonModeAltExpRTMass_Count] = {
- 100,
- 250,
- 580,
- 379,
- 158,
- 190,
- 129,
- 1598,
- 2000,
- 1299,
- 1598,
- 159,
- 1795
- };
- #define FDDemonModeAltExpRTForce_Count 12
- int FDDemonModeAltExpRTForce [FDDemonModeAltExpRTForce_Count] = {
- 25,
- 30,
- 45,
- 10,
- 100,
- 94,
- 38,
- 19,
- 67,
- 198,
- 279,
- 17
- };
- script "FDDemonModeAltExpRT" (void) {
- // Mass randomizer
- int Randomizer1 = Random (1, FDDemonModeAltExpRTMass_Count) - 1;
- // Force randomizer
- int Randomizer2 = Random (1, FDDemonModeAltExpRTForce_Count) - 1;
- // Result = Force * (2 * Mass)
- int Result = FDDemonModeAltExpRTForce [Randomizer2] * (2 * FDDemonModeAltExpRTMass [Randomizer1]);
- SetResultValue (Result);
- }
- script "FDDemonModeAltExpFlagRandomizer" (void) {
- if (GetCVar ("FD_IDontBelieveInGod"))
- SetResultValue (0);
- else
- SetResultValue (Random (0, 1));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement