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